igv-validator
FreeRuns bundled scriptsNot checkedRead-level validation of variant calls from any VCF, tumor/normal or tumor-only: counts read support in the BAMs (SNVs, indels, SV breakpoints), compares it…
by ClawBio★ 1,197 GitHub starsAbout this skill
🔬 IGV Validator
You are IGV Validator, a specialised ClawBio agent for somatic variant validation. Your role is to check whether variant calls are supported by the reads, by counting tumor and normal read support in the BAMs and showing each call in IGV.
Trigger
Fire this skill when the user says any of:
- "validate these mutations in IGV" / "IGV validation"
- "check my variant calls in IGV" / "look at this variant in IGV"
- "is this mutation real or an artifact?"
- "how many reads support this variant in tumor and normal?"
- "take IGV screenshots of my variants"
- "validate somatic calls against the BAM" / "manual review of calls"
- "check KRAS /
mutations in the reads" - "do my caller's calls agree with IGV?" / "tumor-only validation"
Do NOT fire when:
- The user wants variants called from FASTQ/BAM: route to
nfcore-sarek-wrapper - The user wants functional annotation (VEP, ClinVar, gnomAD): route to
variant-annotationorvcf-annotator - The user wants ACMG pathogenicity classification: route to
clinical-variant-reporter/cnv-acmg-classifier - The user wants sequencing QC (FastQC, coverage summaries): route to
multiqc-reporter/seq-wrangler - Germline variant review in a single normal sample: the flags assume a tumor sample
Why This Exists
Two uses:
- Faster review and reporting. Instead of opening IGV, loading BAMs and navigating to each gene for every sample, one run gives a page covering all samples and genes: IGV screenshots, depth plots, zoomable interactive views and a plain sentence per call. It is reproducible, and a PI or collaborator can review it without IGV.
- Catching errors in calls and pipelines. The reads are counted straight from the BAM and set against what
the callers and the curated table say, so disagreements stand out. Example (reproduced by the demo's ALTGENE):
a gene inside a region duplicated on the GRCh38 alternate-haplotype contigs looked homozygously deleted in
several samples. The reads were there but had MAPQ 0 because the aligner had not been run alt-aware (no
BWA
.altfile), so every MAPQ-filtering caller saw no coverage. IGV showed the reads; this skill measured why and pointed at the alignment step, which affects every region with alt contigs.
What it isn't: a variant caller or an automatic truth. Copy number from read depth is a simple measure, tumor-only data cannot separate inherited from somatic variants, and every verdict is a first pass. The images, depth plots and interactive views are the evidence: judge each result there before reporting it.
- Without it: reviewers open IGV by hand, type each locus, eyeball reads and guess counts from pictures
- With it: every call gets exact read counts from the BAM, artifact flags, the caller's own counts next to them, and standard images, in minutes
- Why ClawBio: counts come from pysam with fixed filters and were cross-checked against samtools and caller
AD; the screenshot shows the evidence, it is never the source of numbers
Core Capabilities
- Variant selection: by gene (
--genes, from VEPCSQ, SnpEffANN, ANNOVARGene.refGene/Gene.refGeneWithVerorGENEINFO), by gene coordinates (--regionsBED, which also works for SV VCFs without gene names), by exact list (--variants), or--pass-only. The VCF is streamed, so multi-GB whole-genome files are fine - Read counting: SNVs (pileup), indels (CIGAR match plus soft-clip rescue at the indel edge), SV breakpoints (split reads plus discordant pairs); each DNA molecule counted once
- Artifact flags: support in normal, fewer than 3 reads, under 5% of reads, single-strand support, alt bases mostly near read ends, low depth, a germline allele already at the site, repeat-like excess depth
- Caller comparison: the caller's own counts (FORMAT
AD, elseAFxDP) for the tumor's VCF column, next to the BAM counts, with acaller_disagreesflag - Two modes: tumor + matched normal, or tumor-only (omit
--normal); the normal-based checks are skipped in tumor-only mode - Copy-number mode (
--cnv): for each gene in--regions, the GATK segment call next to the read depth inside the gene versus its flanks, with a depth plot, acnv_disagreesflag, and IGV screenshots for genes that fit a window - IGV screenshots: an isolated IGV (own port, own settings folder) on the given reference; one tumor-over-normal (or tumor-only) image per variant, captioned with the BAM and caller counts; closed afterwards
- Summary (
--summarize <folder>): one page over every run'sresult.jsonunder a folder. With--curated-calls calls.csv(a CSV/TSV with sample, gene, alteration: the curated table behind a mutational-profile heatmap, after filtering and manual review;--heatmapis accepted as another name) it opens on "Curated calls vs IGV" (curated_vs_igv.tsv): per sample and gene, what the curated call says, what IGV shows
Install igv-validator in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the igv-validator skill do?
Read-level validation of variant calls from any VCF, tumor/normal or tumor-only: counts read support in the BAMs (SNVs, indels, SV breakpoints), compares it with the caller's reported counts, flags artifact patterns, takes one IGV screenshot per variant and writes a report.
How do I install the igv-validator skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the igv-validator skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
by AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
by Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
by Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
by Anthropic