ensembl-gene-lookup
SkillDev toolsUse this skill to resolve a gene symbol to Ensembl IDs and fetch a canonical Ensembl gene record. Do not use it for full transcript annotation pipelines or offline work.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the ensembl-gene-lookup skill
What this skill tells your AI
The instructions your AI receives, as published by ma-compbio-lab/skillfoundry in skills/genomics/ensembl-gene-lookup/SKILL.md and read by ahel’s review.
Purpose
Resolve a gene symbol through Ensembl REST and return the corresponding gene lookup payload.
When to use
- You need a quick official Ensembl gene identifier lookup.
- You want lightweight gene metadata before a larger genomics workflow.
When not to use
- You need transcript-level or large-batch annotation.
- You need local-only execution.
Inputs
- Gene symbol
- Optional species and output path
Outputs
- JSON payload containing the xref candidates and the selected lookup record
Requirements
- Python 3.13+
- Network access to
rest.ensembl.org - Example asset fallback exists for the curated
BRCA1andBRCA2examples if the live API is temporarily unavailable.
Procedure
- Run
python3 skills/genomics/ensembl-gene-lookup/scripts/lookup_gene.py --symbol BRCA1 --out skills/genomics/ensembl-gene-lookup/assets/brca1_lookup.json. - Inspect
xrefsto confirm the chosen gene ID. - Use the
lookupblock for coordinates and display name.
Validation
- Command exits successfully.
- At least one xref is returned for a known symbol.
- Lookup block includes
id,display_name, and coordinates.
Failure modes and fixes
- No hits: confirm species and capitalization.
- Multiple matches: filter by
type == geneand inspect the candidates. - Official API timeout: rerun once; the curated BRCA example assets can still support deterministic example execution.
Safety and limits
- Metadata lookup only.
- Large-scale annotation should use more specialized batch tooling.
Examples
python3 .../lookup_gene.py --symbol TP53 --species homo_sapiens
Provenance
- Ensembl REST API: https://rest.ensembl.org/
- Ensembl lookup documentation: https://rest.ensembl.org/documentation/info/lookup
Related skills
scanpy-qc-starter
Signals
- GitHub stars
- 39
- Forks
- 5
- Last commit
- Sep 2026
ahel review
K6low
bundled executables the agent is told to run
Automated review, not a security audit. Ruleset v1+k2.
Advanced
- Catalog kind
- skill
- Gateway key
ensembl-gene-lookup- Source
- github.com/ma-compbio-lab/skillfoundry