Genome

Get genome annotation reports by genome assembly accession

Changed on

Get genome annotation reports by genome assembly accession, where each report represents a single feature annotated on the genome. By default, in paged JSON format, but also available in tabular (accept: text/tab-separated-values) or JSON Lines (accept: application/x-ndjson) formats.

post/genome/annotation_report

Request

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

Request body

accessionstring
annotation_idsstring[]
symbolsstring[]
locationsstring[]
gene_typesstring[]
search_textstring[]
include_annotation_typeV2GenomeAnnotationRequestAnnotationType[]
page_sizeinteger
table_fieldsstring[]
table_format'NO_TABLE' | 'SUMMARY' | 'PRODUCT'
include_tabular_header'INCLUDE_TABULAR_HEADER_FIRST_PAGE_ONLY' | 'INCLUDE_TABULAR_HEADER_ALWAYS' | 'INCLUDE_TABULAR_HEADER_NEVER'
page_tokenstring

Response

A successful response

total_countinteger
next_page_tokenstring

Changes

    • info

      added the new DEFAULT enum value to the request property /

    • info

      added the optional property /// to the response with the status (media type: application/json)

    • info

      added the optional property /// to the response with the status (media type: application/x-ndjson)

    • info

      added the optional property //// to the response with the status (media type: application/json)

    • info

      added the optional property //// to the response with the status (media type: application/x-ndjson)

    • info

      the request property default value DEFAULT was added

    • info

      the request property default value SORT_DIRECTION_UNSPECIFIED was added

    • info

      the request property default value INCLUDE_TABULAR_HEADER_FIRST_PAGE_ONLY was added

    • info

      the request property default value NO_TABLE was added

    • info

      the response's property default value UNKNOWN_ASSEMBLY_ERROR_CODE was added for the status (media type: application/json)

    • info

      the response's property default value UNKNOWN_ASSEMBLY_ERROR_CODE was added for the status (media type: application/json)

    • info

      the response's property default value UNKNOWN_ASSEMBLY_ERROR_CODE was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value UNKNOWN_ASSEMBLY_ERROR_CODE was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value UNKNOWN_GENE_ERROR_CODE was added for the status (media type: application/json)

    • info

      the response's property default value UNKNOWN_GENE_ERROR_CODE was added for the status (media type: application/json)

    • info

      the response's property default value UNKNOWN_GENE_ERROR_CODE was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value UNKNOWN_GENE_ERROR_CODE was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value UNKNOWN_GENE_WARNING_CODE was added for the status (media type: application/json)

    • info

      the response's property default value UNKNOWN_GENE_WARNING_CODE was added for the status (media type: application/json)

    • info

      the response's property default value UNKNOWN_GENE_WARNING_CODE was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value UNKNOWN_GENE_WARNING_CODE was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value UNKNOWN_ORGANELLE_ERROR_CODE was added for the status (media type: application/json)

    • info

      the response's property default value UNKNOWN_ORGANELLE_ERROR_CODE was added for the status (media type: application/json)

    • info

      the response's property default value UNKNOWN_ORGANELLE_ERROR_CODE was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value UNKNOWN_ORGANELLE_ERROR_CODE was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value none was added for the status (media type: application/json)

    • info

      the response's property default value none was added for the status (media type: application/json)

    • info

      the response's property default value none was added for the status (media type: application/json)

    • info

      the response's property default value none was added for the status (media type: application/json)

    • info

      the response's property default value none was added for the status (media type: application/json)

    • info

      the response's property default value none was added for the status (media type: application/json)

    • info

      the response's property default value none was added for the status (media type: application/json)

    • info

      the response's property default value none was added for the status (media type: application/json)

    • info

      the response's property default value none was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value none was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value none was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value none was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value none was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value none was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value none was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value none was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value rna_UNKNOWN was added for the status (media type: application/json)

    • info

      the response's property default value rna_UNKNOWN was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value SELECT_UNKNOWN was added for the status (media type: application/json)

    • info

      the response's property default value SELECT_UNKNOWN was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value UNKNOWN_TAXONOMY_ERROR_CODE was added for the status (media type: application/json)

    • info

      the response's property default value UNKNOWN_TAXONOMY_ERROR_CODE was added for the status (media type: application/json)

    • info

      the response's property default value UNKNOWN_TAXONOMY_ERROR_CODE was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value UNKNOWN_TAXONOMY_ERROR_CODE was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value UNKNOWN was added for the status (media type: application/json)

    • info

      the response's property default value UNKNOWN was added for the status (media type: application/json)

    • info

      the response's property default value UNKNOWN was added for the status (media type: application/json)

    • info

      the response's property default value UNKNOWN was added for the status (media type: application/json)

    • info

      the response's property default value UNKNOWN was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value UNKNOWN was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value UNKNOWN was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value UNKNOWN was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value UNKNOWN_VIRUS_ERROR_CODE was added for the status (media type: application/json)

    • info

      the response's property default value UNKNOWN_VIRUS_ERROR_CODE was added for the status (media type: application/json)

    • info

      the response's property default value UNKNOWN_VIRUS_ERROR_CODE was added for the status (media type: application/x-ndjson)

    • info

      the response's property default value UNKNOWN_VIRUS_ERROR_CODE was added for the status (media type: application/x-ndjson)