gene-database
Skill by davila7
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Install gene-database
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/gene-database ~/.claude/skills/gene-databaseRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/gene-database ~/.gemini/antigravity-cli/skills/gene-databaseAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The gene-database skill lets an AI assistant query NCBI Gene, a database that integrates gene information from diverse species. The source says it covers nomenclature, reference sequences (RefSeqs), chromosomal maps, biological pathways, genetic variations, phenotypes, and cross-references to other genomic resources. Users can search by gene symbol, name, or ID, and retrieve sequences and metadata.
The skill includes three Python scripts: query_gene.py for E-utilities searches, fetch_gene_data.py for Datasets API retrieval, and batch_gene_lookup.py for processing lists of genes. The source describes E-utilities as the traditional, full-featured option for complex queries, and the Datasets API as the newer option for simpler retrieval. It is aimed at researchers doing gene annotation and functional analysis.
Written from the project's SKILL.md and checked against it.
What it can do
- Search by symbol or nameFinds Gene IDs by gene symbol or name, optionally limited to an organism.
- Retrieve gene information by IDReturns nomenclature, RefSeqs, chromosomal location, GO annotations and publications.
- Batch gene lookupsProcesses a file or list of gene symbols or IDs for validation and annotation tables.
- Search by biological contextFinds genes by GO term, phenotype keyword, or pathway name.
- Multiple output formatsReturns data as JSON, XML, GenBank, FASTA, or text, depending on the query.
What you need
- Python (scripts are .py files)
- NCBI API key (optional, for higher rate limits)
Try asking
- Find the NCBI Gene ID for BRCA1 in human.
- Get RefSeqs and GO annotations for Gene ID 672.
- Look up this list of gene symbols and build an annotation table.
Good to know
- Without an API key, rate limits are 3 requests/second for E-utilities and 5 for Datasets API.
- With an API key, the limit is 10 requests/second for both APIs.
- Error codes include 400 (malformed query), 429 (rate limit) and 404 (gene ID not found).
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: cli-tool/components/skills/scientific/gene-database/SKILL.md, cli-tool/components/skills/scientific/gene-database/scripts/batch_gene_lookup.py, cli-tool/components/skills/scientific/gene-database/scripts/fetch_gene_data.py, cli-tool/components/skills/scientific/gene-database/scripts/query_gene.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB -
references/api_reference.md9 KB -
references/common_workflows.md10 KB -
scripts/batch_gene_lookup.py9 KB -
scripts/fetch_gene_data.py8 KB
Show all 6 files
-
scripts/query_gene.py7 KB
Alternatives to gene-database
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Matchms is an open-source Python library for mass spectrometry data processing. It imports spectra, standardizes metadata, filters peaks and calculates spectral similarities for metabolomics work.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
gene-database: common questions
Does gene-database need an NCBI API key?
The source says a free NCBI API key is optional. Registering for one increases the rate limits for both APIs.
Which NCBI APIs does it use?
It uses NCBI E-utilities and the NCBI Datasets API. The source recommends E-utilities for complex or cross-database searches and Datasets for straightforward gene retrieval.
What gene data can it return?
The source lists nomenclature and aliases, RefSeqs, chromosomal location, GO annotations, publications, and phenotypes. Output can be JSON, XML, GenBank, FASTA, or text.
How do I install gene-database?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is gene-database free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is gene-database safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to gene-database?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
