bio-clinical-databases-myvariant-queries
Query myvariant.info API for aggregated variant annotations from multiple databases (ClinVar, gnomAD, dbSNP, COSMIC, etc.) in a single request. Use when annotating variants with clinical and population data from multiple sources simultaneously.
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-clinical-databases-myvariant-queries --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.
## Version Compatibility Reference examples tested with: SnpEff 5.2+, pandas 2.2+ Before using code patterns, verify installed versions match. If versions differ: - Python: `pip show <package>` then `help(module.function)` to check signatures If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # MyVariant.info Queries **"Annotate my variants from multiple databases at once"** → Query the myvariant.info aggregation API to retrieve ClinVar, gnomAD, dbSNP, COSMIC, and other annotations in a single request per variant. - Python: `myvariant.MyVariantInfo().getvariants(ids, fields='clinvar,gnomad,dbnsfp')` ## Required Imports ```python import myvariant ``` ## Initialize Client ```python mv = myvariant.MyVariantInfo() ``` ## Query Single Variant **Goal:** Retrieve aggregated annotations for a single variant from multiple databases in one request. **Approach:** Query myvariant.info by HGVS notation or rsID, which returns ClinVar, gnomAD, dbSNP, COSMIC, and CADD data. ```python # Query by HGVS notation (recommended) result = mv.getvariant('chr7:g.140453136A>T') # Query by rsID result =
- Version Compatibility
- Required Imports
- Initialize Client
- Query Single Variant
- Query Multiple Variants
- Search Variants
- Available Fields
- Extract Specific Annotations
- Batch Processing with DataFrame
- Rate Limiting
- Related Skills
What does the bio-clinical-databases-myvariant-queries skill do?
Query myvariant.info API for aggregated variant annotations from multiple databases (ClinVar, gnomAD, dbSNP, COSMIC, etc.) in a single request. Use when annotating variants with clinical and population data from multiple sources simultaneously.
How do I install it?
Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-clinical-databases-myvariant-queries --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 FreedomIntelligence/OpenClaw-Medical-Skills, a repository with 2,909 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.
