clinvar-database▌
davila7/claude-code-templates · updated Apr 8, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
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.
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.emailwhen 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 variantstab_delimited/var_citations.txt.gz- PubMed citationstab_delimited/cross_references.txt.gz- Database cross-references
Example download:
# Download latest monthly XML release
wget ftp://ftp.ncbi.nlm.nih.gov/pub/clinvar/xml/clinvar_variation/ClinVarVariationRelease_00-latest.xml.gz
# Download VCF for GRCh38
wget ftp://ftp.ncbi.nlm.nih.gov/pub/clinvar/vcf_GRCh38/clinvar.vcf.gz
4. Process and Analyze ClinVar Data
Working with XML Files
Process XML files to extract variant details, classifications, and evidence.
Python example with xml.etree:
import gzip
import xml.etree.ElementTree as ET
with gzip.open('ClinVarVariationRelease.xml.gz', 'rt') as f:
for event, elem in ET.iterparse(f, events=('end',)):
if elem.tag == 'VariationArchive':
variation_id = elem.attrib.get('VariationID')
# Extract clinical significance, review status, etc.
elem.clear() # Free memory
Working with VCF Files
Annotate variant calls or filter by clinical significance using bcftools or Python.
Using bcftools:
# Filter pathogenic variants
bcftools view -i 'INFO/CLNSIG~"Pathogenic"' clinvar.vcf.gz
# Extract specific genes
bcftools view -i 'INFO/GENEINFO~"BRCA"' clinvar.vcf.gz
# Annotate your VCF with ClinVar
bcftools annotate -a clinvar.vcf.gz -c INFO your_variants.vcf
Using PyVCF in Python:
import vcf
vcf_reader = vcf.Reader(filename='clinvar.vcf.gz')
for record in vcf_reader:
clnsig = record.INFO.get('CLNSIG', [])
if 'Pathogenic' in clnsig:
gene = record.INFO.get('GENEINFO', [''])[0]
print(f"{record.CHROM}:{record.POS} {gene} - {clnsig}")
Working with Tab-Delimited Files
Use pandas or command-line tools for rapid filtering and analysis.
Using pandas:
import pandas as pd
# Load variant summary
df = pd.read_csv('variant_summary.txt.gz', sep='\t', compression='gzip')
# Filter pathogenic variants in specific gene
pathogenic_brca = df[
(df['GeneSymbol'] == 'BRCA1') &
(df['ClinicalSignificance'].str.contains('Pathogenic', na=False))
]
# Count variants by clinical significance
sig_counts = df['ClinicalSignificance'].value_counts()
Using command-line tools:
# Extract pathogenic variants for specific gene
zcat variant_summary.txt.gz | \
awk -F'\t' '$7=="TP53" && $13~"Pathogenic"' | \
cut -f1,5,7,13,14
5. Handle Conflicting Interpretations
When multiple submitters provide different classifications for the same variant, ClinVar reports "Conflicting interpretations of pathogenicity."
Resolution strategy:
- Check review status (star rating) - higher ratings carry more weight
- Examine evidence and assertion criteria from each submitter
- Consider submission dates - newer submissions may reflect updated evidence
- Review population frequency data (e.g., gnomAD) for context
- Consult expert panel classifications (★★★) when available
- For clinical use, always defer to a genetics professional
Search query to exclude conflicts:
TP53[gene] AND pathogenic[CLNSIG] NOT conflicting[RVSTAT]
6. Track Classification Updates
Variant classifications may change over time as new evidence emerges.
Why classifications change:
- New functional studies or clinical data
- Updated population frequency information
- Revised ACMG/AMP guidelines
- Segregation data from additional families
Best practices:
- Document ClinVar version and access date for reproducibility
- Re-check classifications periodically for critical variants
- Subscribe to ClinVar mailing list for major updates
- Use monthly archived releases for stable datasets
7. Submit Data to ClinVar
Organizations can submit variant interpretations to ClinVar.
Submission methods:
- Web submission portal: https://submit.ncbi.nlm.nih.gov/subs/clinvar/
- API submission (requires service account): See
references/api_reference.md - Batch submission via Excel templates
Requirements:
- Organizational account with NCBI
- Assertion criteria (preferably ACMG/AMP guidelines)
- Supporting evidence for classification
Contact: [email protected] for submission account setup.
Workflow Examples
Example 1: Identify High-Confidence Pathogenic Variants in a Gene
Objective: Find pathogenic variants in CFTR gene with expert panel review.
Steps:
- Search using web interface or E-utilities:
CFTR[gene] AND pathogenic[CLNSIG] AND (reviewed by expert panel[RVSTAT] OR practice guideline[RVSTAT]) - Review results, noting review status (should be ★★★ or ★★★★)
- Export variant list or retrieve full records via efetch
- Cross-reference with clinical presentation if applicable
Example 2: Annotate VCF with ClinVar Classifications
Objective: Add clinical significance annotations to variant calls.
Steps:
- Download appropriate ClinVar VCF (match genome build: GRCh37 or GRCh38):
wget ftp://ftp.ncbi.nlm.nih.gov/pub/clinvar/vcf_GRCh38/clinvar.vcf.gz wget ftp://ftp.ncbi.nlm.nih.gov/pub/clinvar/vcf_GRCh38/clinvar.vcf.gz.tbi - Annotate using bcftools:
bcftools annotate -a clinvar.vcf.gz \ -c INFO/CLNSIG,INFO/CLNDN,INFO/CLNREVSTAT \ -o annotated_variants.vcf \ your_variants.vcf - Filter annotated VCF for pathogenic variants:
bcftools view -i 'INFO/CLNSIG~"Pathogenic"' annotated_variants.vcf
Example 3: Analyze Variants for a Specific Disease
Objective: Study all variants associated with hereditary breast cancer.
Steps:
- Search by condition:
hereditary breast cancer[disorder] OR "Breast-ovarian cancer, familial"[disorder] - Download results as CSV or retrieve via E-utilities
- Filter by review status to prioritize high-confidence variants
- Analyze distribution across genes (BRCA1, BRCA2, PALB2, etc.)
- Examine variants with conflicting interpretations separately
Example 4: Bulk Download and Database Construction
Objective: Build a local ClinVar database for analysis pipeline.
Steps:
- Download monthly release for reproducibility:
wget ftp://ftp.ncbi.nlm.nih.gov/pub/clinvar/xml/clinvar_variation/ClinVarVariationRelease_YYYY-MM.xml.gz - Parse XML and load into database (PostgreSQL, MySQL, MongoDB)
- Index by gene, position, clinical significance, review status
- Implement version tracking for updates
- Schedule monthly updates from FTP site
Important Limitations and Considerations
Data Quality
- Not all submissions have equal weight - Check review status (star ratings)
- Conflicting interpretations exist - Require manual evaluation
- Historical submissions may be outdated - Newer data may be more accurate
- VUS classification is not a clinical diagnosis - Means insufficient evidence
Scope Limitations
- Not for direct clinical diagnosis - Always involve genetics professional
- Population-specific - Variant frequencies vary by ancestry
- Incomplete coverage - Not all genes or variants are well-studied
- Version dependencies - Coordinate genome build (GRCh37/GRCh38) across analyses
Technical Limitations
- VCF files exclude large variants - Variants >10kb not in VCF format
- Rate limits on API - 3 req/sec without key, 10 re
How to use clinvar-database on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add clinvar-database
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches clinvar-database from GitHub repository davila7/claude-code-templates and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate clinvar-database. Access the skill through slash commands (e.g., /clinvar-database) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
User Story & Requirements Generation
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Competitive Analysis
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Roadmap Prioritization
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
Make data-driven prioritization decisions faster
Stakeholder Communication
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client
- ›Access to product documentation and roadmap tools (Jira, Notion, etc.)
- ›Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
- ›Stakeholder contact information and communication channels
Time Estimate
30-60 minutes to see productivity improvements
Installation Steps
- 1.Install product management skill
- 2.Start with user story generation for known feature
- 3.Progress to competitive analysis: research 2-3 competitors
- 4.Use for roadmap prioritization: apply RICE/ICE scoring
- 5.Draft stakeholder communications and refine based on feedback
- 6.Build template library for recurring PM tasks
- 7.Share effective prompts with product team
Common Pitfalls
- ⚠Not validating competitive research—verify facts before sharing
- ⚠Accepting user stories without involving engineering team
- ⚠Over-relying on frameworks without qualitative judgment
- ⚠Not customizing outputs to company culture and communication style
- ⚠Skipping stakeholder validation of generated requirements
Best Practices▌
✓ Do
- +Validate research and competitive analysis with real data
- +Collaborate with engineering when generating technical requirements
- +Customize frameworks and templates to your company context
- +Use skill for first drafts, refine with stakeholder input
- +Document successful prompt patterns for PM tasks
- +Combine AI efficiency with human judgment and intuition
✗ Don't
- −Don't publish competitive analysis without fact-checking
- −Don't finalize user stories without engineering review
- −Don't make prioritization decisions solely on AI scoring
- −Don't skip customer validation of generated requirements
- −Don't ignore company-specific context and culture
💡 Pro Tips
- ★Provide context: company goals, constraints, customer feedback
- ★Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
- ★Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
- ★Use skill for 70% generation + 30% customization to company needs
When to Use This▌
✓ Use When
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid When
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
Learning Path▌
- 1Basic: user stories, feature specs, status updates
- 2Intermediate: competitive analysis, prioritization frameworks, PRDs
- 3Advanced: product strategy, go-to-market planning, OKR setting
- 4Expert: product vision, market positioning, business model innovation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.5★★★★★43 reviews- ★★★★★Dhruvi Jain· Dec 28, 2024
Registry listing for clinvar-database matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Layla Rahman· Dec 28, 2024
clinvar-database reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Benjamin Li· Dec 28, 2024
Solid pick for teams standardizing on skills: clinvar-database is focused, and the summary matches what you get after install.
- ★★★★★Yuki Gupta· Dec 16, 2024
I recommend clinvar-database for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Oshnikdeep· Nov 19, 2024
clinvar-database reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Aditi Mehta· Nov 19, 2024
Registry listing for clinvar-database matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Isabella Sethi· Nov 19, 2024
clinvar-database is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Diya Park· Nov 7, 2024
Keeps context tight: clinvar-database is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Benjamin Verma· Nov 3, 2024
Useful defaults in clinvar-database — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Aisha Bansal· Oct 26, 2024
Registry listing for clinvar-database matched our evaluation — installs cleanly and behaves as described in the markdown.
showing 1-10 of 43