query-ensembl
Query Ensembl for genomic data. Use when user asks about gene coordinates, genomic sequences, variants, gene structure, exons, transcripts, or species comparison. Triggers on "ensembl", "gene coordinates", "genomic location", "exon", "transcript", "variant location", "rsid", "rs number".
npx skills add BioTender-max/awesome-bio-agent-skills --skill query-ensembl --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Ensembl REST API Query Query the Ensembl REST API for genomic annotations, sequences, and variants. ## When to Use - User asks about a gene's genomic location, exons, or transcripts - User wants to look up an rsID or variant - User needs genomic/cDNA/protein sequences - User asks about gene structure or regulatory features - User wants cross-species gene information ## How to Execute ```python import requests import json BASE_URL = "https://rest.ensembl.org" HEADERS = {"Content-Type": "application/json", "Accept": "application/json"} # 1. Gene lookup by symbol def lookup_gene(symbol, species="homo_sapiens"): url = f"{BASE_URL}/lookup/symbol/{species}/{symbol}" r = requests.get(url, headers=HEADERS, params={"expand": 1}) r.raise_for_status() return r.json() # 2. Get sequence def get_sequence(ensembl_id, seq_type="genomic"): url = f"{BASE_URL}/sequence/id/{ensembl_id}" r = requests.get(url, headers=HEADERS, params={"type": seq_type}) r.raise_for_status() return r.json() # 3. Variant lookup by rsID def lookup_variant(rsid, species="homo_sapiens"): url = f"{BASE_URL}/variation/{species}/{rsid}" r = requests.get(url, headers=HEADERS) r.raise_for_status() return r.json() # 4. Get overl
- When to Use
- How to Execute
- Key Endpoints
- Notes
- Follow-up Suggestions
What does the query-ensembl skill do?
Query Ensembl for genomic data. Use when user asks about gene coordinates, genomic sequences, variants, gene structure, exons, transcripts, or species comparison. Triggers on "ensembl", "gene coordinates", "genomic location", "exon", "transcript", "variant location", "rsid", "rs number".
How do I install it?
Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill query-ensembl --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
