biotender-max/awesome-bio-agent-skills/bioskills-database-access-ortholog-inference
Claude Code and agent skill by biotender-max/awesome-bio-agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Pull pre-computed ortholog calls from public databases (OrthoDB, Ensembl Compara, OMA browser, eggNOG, PANTHER, KEGG Orthology, HomoloGene) via their REST APIs. Use when orthologs are already curated upstream, when the question is "what is the X ortholog of Y" rather than "how to infer orthology de novo", when batch-mapping gene IDs across species, or when comparing the resources for consensus calls. Encodes confidence-level semantics, 1:1 vs 1:many vs many:many, HomoloGene deprecation, and when to defect to de novo computation.
Install
npx vskill@latest install biotender-max/awesome-bio-agent-skills/bioskills-database-access-ortholog-inferenceSKILL.md
The same SKILL.md was published earlier as biotender-max/awesome-bio-agent-skills/bioskills-database-access-ortholog-inference.
Version Compatibility
Reference examples tested with: requests 2.31+, pandas 2.2+; OrthoDB v12 API, Ensembl REST (Ensembl release 112+), OMA REST API, eggNOG 6.0+, PANTHER v18+
Before using code patterns, verify installed versions match. If versions differ:
- Python:
pip show requests pandas - API surface: confirm endpoint URLs and JSON schema match the current API docs
If endpoints return 404 or unexpected JSON, check release notes for the resource; schema migrations happen with each major version (Ensembl release is the biggest moving target).
Ortholog Inference (Database Access)
"What is the X ortholog of gene Y?" -> Many ortholog resources have already done the inference at scale. Pulling their answers is faster and often more reliable than re-computing. This skill is the database-access view: how to query the major orthology resources programmatically, what their confidence semantics mean, and when their disagreements matter.
For de novo orthology inference (running OrthoFinder, SonicParanoid, OMA standalone on local proteomes), see comparative-genomics/ortholog-inference — that's a much deeper treatment of the computational side.
This skill is about pulling answers from:
- OrthoDB v12 — broadest coverage (1700+ species), levels from species-specific to deep
- Ensembl Compara — vertebrate-focused, tree-reconciled, confidence scores
- OMA browser — high precision, HOG (Hierarchical Orthologous Group) framework
- eggNOG 6.0 — pre-computed functional groups, deepest functional annotation
- PANTHER — protein family + ortholog calls with experimentally validated curation
- KEGG Orthology (KO) — pathway-centric orthologous functional units
- HomoloGene — deprecated since 2014, but data still queryable for legacy comparison
- Python:
requests.get()against REST endpoints;pandasfor parsing - CLI:
curlagainst the same endpoints; OrthoDB also has bulk downloads
Required Setup
No API keys required for any of these resources (as of 2026), but rate limits apply — see per-resource notes below.
Decision matrix: which resource for which question?
| Question | Resource | Why | |
|---|---|---|---|
| Ortholog of human gene X in mouse | Ensembl Compara | Best-curated for vertebrates; confidence score per call | |
| Ortholog of gene X across all 1700+ species | OrthoDB | Broadest taxonomic coverage | |
| Single-copy orthologs for phylogenomics | OrthoDB at species-tree level | Pre-computed; large taxonomic groups | |
| Functional annotation transfer | eggNOG-mapper or eggNOG API | OG-based functional categories | |
| Pathway-centric orthology (KEGG pathways) | KEGG Orthology (KO) | KO IDs link directly to pathway maps | |
| Curated function-aware orthologs | PANTHER | Smaller scope; manually curated; experiment-supported | |
| Compare resource consensus | All of them + intersect | Disagreement is itself a signal | |
| Plant orthology (Ensembl Plants) | Ensembl Compara (plant division) | Better than Ensembl vertebrate for plants | |
| Bacterial orthology | OrthoDB or eggNOG bactNOG | Ensembl Bacteria has limited Compara coverage | |
| Custom proteomes not in any database | De novo computation | See comparative-genomics/ortholog-inference |
Per-resource API reference
OrthoDB v12
Base URL: https://data.orthodb.org/v12/
Key endpoints (all GET, JSON returned):
/search?query=<symbol>&species=<NCBI_taxid>— find ortholog groups by gene symbol/orthologs?id=<og_id>&species=<taxid>— get orthologs of a group at a specific level/group?id=<og_id>— full group info (sequences, evidence)/tab?query=<og_id>— tab-separated bulk dump
Levels are NCBI taxonomy IDs (e.g. 9606 = human, 40674 = Mammalia, 7742 = Vertebrata).
Ensembl Compara (via Ensembl REST)
Base URL: https://rest.ensembl.org/. JSON: Accept: application/json. Rate limit: 15 req/sec, 55,000 req/hour. Respect Retry-After on 429.
Key endpoints:
/homology/symbol/<species>/<symbol>— orthologs of a gene by symbol/homology/id/<ensembl_gene_id>— orthologs of a gene by Ensembl ID/lookup/symbol/<species>/<symbol>— resolve symbol to Ensembl ID first- Add
?type=orthologuesto filter to orthologs only (drop paralogs) - Add
?target_species=<species>to filter to one target species
OMA REST API
Base URL: https://omabrowser.org/api/. JSON returned. No rate-limit doc but be polite.
Key endpoints:
/protein/<id>/orthologs/— orthologs of a protein (UniProt or OMA ID)/hog/<hog_id>/— Hierarchical Orthologous Group info/genome/<species_code>/— list all genomes; species codes are 5-letter (e.g. HUMAN, MOUSE)
eggNOG (5/6)
Base URL: http://eggnog6.embl.de/api/ (web API; lighter than running eggNOG-mapper). Most heavy lifting still uses eggNOG-mapper locally (Cantalapiedra et al. 2021 Mol Biol Evol 38:5825) — for batch protein-set annotation, mapper > API.
For ad hoc lookup: search the eggNOG web interface for an orthogroup ID, then download the member set.
KEGG Orthology (KO)
Base URL: https://rest.kegg.jp/. Returns plain text TSV by default (NOT JSON).
KEGG license: commercial use requires a paid license; academic use is free for web/API.
PANTHER
Base URL: http://pantherdb.org/services/oai/pantherdb/ (note the unusual base). Has a curated, smaller scope than OrthoDB but with experimental evidence.
HomoloGene (deprecated)
https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=homologene&id=<id>&rettype=xml — still works; data frozen since 2014. Useful only for backward-compatibility with old pipelines.
Confidence-level semantics
Each resource defines "confidence" differently. They are NOT directly comparable.
| Resource | Confidence field | Semantics | |
|---|---|---|---|
| Ensembl Compara | confidence 0/1 | Binary; 1 = high confidence based on gene-tree topology | |
| OrthoDB | evolutionary_rate (not a confidence per se) | Inverse proxy; lower = more conserved | |
| OMA | Internal QC; not exposed as a per-call score | All calls passed precision filter | |
| eggNOG | Tax-level coverage | Member counts per taxonomic level | |
| PANTHER | evidence codes | Experimentally validated vs predicted |
Don't average or compare confidence across resources. Use within-resource cutoffs; for cross-resource comparison, intersect call sets.
The orthology conjecture (and why resources disagree)
The orthology conjecture (Tatusov 1997; rigorously evaluated by Studer & Robinson-Rechavi 2009 Trends Genet 25:210; Altenhoff et al. 2012 PLoS Comput Biol 8:e1002514) — orthologs are more likely than paralogs to share function — is supported but weakly. Sub- and neo-functionalization mean a paralog can become the functional equivalent.
This is also why resources disagree. Different algorithms emphasize different evidence:
- OMA is strict (RBH + verification + HOG inference) — higher precision, lower recall.
- Ensembl Compara is tree-reconciled — best for vertebrates with deep Compara curation.
- OrthoDB uses broader hierarchical clustering — broader coverage, more ambiguous calls.
- eggNOG uses pre-computed orthogroups at fixed taxonomic levels — fast but coarser.
For high-stakes calls (publication, drug target choice), intersect at least two resources and inspect disagreements.
Code patterns
Get the human ortholog of a mouse gene (Ensembl Compara, 1:1 only)
Goal: Pull Compara's high-confidence 1:1 ortholog of a single mouse gene in human.
Approach: REST query with type filter; assert 1:1; record confidence.
Reference (Ensembl REST, release 112+):
Cross-resource agreement (Ensembl + OMA + OrthoDB)
Goal: Find orthologs agreed on by multiple resources to flag high-confidence calls.
Approach: Query each resource; intersect target IDs after normalizing to a common namespace (UniProt or NCBI Gene).
Batch ortholog table for >100 genes
Goal: Build a wide table of orthologs across N species for a gene list.
Approach: Loop with rate limit; cache responses; respect Retry-After.
Reference (requests 2.31+):
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/bioskills/bioskills__database-access__ortholog-inference/SKILL.md
Popularity
- Repository stars
- 193
- Repository forks
- 33
- 7-day trend score
- 26
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/biotender-max/awesome-bio-agent-skills/bioskills-database-access-ortholog-inference)