Intersects your sample VCF against the ClinVar database of known pathogenic variants, identifying any positions where your genome carries a clinically reported disease variant.
ClinVar is the most widely used public database of clinically reported variants. This screen catches pathogenic SNPs and indels that have been submitted by clinical labs — carrier status, dominant disease risk, and pharmacogenomic flags. Note that ClinVar entries vary in evidence quality (see star ratings in interpreting-results.md).
- bcftools isec — VCF intersection to find overlapping variants
staphb/bcftools:1.21
- Sample VCF from DeepVariant (step 3)
clinvar_pathogenic_chr.vcf.gzfrom reference setup (step 00) — chr-prefixed, filtered to Pathogenic/Likely_pathogenic only
export GENOME_DIR=/path/to/data
./scripts/06-clinvar-screen.sh <sample_name>
# For long-read Clair3 output:
VCF_DIR=vcf_clair3 ./scripts/06-clinvar-screen.sh <sample_name>- Filters the sample VCF to PASS variants only (
bcftools view -f PASS) - Intersects the PASS VCF against the ClinVar pathogenic subset using
bcftools isec -p - Reports the count of shared variants (positions in both the sample and ClinVar pathogenic)
| File | Description |
|---|---|
clinvar/${SAMPLE}_pass.vcf.gz |
PASS-only subset of the sample VCF (intermediate) |
clinvar/isec/0000.vcf |
Variants unique to the sample |
clinvar/isec/0001.vcf |
Variants unique to ClinVar pathogenic |
clinvar/isec/0002.vcf |
Shared variants — positions overlapping ClinVar pathogenic entries |
clinvar/isec/0003.vcf |
Shared variants (ClinVar's perspective) |
This step screens against Pathogenic and Likely_pathogenic variants only — benign and VUS entries are excluded at the database level (see step 00 reference setup). Every hit in the output is at a position ClinVar classifies as disease-associated.
| Scenario | Meaning | Action |
|---|---|---|
| Heterozygous + autosomal recessive | Healthy carrier | Note for family planning only |
| Homozygous + autosomal recessive | Possibly affected — requires clinical confirmation | Investigate — confirm with clinical evaluation and ClinVar review status |
| Any genotype + autosomal dominant | Possibly affected — requires clinical confirmation | Investigate — check penetrance, ClinVar review status, and phenotype |
| Compound het (two variants, same gene) | Potentially affected (recessive) | Check if variants are on different alleles (phasing) |
- This screen does not surface ClinVar review status (star ratings / CLNREVSTAT) or conflict flags. A variant classified as "Pathogenic" by one submitter may have conflicting interpretations from others. Always check the full ClinVar entry before acting on any result.
- Overlaps are position-based (
bcftools isec) — representation differences between callers can cause both false positives and missed overlaps. The Nextflow module normalizes VCFs before intersection; the bash script relies on upstream normalization. - Results are research-grade, not clinical diagnoses. Do not make medical decisions based solely on this output.
- Most hits will be heterozygous carriers of recessive conditions — this is normal and expected
- A typical 30X WGS shows 0-10 pathogenic/likely pathogenic overlaps. The majority are benign carrier states for recessive conditions
- Focus review on: homozygous pathogenic, any autosomal dominant pathogenic, and compound heterozygous variants in the same gene
- The ClinVar pathogenic database must be chr-prefixed to match the BAM/VCF coordinate system (done in step 00)
- ClinVar is updated monthly — re-download periodically to catch newly classified variants