Get a genome data package by genome assembly accession
Changed onDownload a genome data package including sequence, annotation, and a detailed data report by genome assembly accession.
Request
- Base URLhttps://api.ncbi.nlm.nih.gov/datasets/v2
- AuthAPI key in header api-key
Path parameters
One or more genome assembly accessions, limited to 100
Query parameters
Only return genomic fasta sequence for the specified chromosomes.
Specify which sequence, annotation, and report files to include in the data package. The assembly data report is always included, and its inclusion is not affected by this parameter.
Specify whether to download a hydrated (with sequence and annotation files included) or dehydrated data package. A dehydrated data package includes the assembly data report and fetch.txt, which includes paths to the requested data files on NCBI servers.
Output file name.
Response
A successful response
Changes
- info
added the enum value
DEFAULTto the propertyitems/of thequeryrequest parameterinclude_annotation_type
- info
- breaking
for the
queryrequest parameterhydrated, default valueFULLY_HYDRATEDwas added - breaking
removed the enum value
GENOME_GBfrom the propertyitems/of thequeryrequest parameterinclude_annotation_type
- breaking