plugin/skills/tooluniverse-structural-variant-analysis/SKILL.md
Structural variant (SV) clinical interpretation: deletions, duplications, inversions, translocations, complex rearrangements. Applies ACMG-adapted criteria with ClinGen HI/TS dosage scores, gnomAD frequencies, and ClinVar evidence. Produces 5-tier classification with explicit per-criterion evidence. Use for clinical genomics SV review, dosage-sensitivity assessment, breakpoint analysis, and CNV pathogenicity calls. Gene-dosage-driven reasoning.
npx skillsauth add mims-harvard/tooluniverse tooluniverse-structural-variant-analysisInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When analysis requires computation (statistics, data processing, scoring, enrichment), write and run Python code via Bash. Don't describe what you would do — execute it and report actual results. Use ToolUniverse tools to retrieve data, then Python (pandas, scipy, statsmodels, matplotlib) to analyze it.
Systematic analysis of structural variants (deletions, duplications, inversions, translocations, complex rearrangements) for clinical genomics interpretation using ACMG-adapted criteria.
LOOK UP DON'T GUESS - Always retrieve ClinGen HI/TS scores, gnomAD frequencies, and ClinVar evidence from tools. Do not infer dosage sensitivity from gene function alone.
KEY PRINCIPLES:
Use this skill when users:
Before any tool call, apply this reasoning to frame the analysis:
SV pathogenicity depends on what the SV disrupts. A deletion removing an entire gene is likely pathogenic if the gene is haploinsufficient. A duplication is pathogenic if the gene is dosage-sensitive. An inversion is pathogenic only if it disrupts a coding region or regulatory element at the breakpoint.
Work through these questions in order:
1. What type is the SV, and what disruption mechanism does it cause?
2. Is the disrupted gene dosage-sensitive?
3. Does the population frequency contextualize the SV?
=1% frequency in gnomAD SV = BA1 (likely benign unless phenotype is extreme)
4. Is there clinical precedent?
Document this reasoning before computing the final score.
Phase 1: SV IDENTITY & CLASSIFICATION
Normalize coordinates (hg19/hg38), determine type (DEL/DUP/INV/TRA/CPX),
calculate size, assess breakpoint precision
Phase 2: GENE CONTENT ANALYSIS
Identify fully contained genes, partially disrupted genes (breakpoint within),
flanking genes (within 1 Mb), annotate function and disease associations
Phase 3: DOSAGE SENSITIVITY ASSESSMENT
ClinGen HI/TS scores, pLI scores, OMIM inheritance patterns,
gene-disease validity levels
Phase 4: POPULATION FREQUENCY CONTEXT
gnomAD SV database, ClinVar known SVs, DECIPHER patient cases,
reciprocal overlap calculation (>=70% = same SV)
Phase 5: PATHOGENICITY SCORING
Quantitative 0-10 scale: gene content (40%), dosage sensitivity (30%),
population frequency (20%), clinical evidence (10%)
Phase 6: LITERATURE & CLINICAL EVIDENCE
PubMed searches, DECIPHER cohort analysis, functional evidence
Phase 7: ACMG-ADAPTED CLASSIFICATION
Apply SV-specific evidence codes, calculate final classification,
generate clinical recommendations
Goal: Standardize SV notation and classify type.
Capture: chromosome(s), coordinates (start/end in hg19/hg38), SV size, SV type (DEL/DUP/INV/TRA/CPX), breakpoint precision, inheritance pattern (de novo/inherited/unknown).
For SV type definitions, scoring tables, and ACMG code details, see CLASSIFICATION_GUIDE.md.
Goal: Annotate all genes affected by the SV.
Tools:
ensembl_lookup_gene - gene structure, coordinates, exonsNCBIGene_search - official symbol, aliases, descriptionGene_Ontology_get_term_info - biological process, molecular functionOMIM_search, OMIM_get_entry - disease associations, inheritanceDisGeNET_search_gene - gene-disease association scoresClassify genes as: fully contained (entire gene in SV), partially disrupted (breakpoint within gene), or flanking (within 1 Mb of breakpoints).
For implementation pseudocode, see ANALYSIS_PROCEDURES.md Phase 2.
Goal: Determine if affected genes are dosage-sensitive.
Tools:
ClinGen_search_dosage_sensitivity - HI/TS scores (0-3, gold standard)ClinGen_search_gene_validity - gene-disease validity levelgnomad_search_variants - pLI scores for LoF intoleranceOMIM_get_entry - inheritance pattern (AD suggests dosage sensitivity)Interpret scores using the reasoning above. ClinGen HI/TS score 3 = definitive; score 2 = likely; score 1 = little evidence; score 0 = no evidence. Do not equate AD inheritance with haploinsufficiency without ClinGen support.
Goal: Determine if SV is common (likely benign) or rare (supports pathogenicity).
Tools:
gnomad_search_variants - population SV frequenciesClinVar_search_variants - known pathogenic/benign SVsClinGen_search_dosage_sensitivity - patient SVs with phenotypesUse >=70% reciprocal overlap to define "same" SV for comparison. A frequency >=1% triggers BA1 unless there is very strong clinical evidence to override.
Goal: Quantitative pathogenicity assessment on 0-10 scale.
Four components weighted: gene content (40%), dosage sensitivity (30%), population frequency (20%), clinical evidence (10%).
Score mapping: 9-10 = Pathogenic, 7-8 = Likely Pathogenic, 4-6 = VUS, 2-3 = Likely Benign, 0-1 = Benign.
For detailed scoring breakdowns and implementation, see CLASSIFICATION_GUIDE.md and ANALYSIS_PROCEDURES.md Phase 5.
Goal: Find case reports, functional studies, and clinical validation.
Tools:
PubMed_search_articles - peer-reviewed literatureEuropePMC_search_articles - additional coverageClinGen_search_dosage_sensitivity - patient case databaseSearch strategies: gene-specific dosage sensitivity papers, SV-specific case reports, phenotype-gene associations. See ANALYSIS_PROCEDURES.md Phase 6.
Goal: Apply ACMG/ClinGen criteria adapted for SVs and generate a final classification with explicit evidence summary.
The LLM knows the ACMG criteria codes and combination rules. Apply them to the evidence gathered in Phases 1-6. Key points to verify with tool data:
For complete evidence code tables and classification algorithm, see CLASSIFICATION_GUIDE.md.
Create report using the template in REPORT_TEMPLATE.md. Name files as:
SV_analysis_[TYPE]_chr[CHR]_[START]_[END]_[GENES].md
ClinGen_search_dosage_sensitivity - HI/TS scores (required for all deletions/duplications)ClinGen_search_gene_validity - gene-disease validity (required)ClinVar_search_variants - known pathogenic/benign SVs (required)ensembl_lookup_gene - gene coordinates, structure (required)OMIM_search, OMIM_get_entry - gene-disease associations (required)gnomad_search_variants - population frequency and pLI (required)DisGeNET_search_gene - additional disease associations (recommended)PubMed_search_articles - literature evidence (recommended)Gene_Ontology_get_term_info - gene function (supporting)tooluniverse-variant-interpretationUse this skill for structural variants >=50 bp requiring dosage sensitivity assessment and ACMG-adapted classification.
EXAMPLES.md - Sample SV interpretations with worked examplesCLASSIFICATION_GUIDE.md - ACMG criteria, scoring system, evidence codes, special scenarios, clinical recommendationsREPORT_TEMPLATE.md - Full report template with section structure and file namingANALYSIS_PROCEDURES.md - Detailed implementation pseudocode for each phasetooluniverse-variant-interpretation - For SNVs and small indelstools
PCR / qPCR primer and oligo design — design forward/reverse primers for a target region (SantaLucia nearest-neighbor thermodynamics), compute melting temperature (Tm) and annealing temperature (Ta), check GC content, and screen an oligo for hairpins and primer-dimers. Use when you need primers for a sequence, want to QC an existing primer pair, or need the Tm of an oligo. Covers the primer-design rules (Tm matching, GC clamp, 3'-end, length) and the tools' constraint quirks.
tools
Pharmacokinetic (PK) analysis of concentration-time data — non-compartmental analysis (NCA) for Cmax, Tmax, AUC (0-t and 0-∞), terminal half-life, clearance (CL), volume of distribution (Vd), MRT, and absolute bioavailability (F). Also one-compartment fitting. Use when you have plasma/serum drug concentrations over time after a dose and need PK parameters, or to compute bioavailability from IV + oral AUCs. NOT for ADMET property prediction from structure (use tooluniverse-admet-prediction).
tools
Molecular cloning assembly design — Gibson Assembly (overlap design for seamless multi-fragment joining) and Golden Gate Assembly (Type IIS / BsaI / BbsI design with unique 4-bp fusion overhangs). Use when you need to plan how to join DNA fragments into a construct, design assembly overlaps/overhangs, or decide between cloning methods. Covers the domestication (internal-site removal), overhang-uniqueness, and overlap-Tm rules. For PCR primers to generate the fragments, see tooluniverse-primer-design.
tools
Meta-analysis / evidence synthesis — pool effect sizes across studies (odds ratios, risk ratios, hazard ratios, mean differences, correlations, GWAS betas) with fixed- or random-effects models, quantify heterogeneity (Q, I², τ²), and build a forest plot. Use when you have results from MULTIPLE studies and need a single pooled estimate, or to synthesize evidence from a systematic review / multiple GWAS / replicated experiments. Handles the error-prone effect-size + standard-error preparation (converting OR/HR/CI, two-group means±SD, proportions, and correlations into the (effect, SE) the pooling step needs).