Prokaryote

Get a prokaryote gene data package by RefSeq protein accession

Changed on

Download a prokaryote gene data package including sequence, annotation and data reports by RefSeq non-redundant protein accession.

get/protein/accession/{accessions}/download

Request

  • Base URL
    https://api.ncbi.nlm.nih.gov/datasets/v2
  • Auth
    API key in header api-key

Path parameters

accessionsstring[] required

One or more RefSeq non-redundant protein accessions (preceded by WP_)

Query parameters

include_annotation_typeV2Fasta[]

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/json for the response with the status

    • info

      added the media type text/plain for the response with the status