Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloading FASTA and MetaData for the same samples with API #602

Open
m-crown opened this issue Jan 29, 2024 · 0 comments
Open

Downloading FASTA and MetaData for the same samples with API #602

m-crown opened this issue Jan 29, 2024 · 0 comments

Comments

@m-crown
Copy link

m-crown commented Jan 29, 2024

Hi,

Apologies if this is mentioned somewhere in the documentation, but I can't find it.

I am using the LAPIS API to download 1000 representative samples for a NextStrain clade, e.g. with the following:

https://lapis.cov-spectrum.org/open/v1/sample/fasta?orderBy=random&limit=1000&dateFrom=2020-01-06&dateTo=2024-01-23&nextstrainClade=19A&host=Homo+sapiens&downloadAsFile=true

Or

https://lapis.cov-spectrum.org/open/v1/sample/details?orderBy=random&limit=1000&dateFrom=2020-01-06&dateTo=2024-01-23&nextstrainClade=19A&host=Homo+sapiens&downloadAsFile=true&dataFormat=csv

When I search for FASTA sequences matching the genbankAccession of the details, or vice versa, I am not able to get back the same sample metadata/fasta records. Is there a recommended way to download the fasta and metadata for the same set of random samples from a clade etc?

Thanks,

Matt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant