Prokaryote
Get a prokaryote gene data package by RefSeq protein accession
Changed onDownload a prokaryote gene data package including sequence, annotation and data reports by RefSeq non-redundant protein accession.
get/protein/accession/{accessions}/download
Request
- Base URLhttps://api.ncbi.nlm.nih.gov/datasets/v2
- AuthAPI key in header api-key
Path parameters
accessionsstring[] required
One or more RefSeq non-redundant protein accessions (preceded by WP_)
Query parameters
include_annotation_typeV2 Fasta[]
Specify which sequence files to include in the data package. Note that RNA, CDS, 5' UTR and 3' UTR sequences are not available for WP_ accessions
gene_flank_config.lengthinteger
taxonstring
Limit gene sequences and the genome assemblies described by the annotation report file to the specified NCBI Taxonomy ID or name (common or scientific) at any taxonomic rank.
filenamestring
Output file name.
Response
A successful response
Changes
- breaking
removed the media type
application/jsonfor the response with the status - info
added the media type
text/plainfor the response with the status
- breaking