Skip to content

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

@gedankenstuecke

Description

@gedankenstuecke

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.😂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions