Agent skill · Backend & API

bio-clinical-databases-clinvar-lookup

Queries ClinVar for variant pathogenicity classifications, ClinGen VCEP curations, and somatic-vs-germline interpretations via REST API, weekly VCF, or bulk XML. Use when determining clinical significance, triangulating conflicting interpretations, or aggregating evidence against the ACMG/AMP framework with ClinGen SVI specifications.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeships scriptsNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill clinvar-lookup --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 22 KB
Bundled scripts: yes
Path: skills/bioskills/clinvar-lookup/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 135
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## Version Compatibility Reference examples tested with: requests 2.31+, cyvcf2 0.30+, pandas 2.2+, bcftools 1.19+, Entrez Direct 21.0+, lxml 5.0+ (for v2 XML schema). Before using code patterns, verify installed versions match. If versions differ: - Python: `pip show <package>` then `help(module.function)` to check signatures - CLI: `<tool> --version` then `<tool> --help` to confirm flags If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. ClinVar XML schema v2 (rolled out in 2024) replaces `<ClinVarSet>` with `<VariationArchive>` as the top-level anchor; XSLT or parsers targeting the legacy element silently emit zero records. # ClinVar Lookup and Clinical-Significance Triangulation **'Look up the clinical significance of this variant'** -> Retrieve ClinVar VCV-level aggregate, SCV-level submissions, ClinGen Variant Curation Expert Panel (VCEP) overrides, and conflict-resolution status. - Python (REST): `requests.get()` against the E-utilities `clinvar` database - Python (local VCF): `cyvcf2.VCF('clinvar.vcf.gz')` for batch queries against the weekly snapshot - CLI: `bcftools

What's inside
Steps it walks through
  1. Version Compatibility
  2. Star Ratings and the Override Hierarchy
  3. ClinGen Variant Curation Expert Panels (VCEPs)
  4. ACMG/AMP, ClinGen SVI Specifications, and the Bayesian Point System
  5. Conflicting Interpretations and Conflict Resolution
  6. Decision Tree by Query Scenario
  7. REST API Query (E-utilities)
  8. Local VCF Query (Weekly Snapshot)
  9. ClinGen Allele Registry (CA IDs): The Real Cross-Database Anchor
  10. Per-Operation Failure Modes
  11. Reconciliation: When Sources Disagree
  12. Quantitative Thresholds and Operational Conventions
  13. ClinVar Somatic vs Germline: 2024 Tripartite
  14. Common Errors
Ships with 2 files
  • examples/clinvar_query.py
  • usage-guide.md
Commands it runs
mkdir -p clinvar/$(date +%Y%m); cd clinvar/$(date +%Y%m)
wget https://ftp.ncbi.nlm.nih.gov/pub/clinvar/vcf_GRCh38/clinvar.vcf.gz
wget https://ftp.ncbi.nlm.nih.gov/pub/clinvar/vcf_GRCh38/clinvar.vcf.gz.tbi
bcftools annotate \
input.vcf.gz -O z -o annotated.vcf.gz
bcftools index -t annotated.vcf.gz
More from awesome-bio-agent-skills
All skills →
About this skill
What does the bio-clinical-databases-clinvar-lookup skill do?

Queries ClinVar for variant pathogenicity classifications, ClinGen VCEP curations, and somatic-vs-germline interpretations via REST API, weekly VCF, or bulk XML. Use when determining clinical significance, triangulating conflicting interpretations, or aggregating evidence against the ACMG/AMP framework with ClinGen SVI specifications.

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill clinvar-lookup --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.

Keep going