/clawbio:variant-annotationfrom clawbio
Annotates VCF variants with Ensembl VEP, ClinVar significance, and gnomAD population frequencies, producing a prioritized report of clinically relevant findings.
Ships in clawbio. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are Variant Annotation, a specialised ClawBio agent for VCF interpretation. Your role is to annotate variants with Ensembl VEP, extract ClinVar and population-frequency context, and produce a prioritized report of potentially important findings.
result.json.pysam, including sample genotype extraction from the first sample column when present.Tier 1-Tier 4) based on severity, rarity, ClinVar evidence, and population frequency context.report.md, tables/annotated_variants.tsv, result.json, and a reproducibility bundle.| Format | Extension | Required Fields | Example |
|---|---|---|---|
| VCF 4.2 | .vcf, .vcf.gz | Standard VCF columns (CHROM, POS, ID, REF, ALT, QUAL, FILTER, INFO); sample column optional | example_data/synthetic_clinvar_panel.vcf |
pysam.VariantFile and emit one record per ALT allele.https://rest.ensembl.org/vep/homo_sapiens/region using GRCh38 as the default assembly.gnomAD AF < 0.001) and assign a numeric score plus tier for ranked output.commands.sh, environment.yml, checksums.sha256) written with clawbio.common.reproducibility.# Standard usage
python skills/variant-annotation/variant_annotation.py \
--input <input.vcf> --output <report_dir>
# Demo mode
python skills/variant-annotation/variant_annotation.py \
--demo --output /tmp/variant_annotation_demo
# Custom batching / cache settings
python skills/variant-annotation/variant_annotation.py \
--input <input.vcf> --output <report_dir> \
--batch-size 200 --cache-dir ~/.clawbio/variant_annotation_cache
# Via ClawBio runner (after registry entry is added)
python clawbio.py run variant-annotation --input <file> --output <dir>
python clawbio.py run variant-annotation --demo
python skills/variant-annotation/variant_annotation.py --demo --output /tmp/variant_annotation_demo
Expected output: a report for a bundled 20-variant synthetic VCF, an annotated_variants.tsv table with ClinVar/frequency/prioritization fields, and a result.json summary of clinically relevant and top-priority variants.
pysam.VariantFile to parse the input VCF and keep variant identity plus genotype data.result.json, and reproducibility metadata.Key thresholds / parameters:
GRCh38200 variants per request15 requests/secondgnomAD AF < 0.001priority_score plus human-readable Tier 1-Tier 4output_directory/
├── report.md # Markdown summary of prioritized findings
├── result.json # Structured annotation results and summary metrics
├── tables/
│ └── annotated_variants.tsv # Flat variant-level annotation table
├── figures/
│ └── variant_annotation_summary.png # summary figure (when matplotlib is available)
├── commands.sh # copy of reproducibility/commands.sh
└── reproducibility/
├── commands.sh # replays this run (portable: $CLAWBIO_ROOT / $OUTPUT_DIR)
├── environment.yml # conda environment
└── checksums.sha256 # sha256 of the outputs; verify with
# cd <output_dir> && sha256sum -c reproducibility/checksums.sha256
Required:
pysam — VCF parsingrequests — Ensembl REST API accessOptional / Planned:
vep backend — planned future replacement for the REST backend when fully local annotation is neededgwas-lookup, clinpgx, pharmgx-reporter, or profile-report.Trigger conditions — the orchestrator routes here when:
.vcf / .vcf.gz file and asks for annotation or interpretation.Chaining partners:
pharmgx-reporter: follow up pharmacogenomic loci discovered during annotation.gwas-lookup: inspect interesting rsIDs for trait associations and PheWAS context.clinpgx: deepen interpretation of drug-response genes found in the annotated set.profile-report: incorporate prioritized findings into a broader genomic summary.What SKILL.md sets; muted values are Claude Code's defaults
112 skills in this plugin
/affinity-proteomicsUnified analysis pipeline for affinity-based proteomics platforms — Olink (PEA, NPX) and SomaLogic SomaScan (SOMAmer, RFU). Platform-aware QC, normalisation, differential abundance, volcano plots, heatmaps, and PCA./analyze-fastaAnalyze a single FASTA file (nucleotide or protein), compute sequence-level metrics (GC, ORFs, MW, pI, GRAVY, secondary-structure fractions) with Biopython, and write a Markdown report plus structured JSON for downstream chaining./ancestry-risk-profilerInfers genetic super-population ancestry from a 23andMe/AncestryDNA file and computes ancestry-stratified odds ratios with an exploratory Ancestry Elevation Score (AES) showing where ancestry-specific GWAS effect sizes diverge from European reference estimates. The bundled demo panel requires user-supplied ancestry because high-Fst AIM coverage is below the automatic-inference floor./archaic-introgressionDetect Neanderthal and Denisovan introgression segments from modern human genomes/arrayexpress-fetchQuery metadata and download data from ArrayExpress, EMBL-EBI's functional genomics collection, now hosted inside BioStudies. Fetch study metadata by E-MTAB accession, list and classify files (IDF/SDRF MAGE-TAB, raw, processed), print the SDRF experimental design, download data by category, write a harmonised metadata.tsv, and build an nf-core/rnaseq or nf-core/scrnaseq samplesheet.csv from the SDRF./article-data-fetcherGiven an article DOI or PubMed ID, discover and download the genomics data files deposited by the authors (VCF, FASTA, H5AD, CSV, JSON, BAM, etc.) from public repositories such as GEO, ENA, Zenodo, Figshare, Dryad, and OSF.npx claudepluginhub clawbio/clawbio --plugin clawbioOther plugins' skills for the same job