snpr icon indicating copy to clipboard operation
snpr copied to clipboard

API method to ask for genotype download links for user-ID(s)

Open gedankenstuecke opened this issue 8 years ago • 3 comments

This was discovered when I wanted to download the genotyping files of all ppl that have entered the peanut butter preference (c.f. https://twitter.com/gedankenstuecke/status/943205612837486592).

You can easily get all users that have a given phenotype and their variations through the API. Biut right now there's no easy API method for asking for genotyping download URLs for a set of users/single user.

While for i in $(cat phenotype.results.txt); do curl opensnp.org/user/$i |grep|…;done can approximate that, it's not really elegant. Having a respective method added to the API might be the better way.😂

gedankenstuecke avatar Dec 20 '17 04:12 gedankenstuecke

Came here looking for the same. I'd like a list of all 23andMe URLs (I know I can grab them all).

Cheers,

CholoTook avatar Oct 29 '20 11:10 CholoTook

Unfortunately we're all pretty busy and are unlikely to get around to implementing it any time soon. @CholoTook If you're interested in adding those API endpoints that could be a great contribution ;-)

gedankenstuecke avatar Oct 29 '20 12:10 gedankenstuecke

Thanks, I'll check it out :-)

On Thu, 29 Oct 2020 at 12:43, Bastian Greshake Tzovaras < [email protected]> wrote:

Unfortunately we're all pretty busy and are unlikely to get around to implementing it any time soon. @CholoTook https://github.com/CholoTook If you're interested in adding those API endpoints that could be a great contribution ;-)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/openSNP/snpr/issues/460#issuecomment-718727541, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANKSZTQIQOUBBURUNOSOGZ3SNFPNNANCNFSM4EI7QQ7A .

CholoTook avatar Oct 29 '20 12:10 CholoTook