Skip to content

Commit

Permalink
exercises
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidra committed Jun 11, 2024
1 parent 175b8c9 commit b41bcd3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion _episodes/08-Swagger Specification
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,15 @@ The NCBI Datasets OpenAPI 3.0 spec is available in YAML format, and can be utili




>## Download FASTA File for a Specific Genome Accession
> Use the NCBI Datasets API to download a FASTA file for the human genome.
> - Save the file with the name `genome`
>>## Solution
>>endpoint = genome/accession/{accessions}/download
>>set accessions = GCF_000001405.40
>>filename = genome
>{: .solution}
{: .challenge}


[ncbi]: https://www.ncbi.nlm.nih.gov/datasets/docs/v2/reference-docs/rest-api/#get-/genome/accession/-accessions-/download_summary

0 comments on commit b41bcd3

Please sign in to comment.