GenSpectrum / LAPIS

An API, a query engine, and a database schema for genomic sequences; currently with a focus on SARS-CoV-2
https://lapis-three.vercel.app
GNU Affero General Public License v3.0
22 stars 6 forks source link

Documentation wrongly states all downloads are JSON - section should mention it discusses "details" endpoint #926

Open corneliusroemer opened 2 months ago

corneliusroemer commented 2 months ago

If I'm not misunderstanding something, this statement is incorrect with regards to (at least) sequences which by default come as FASTA

Brave Browser 2024-08-31 21 21 06

In fact, JSON isn't even accepted for sequences it seems. So this section should say that it applies to the "details" endpoint and not to sequences

chaoran-chen commented 2 months ago

Thanks for pointing this out! It applies to all endpoints except the sequence endpoints (i.e., JSON is also the default for aggregated and the mutation endpoints).

corneliusroemer commented 2 months ago

Offering JSON and TSV sequence outputs would be useful actually - as one doesn't need to parse FASTA, one can use standard tools like jq/tsv-utils directly! Maybe I should make a separate issue :)