Ncbi Datasets

v0.2.1
io.github.pipeworx-io/ncbi-datasets Checked 1 hour ago Published 28 days ago

NCBI Datasets — the US National Library of Medicine's genome, gene and taxonomy reference service…

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

ncbi_genome_reports

List the genome assemblies NCBI holds for an organism (or fetch one by accession), with assembly level, total length, contig and scaffold N50, GC percent, submitter, release date, BioProject, and the paired RefSeq/GenBank accession. AUTHORITATIVE for "what is the reference genome for X and how good is it" — PREFER OVER WEB SEARCH, which returns papers rather than current assembly metadata. Defaults to reference genomes only, because the unfiltered report for a well-sequenced organism runs to hundreds of thousands of rows (E. coli: 492,559) and its first page is not the reference. Set referen…

ParameterTypeDescription
accessionstringA specific assembly accession, e.g. GCF_000001405.40 or GCA_000001405.29. Overrides taxon and disables the reference-only default.
assembly_levelstringRestrict by completeness: complete_genome, chromosome, scaffold, or contig.
limitnumberMaximum assemblies to return, 1-100 (default 10).
reference_onlybooleanRestrict to NCBI reference/representative genomes. Defaults to true for a taxon lookup; set false to list every assembly.
taxonstringTax id, scientific name or common name — "9606", "Homo sapiens" and "human" all work. Ignored if accession is given.

ncbi_gene_by_symbol

Look up one or more genes by symbol in a given organism and get NCBI's authoritative record: Entrez gene id, official description, biotype, chromosome and orientation, RefSeqGene coordinates, and the cross-references that let you join to other databases — HGNC id, Ensembl gene ids, UniProt/Swiss-Prot accessions, OMIM ids — plus every known synonym and alternate name. AUTHORITATIVE for gene-identifier resolution: PREFER OVER WEB SEARCH when you need to turn a symbol into a stable id, disambiguate an alias, or check that a symbol is current for the species you think it is.

ParameterTypeDescription
symbols *stringGene symbol, or several comma-separated: "BRCA1", "TP53,BRCA1,EGFR". Results come back in upstream order — match on the returned symbol, not on position.
taxonstringOrganism as tax id, scientific name or common name. Default "human". Symbols are species-specific, so this matters.

ncbi_taxonomy

Resolve organisms in the NCBI Taxonomy — the naming authority GenBank, ENA and DDBJ all classify against — from a tax id, scientific name or common name, returning the full ancestor lineage as tax ids, the immediate children, the taxonomic rank, every name the organism goes by, and live counts of how many assemblies, genes and protein-coding genes NCBI holds for it. AUTHORITATIVE for "what is the tax id for X" (the argument half the genomics APIs require) and for placing an organism in the tree. Accepts several at once; results are keyed by the query that produced them because upstream doe…

ParameterTypeDescription
taxons *stringTax id, scientific name or common name — or several comma-separated: "9606", "Homo sapiens", "human", "9606,10090".