| name | gene-database |
| description | Query NCBI Gene via E-utilities/Datasets API. Search by symbol/ID, retrieve gene info (RefSeqs, GO, locations, phenotypes), batch lookups, for gene annotation and functional analysis. |
| license | Unknown |
| metadata | {"skill-author":"K-Dense Inc."} |
| verified | false |
| lastVerifiedAt | "2026-02-19T05:29:09.098Z" |
| source | builtin |
| trust_score | 100 |
| provenance_sha | de2acb081ba43e6d |
Gene Database
Overview
NCBI Gene is a comprehensive database integrating gene information from diverse species. It provides nomenclature, reference sequences (RefSeqs), chromosomal maps, biological pathways, genetic variations, phenotypes, and cross-references to global genomic resources.
When to Use This Skill
This skill should be used when working with gene data including searching by gene symbol or ID, retrieving gene sequences and metadata, analyzing gene functions and pathways, or performing batch gene lookups.
Quick Start
NCBI provides two main APIs for gene data access:
- E-utilities (Traditional): Full-featured API for all Entrez databases with flexible querying
- NCBI Datasets API (Newer): Optimized for gene data retrieval with simplified workflows
Choose E-utilities for complex queries and cross-database searches. Choose Datasets API for straightforward gene data retrieval with metadata and sequences in a single request.
Common Workflows
Search Genes by Symbol or Name
To search for genes by symbol or name across organisms:
- Use the
scripts/query_gene.py script with E-utilities ESearch
- Specify the gene symbol and organism (e.g., "BRCA1 in human")
- The script returns matching Gene IDs
Example query patterns:
- Gene symbol:
insulin[gene name] AND human[organism]
- Gene with disease:
dystrophin[gene name] AND muscular dystrophy[disease]
- Chromosome location:
human[organism] AND 17q21[chromosome]
Retrieve Gene Information by ID
To fetch detailed information for known Gene IDs:
- Use
scripts/fetch_gene_data.py with the Datasets API for comprehensive data
- Alternatively, use
scripts/query_gene.py with E-utilities EFetch for specific formats
- Specify desired output format (JSON, XML, or text)
The Datasets API returns:
- Gene nomenclature and aliases
- Reference sequences (RefSeqs) for transcripts and proteins
- Chromosomal location and mapping
- Gene Ontology (GO) annotations
- Associated publications
Batch Gene Lookups
For multiple genes simultaneously:
- Use
scripts/batch_gene_lookup.py for efficient batch processing
- Provide a list of gene symbols or IDs