BioThings ID mapping
BioThings ID mapping skill. Gene/variant/chemical/disease identifier conversion using MyGene.info, MyVariant.info, and MyChem.info APIs.
Use This Skill When
- Gene/variant/chemical/disease identifier conversion using MyGene.info.
- MyVariant.info.
- MyChem.info APIs.
Required Inputs
- Research objective, decision target, or hypothesis.
- Available data, source constraints, and domain assumptions.
- Required outputs, success metrics, and deadline or reproducibility constraints.
Workflow
- Confirm scope, assumptions, and the exact artifact set to save.
- Apply the narrowest domain method that answers the request with defensible evidence.
- Save code, tables, figures, and intermediate outputs to files instead of chat-only output.
- State limitations, uncertainty, and any validation or sensitivity checks performed.
- Append skill selection, handoff I/O, and file writes to
logs/process-log.jsonl.
Deliverables
report.md: concise method, results, interpretation, and file inventory in the user's language.
results/: structured outputs, metrics, model artifacts, or extracted findings.
figures/: English-only charts, diagrams, or panels when visual output is needed.
data/: processed or derived datasets when transformation occurs.
Available Tools (MCP)
External tools available via ToolUniverse MCP server.
Falls back to Python requests + public REST APIs when MCP is unavailable.
| Source |
Tool |
Description |
| BioThings |
BioThings_query_gene |
BioThings API |
| BioThings |
BioThings_query_variant |
BioThings API |
Quality Gates
If any gate fails: identify the specific failing check, fix the issue, and re-validate before proceeding.
Gotchas
- Database API versions change frequently. Pin the API version or record access date for reproducibility
- Gene/protein identifiers differ across databases. Map to a canonical namespace before cross-database queries
- Enrichment analysis p-values require multiple testing correction. Report adjusted p-values, not raw
Validation Loop
- Execute analysis and generate outputs
- Check:
- Method selection matches the research question and stated assumptions
- All outputs are saved to files (no chat-only results)
- Limitations and uncertainty are explicitly stated
logs/process-log.jsonl is updated with execution trace
- If any check fails:
- Identify the failing gate
- Fix the specific issue
- Re-run validation
- Proceed only after all gates pass
1---2name: co-scientist-biothings-idmapping3description: BioThings ID mapping skill. Gene/variant/chemical/disease identifier conversion using MyGene.info, MyVariant.info, and MyChem.info APIs. Use when working with gene/variant/chemical/disease identifier conversion using mygene.info, myvariant.info, mychem.info apis.4---56# BioThings ID mapping78BioThings ID mapping skill. Gene/variant/chemical/disease identifier conversion using MyGene.info, MyVariant.info, and MyChem.info APIs.910## Use This Skill When1112- Gene/variant/chemical/disease identifier conversion using MyGene.info.13- MyVariant.info.14- MyChem.info APIs.1516## Required Inputs1718- Research objective, decision target, or hypothesis.19- Available data, source constraints, and domain assumptions.20- Required outputs, success metrics, and deadline or reproducibility constraints.2122## Workflow23241. Confirm scope, assumptions, and the exact artifact set to save.252. Apply the narrowest domain method that answers the request with defensible evidence.263. Save code, tables, figures, and intermediate outputs to files instead of chat-only output.274. State limitations, uncertainty, and any validation or sensitivity checks performed.285. Append skill selection, handoff I/O, and file writes to `logs/process-log.jsonl`.2930## Deliverables3132- `report.md`: concise method, results, interpretation, and file inventory in the user's language.33- `results/`: structured outputs, metrics, model artifacts, or extracted findings.34- `figures/`: English-only charts, diagrams, or panels when visual output is needed.35- `data/`: processed or derived datasets when transformation occurs.3637## Available Tools (MCP)3839> External tools available via [ToolUniverse](https://github.com/mims-harvard/ToolUniverse) MCP server.40> Falls back to Python `requests` + public REST APIs when MCP is unavailable.4142| Source | Tool | Description |43|--------|------|-------------|44| BioThings | `BioThings_query_gene` | BioThings API |45| BioThings | `BioThings_query_variant` | BioThings API |4647## Quality Gates4849- [ ] The selected method matches the scientific question and stated assumptions.50- [ ] Outputs are reproducible, saved to files, and traceable from inputs to conclusions.51- [ ] Missing data, uncertainty, bias, and hard limits are made explicit.52- [ ] `report.md` and `logs/process-log.jsonl` reference the generated artifacts.53- [ ] No essential result remains chat-only.5455If any gate fails: identify the specific failing check, fix the issue, and re-validate before proceeding.5657## Gotchas5859- Database API versions change frequently. Pin the API version or record access date for reproducibility60- Gene/protein identifiers differ across databases. Map to a canonical namespace before cross-database queries61- Enrichment analysis p-values require multiple testing correction. Report adjusted p-values, not raw6263## Validation Loop64651. Execute analysis and generate outputs662. Check:67 - Method selection matches the research question and stated assumptions68 - All outputs are saved to files (no chat-only results)69 - Limitations and uncertainty are explicitly stated70 - `logs/process-log.jsonl` is updated with execution trace713. If any check fails:72 - Identify the failing gate73 - Fix the specific issue74 - Re-run validation754. Proceed only after all gates pass