NCBI Datasets: genes, genome assemblies and taxonomy
NCBI Datasets reports: gene records by symbol or Gene ID (location, aliases, Ensembl, UniProt and OMIM cross references), genome assembly statistics, and taxonomy nodes with lineage and record counts.
No API key needed to call
- Source
- NCBI Datasets
- Licence and terms
- US government work (see source)
- Coverage
- all organisms in NCBI RefSeq and GenBank
- Refresh cadence
- Answers are shared and cached for 21600 seconds.
Questions you can ask
- What is the genomic location and Ensembl ID of human BRCA1?
- Which gene is NCBI Gene ID 672?
- How large is the GRCh38.p14 human genome assembly and what is its N50?
- Which reference genome assemblies exist for Escherichia coli?
- What is the taxonomic lineage of NCBI taxon 9606?
- What taxa have names starting with escherichia?
Operations
Gene record by symbol and taxon
Answers: what is the NCBI Gene ID, type, chromosome, genomic location, aliases and cross references (Ensembl, UniProt, OMIM, HGNC) of this gene symbol in this organism?
| symbol | required, string, Gene symbol. |
|---|---|
| taxon | required, string, NCBI taxonomy ID (9606 is human) or organism name. |
Example: What is the genomic location and Ensembl ID of human BRCA1?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"ncbi_datasets","operation":"ncbi_datasets_gene_by_symbol","params":{"symbol":"BRCA1","taxon":"9606"}}}Over HTTP
curl '/v1/connectors/ncbi_datasets/ncbi_datasets_gene_by_symbol?symbol=BRCA1&taxon=9606'Gene record by NCBI Gene ID
Answers: which gene is NCBI Gene ID N, and what are its symbol, organism, location and cross references?
| gene_id | required, string, NCBI Gene ID. |
|---|
Example: Which gene is NCBI Gene ID 672?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"ncbi_datasets","operation":"ncbi_datasets_gene_by_id","params":{"gene_id":"672"}}}Over HTTP
curl '/v1/connectors/ncbi_datasets/ncbi_datasets_gene_by_id?gene_id=672'Genome assembly report by accession
Answers: what are the organism, assembly level, size, contig and scaffold N50, GC percent and annotation of this genome assembly accession (GCF_ or GCA_)?
| accession | required, string, Assembly accession such as GCF_000001405.40. |
|---|
Example: How large is the GRCh38.p14 human genome assembly and what is its N50?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"ncbi_datasets","operation":"ncbi_datasets_assembly","params":{"accession":"GCF_000001405.40"}}}Over HTTP
curl '/v1/connectors/ncbi_datasets/ncbi_datasets_assembly?accession=GCF_000001405.40'Reference genome assemblies for a taxon
Answers: which complete reference genome assemblies exist for this organism or taxon (accession, strain, level, release date, size)?
| taxon | required, string, NCBI taxonomy ID or organism name. |
|---|---|
| reference_only | optional, boolean, default true, Only RefSeq reference or representative assemblies. |
| page_size | optional, integer, default 5, Assemblies to return. |
Example: Which reference genome assemblies exist for Escherichia coli?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"ncbi_datasets","operation":"ncbi_datasets_taxon_assemblies","params":{"taxon":"562","page_size":3}}}Over HTTP
curl '/v1/connectors/ncbi_datasets/ncbi_datasets_taxon_assemblies?taxon=562&page_size=3'Taxonomy node by ID or name
Answers: what is the rank, scientific name, common name, lineage and number of genes and assemblies of this NCBI taxonomy node?
| taxon | required, string, NCBI taxonomy ID or organism name. |
|---|
Example: What is the taxonomic lineage of NCBI taxon 9606?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"ncbi_datasets","operation":"ncbi_datasets_taxon","params":{"taxon":"9606"}}}Over HTTP
curl '/v1/connectors/ncbi_datasets/ncbi_datasets_taxon?taxon=9606'Find taxa by name prefix
Answers: which organisms or taxa have a name starting with these letters, and what are their NCBI taxonomy IDs and ranks?
| name | required, string, Start of a scientific or common name. |
|---|
Example: What taxa have names starting with escherichia?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"ncbi_datasets","operation":"ncbi_datasets_taxon_suggest","params":{"name":"escherichia"}}}Over HTTP
curl '/v1/connectors/ncbi_datasets/ncbi_datasets_taxon_suggest?name=escherichia'Source notice
Source: National Center for Biotechnology Information (NCBI), US National Library of Medicine. Terms were not quoted here: see the terms page. NCBI describes content created by or for the US government as free of copyright; some linked records carry their own submitter terms.