Skip to content
Skillpedia
Databases33k Β· #8933

clinvar-database

What it does

This skill lets your agent search NCBI ClinVar, an archive of reports on how genetic variants relate to health conditions. It is for geneticists, clinicians, and researchers.

When to use it

  • βœ“When you need to know whether a variant is pathogenic, benign, or uncertain.
  • βœ“When you want to annotate a VCF file with clinical significance.
  • βœ“When you need to resolve conflicting variant interpretations from different submitters.

Skill link

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/scientific/clinvar-database/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/scientific/clinvar-database/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œIs the BRCA1 variant NM_000059.3:c.1310_1313del listed as pathogenic in ClinVar, and how strong is the review?”

5 new skills a week. 1 minute to read.

How it works

The agent queries ClinVar through NCBI's E-utilities or bulk files. It reads the classification and review status for each variant.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

ClinVar Database

Overview

ClinVar is NCBI's freely accessible archive of reports on relationships between human genetic variants and phenotypes, with supporting evidence. The database aggregates information about genomic variation and its relationship to human health, providing standardized variant classifications used in clinical genetics and research.

When to Use This Skill

This skill should be used when:

  • Searching for variants by gene, condition, or clinical significance
  • Interpreting clinical significance classifications (pathogenic, benign, VUS)
  • Accessing ClinVar data programmatically via E-utilities API
  • Downloading and processing bulk data from FTP
  • Understanding review status and star ratings
  • Resolving conflicting variant interpretations
  • Annotating variant call sets with clinical significance

Core Capabilities

1. Search and Query ClinVar

Web Interface Queries

Search ClinVar using the web interface at https://www.ncbi.nlm.nih.gov/clinvar/

Common search patterns:

  • By gene: BRCA1[gene]
  • By clinical significance: pathogenic[CLNSIG]
  • By condition: breast cancer[disorder]
  • By variant: NM_000059.3:c.1310_1313del[variant name]
  • By chromosome: 13[chr]
  • Combined: BRCA1[gene] AND pathogenic[CLNSIG]

Programmatic Access via E-utilities

Access ClinVar programmatically using NCBI's E-utilities API. Refer to references/api_reference.md for comprehensive API documentation including:

  • esearch - Search for variants matching criteria
  • esummary - Retrieve variant summaries
  • efetch - Download full XML records
  • elink - Find related records in other NCBI databases

Quick example using curl:

# Search for pathogenic BRCA1 variants
curl "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=clinvar&term=BRCA1[gene]+AND+pathogenic[CLNSIG]&retmode=json"

Best practices:

  • Test queries on the web interface before automating
  • Use API keys to increase rate limits from 3 to 10 requests/second
  • Implement exponential backoff for rate limit errors
  • Set Entrez.email when using Biopython

2. Interpret Clinical Significance

Understanding Classifications

ClinVar uses standardized terminology for variant classifications. Refer to references/clinical_significance.md for detailed interpretation guidelines.

Key germline classification terms (ACMG/AMP):

  • Pathogenic (P) - Variant causes disease (~99% probability)
  • Likely Pathogenic (LP) - Variant likely causes disease (~90% probability)
  • Uncertain Significance (VUS) - Insufficient evidence to classify
  • Likely Benign (LB) - Variant likely does not cause disease
  • Benign (B) - Variant does not cause disease

Review status (star ratings):

  • β˜…β˜…β˜…β˜… Practice guideline - Highest confidence
  • β˜…β˜…β˜… Expert panel review (e.g., ClinGen) - High confidence
  • β˜…β˜… Multiple submitters, no conflicts - Moderate confidence
  • β˜… Single submitter with criteria - Standard weight
  • β˜† No assertion criteria - Low confidence

Critical considerations:

  • Always check review status - prefer β˜…β˜…β˜… or β˜…β˜…β˜…β˜… ratings
  • Conflicting interpretations require manual evaluation
  • Classifications may change as new evidence emerges
  • VUS (uncertain significance) variants lack sufficient evidence for clinical use

3. Download Bulk Data from FTP

Access ClinVar FTP Site

Download complete datasets from ftp://ftp.ncbi.nlm.nih.gov/pub/clinvar/

Refer to references/data_formats.md for comprehensive documentation on file formats and processing.

Update schedule:

  • Monthly releases: First Thursday of each month (complete dataset, archived)
  • Weekly updates: Every Monday (incremental updates)

Available Formats

XML files (most comprehensive):

  • VCV (Variation) files: xml/clinvar_variation/ - Variant-centric aggregation
  • RCV (Record) files: xml/RCV/ - Variant-condition pairs
  • Include full submission details, evidence, and metadata

VCF files (for genomic pipelines):

  • GRCh37: vcf_GRCh37/clinvar.vcf.gz
  • GRCh38: vcf_GRCh38/clinvar.vcf.gz
  • Limitations: Excludes variants >10kb and complex structural variants

Tab-delimited files (for quick analysis):

  • tab_delimited/variant_summary.txt.gz - Summary of all variants
  • tab_delimited/var_citations.txt.gz - PubMed citations
  • tab_delimited/cross_references.txt.gz - Database cross-references

Example download:

# Download latest monthly XML release
wget ftp://ftp.ncbi.nlm.nih.gov/pub/cl
FAQ

What do the star ratings mean?

The skill explains review status and star ratings as a measure of how well a classification is supported.

Can it process a whole variant file?

Yes. The skill covers annotating variant call sets.

Is ClinVar free to use?

The skill describes ClinVar as freely accessible.

Details

Original description by the author

Query NCBI ClinVar for variant clinical significance. Search by gene/position, interpret pathogenicity classifications, access via E-utilities API or FTP, annotate VCFs, for genomic medicine.

repo: davila7/claude-code-templates

Popularity

GitHub stars
33k
Ranking position
#8933
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills