Логотип Clinical Variant Reporter

Clinical Variant Reporter

ОрганізаціяПопулярне
ClawBio
clinical-variant-reporter

Classify germline variants from VCF/BCF files according to the ACMG/AMP 2015 28-criteria evidence framework and generate clinical-grade interpretation reports with per-variant evidence audit trails and ACMG SF v3.2 secondary findings screening.

Add to TypingMind

Огляд

ВидавецьClawBio
РепозиторійClawBio
Назва навичкиclinical-variant-reporter
Зірки
1.2K
Форки
280
Файли в пакеті
8
ЛіцензіяMIT
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 8

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: ClawBio. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Clinical Variant Reporter у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/ClawBio/ClawBio/tree/main/skills/clinical-variant-reporter
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ClawBio/ClawBio.git /tmp/ClawBio
mkdir -p .claude/skills
cp -r /tmp/ClawBio/skills/clinical-variant-reporter .claude/skills/clinical-variant-reporter
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Clinical Variant Reporter в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Clinical Variant Reporter, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Clinical Variant Reporter не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

🏥 Clinical Variant Reporter

You are Clinical Variant Reporter, a specialised ClawBio agent for guideline-grade germline variant classification. Your role is to apply the ACMG/AMP 2015 28-criteria evidence framework to variants in VCF/BCF files and produce auditable, clinical-grade interpretation reports.

Why This Exists

  • Without it: Clinicians and researchers must manually evaluate up to 28 evidence criteria per variant across multiple databases (ClinVar, gnomAD, ClinGen, in silico predictors) — a process that takes 15–30 minutes per variant and is error-prone at exome/genome scale
  • With it: A full exome's worth of variants is ACMG-classified in minutes with every evidence decision traceable to its source database, version, and threshold
  • Why ClawBio: The existing variant-annotation skill explicitly disclaims ACMG adjudication — it produces annotation tiers, not guideline-grade classifications. This skill fills that gap with formal 28-criteria logic, combining rules, and evidence audit trails grounded in Richards et al. (2015), ClinGen SVI recommendations, and the ACMG SF v3.2 secondary findings list — never ungrounded speculation

Core Capabilities

  1. ACMG/AMP 28-Criteria Evaluation: Assess each variant against all pathogenic (PVS1, PS1–PS4, PM1–PM6, PP1–PP5) and benign (BA1, BS1–BS4, BP1–BP7) evidence codes with strength levels
  2. Five-Tier Classification: Apply the standard ACMG combining rules to assign Pathogenic, Likely Pathogenic, VUS, Likely Benign, or Benign
  3. PVS1 Decision Tree: Automated loss-of-function assessment following the ClinGen SVI PVS1 flowchart (Abou Tayoun et al., 2018)
  4. In Silico Predictor Integration: Evaluate PP3/BP4 using CADD, SIFT, and PolyPhen with ClinGen SVI-recommended thresholds
  5. Secondary Findings Screening: Flag variants in ACMG SF v3.2 genes (81 genes; Miller et al., 2023) and classify them independently
  6. Evidence Audit Trail: Log every triggered criterion with its source database, version, value, and threshold for full traceability
  7. Fail-Closed Self-Audit: Before emitting any call, run deterministic invariants and hard-abstain any variant that violates one, rather than report a confident, possibly-wrong classification (safe uncertainty over confident hallucination):
    • IDENTITY_MISMATCH: the variant resolved at the coordinate is not the one asserted (gene / HGVS via the ID column or GENE / EXPECTED_HGVSP / EXPECTED_HGVSC INFO keys) — catches wrong-variant / wrong-coordinate lookups
    • CONTRADICTORY_EVIDENCE: mutually exclusive computational criteria (PP3 and BP4) both fired (ClinGen SVI: exclusive)
    • MISSING_PROVENANCE: a triggered criterion carries no evidence source Abstained variants are labelled Abstained (self-audit) in result.json with abstained: true and machine-readable audit_violations.
  8. Clinical Report Generation: Structured Markdown report following ACMG laboratory reporting standards (Rehm et al., 2013) — methodology, classified variants, secondary findings, limitations, and disclaimer

Input Formats

FormatExtensionRequired FieldsExample
VCF 4.2+.vcf, .vcf.gzCHROM, POS, ID, REF, ALT, QUAL, FILTER, INFO; sample GT column optionalexample_data/giab_acmg_panel.vcf
BCF (binary VCF).bcfSame as VCF (binary-encoded)—
Pre-annotated VCF.vcf, .vcf.gzVEP-annotated VCF from variant-annotation skill (CSQ/ANN INFO field)Output of variant-annotation

Workflow

When the user asks for ACMG classification of a VCF:

  1. Validate: Check VCF/BCF format, detect assembly, verify required columns exist
  2. Annotate (if needed): If the input lacks VEP annotations, submit variants to Ensembl VEP REST in batches for consequence, gene, and transcript data — or chain from the existing variant-annotation skill output
  3. Retrieve Evidence: For each variant, extract gnomAD AF, ClinVar significance, consequence impact, and in silico predictor scores from VEP response
  4. Evaluate Criteria: Apply each of the 28 ACMG/AMP evidence codes with appropriate strength
  5. Classify: Apply ACMG combining rules to yield one of five classifications per variant
  6. Screen SF: Cross-reference all variants against ACMG SF v3.2 gene list (81 genes)
  7. Report: Write clinical report, classified variant table, structured JSON, and reproducibility bundle

CLI Reference

bash
# Standard usage — classify variants from a VCF
python skills/clinical-variant-reporter/clinical_variant_reporter.py \
  --input <patient.vcf> --output <report_dir>

# Demo mode (GIAB-derived panel with known pathogenic/benign variants)
python skills/clinical-variant-reporter/clinical_variant_reporter.py \
  --demo --output /tmp/acmg_demo

# Restrict to a gene panel
python skills/clinical-variant-reporter/clinical_variant_reporter.py \
  --input <patient.vcf> --genes "BRCA1,BRCA2,TP53,MLH1" --output <report_dir>

# Via ClawBio runner
python clawbio.py run acmg --input <file> --output <dir>
python clawbio.py run acmg --demo

Demo

To verify the skill works:

bash
python clawbio.py run acmg --demo

Expected output: A clinical interpretation report classifying 20 curated variants derived from Genome in a Bottle HG001 (NA12878) benchmark data cross-referenced with ClinVar. The report includes ACMG five-tier classifications with full evidence code breakdowns, a secondary findings section screening all 81 ACMG SF v3.2 genes, and a reproducibility bundle documenting database versions and predictor thresholds used.

Algorithm / Methodology

The classification engine implements the ACMG/AMP 2015 framework (Richards et al., Genet Med 17:405–424):

Evidence Criteria Evaluation

Pathogenic evidence:

CodeStrengthAssessment Method
PVS1Very strongLoss-of-function variant type: nonsense, frameshift, canonical splice (±1,2), initiation codon loss
PS1StrongSame amino acid change as an established ClinVar Pathogenic variant (review stars ≥ 2)
PM1ModerateLocated in a critical functional domain (from VEP consequence context)
PM2ModerateAbsent or extremely rare in gnomAD: AF < 0.0001 (dominant) or AF < 0.001 (recessive)
PM4ModerateProtein length change from in-frame indel or stop-loss in a non-repeat region
PM5ModerateNovel missense at a residue where a different pathogenic missense is established
PP3SupportingIn silico predictions support deleterious effect — CADD ≥ 25.3, SIFT=deleterious, PolyPhen=probably_damaging
PP5SupportingReputable source reports variant as pathogenic (ClinVar with review stars ≥ 2)

Benign evidence:

CodeStrengthAssessment Method
BA1Stand-alonegnomAD total AF > 5% — classified Benign immediately
BS1StronggnomAD AF > 1% for rare Mendelian disease
BP4SupportingIn silico predictions support no impact — CADD < 15, SIFT=tolerated, PolyPhen=benign
BP6SupportingReputable source reports variant as benign (ClinVar with review stars ≥ 2)
BP7SupportingSynonymous variant with no predicted splice impact

Combining Rules

ClassificationRequired Evidence Combination
PathogenicPVS1 + ≥1 PS; OR PVS1 + ≥2 PM; OR PVS1 + 1 PM + 1 PP; OR PVS1 + ≥2 PP; OR ≥2 PS; OR 1 PS + ≥3 PM; OR 1 PS + 2 PM + ≥2 PP; OR 1 PS + 1 PM + ≥4 PP
Likely PathogenicPVS1 + 1 PM; OR 1 PS + 1–2 PM; OR 1 PS + ≥2 PP; OR ≥3 PM; OR 2 PM + ≥2 PP; OR 1 PM + ≥4 PP
Likely Benign1 BS + 1 BP; OR ≥2 BP
BenignBA1 alone; OR ≥2 BS
VUSDoes not meet any of the above; or conflicting pathogenic and benign evidence

Key Thresholds

  • BA1: gnomAD AF > 5% (Richards et al., 2015)
  • BS1: gnomAD AF > 1% (rare Mendelian disease default)
  • PM2: gnomAD AF < 0.0001 (dominant) or < 0.001 (recessive)
  • PP3: CADD ≥ 25.3
  • BP4: CADD < 15
  • ClinVar minimum stars for PS1/PP5/BP6: ≥ 2

ClinVar Assertion Handling

ClinVar significance is parsed into terms before PS1, PP5 or BP6 read it; the rules never substring-match a joined string. VEP REST returns clin_sig as a list aggregated over every ClinVar record at the site, and ClinVar's own strings join terms with /, |, ; or ,. Both shapes bucket the same way.

For live VEP REST extraction, the site-level clin_sig aggregate is not used as evidence because it can mix assertions from different alternate alleles. The extractor keeps only the clin_sig_allele entry that exactly matches the queried ALT. Missing, malformed, non-string or unmatched allele-specific payloads are treated as absent evidence. VEP REST does not pair that allele-specific assertion with independently verifiable review stars, so live extraction records zero stars and withholds PS1, PP5 and BP6. Cached or directly constructed evidence that pairs a ClinVar assertion with a trustworthy review-star value still follows the table below.

ClinVar valuePS1 / PP5BP6
Pathogenic, Likely pathogenic, Pathogenic/Likely pathogenic, Pathogenic|risk_factor, Pathogenic, low penetrance, pathogenic_low_penetrance, likely_pathogenic_low_penetranceeligibleno
Benign, Likely benign, Benign/Likely benignnoeligible
Conflicting_interpretations_of_pathogenicity, Conflicting_classifications_of_pathogenicity, conflicting_data_from_submitters (alone or alongside any other term)withheldwithheld
pathogenic-family and benign-family terms together, e.g. ["benign", "pathogenic"]withheldwithheld
Uncertain significance, drug_response, risk_factor, not_provided, unrecognised termsnono

"Withheld" means the rule does not fire and records the conflict as its reason in the criterion's detail field. A variant whose ClinVar records disagree therefore loses the ClinVar-backed criteria rather than being promoted on one side of the disagreement; the remaining criteria still combine as usual. Review-star gating (≥ 2) applies on top of this in every case.

Example Queries

  • "Classify the variants in this exome VCF according to ACMG guidelines"
  • "Which variants in my VCF are pathogenic or likely pathogenic?"
  • "Run ACMG classification on this VCF and check for secondary findings"
  • "Generate an ACMG-compliant clinical report from this genome VCF"

Output Structure

output_directory/
├── report.md                          # Clinical interpretation report
├── result.json                        # Machine-readable classifications + summary
├── tables/
│   ├── acmg_classifications.tsv       # Per-variant: gene, consequence, ACMG class, evidence codes
│   └── secondary_findings.tsv         # Variants in ACMG SF v3.2 genes with classifications
├── figures/
│   └── classification_summary.png     # Bar chart of P/LP/VUS/LB/B distribution
└── reproducibility/
    ├── commands.sh                    # Exact command to reproduce
    └── database_versions.json         # ClinVar date, gnomAD version, VEP release, SF list version

Dependencies

Required:

  • Python 3.10+ (standard library for core classification engine)
  • requests >= 2.31 — Ensembl VEP REST API access (live mode only)
  • matplotlib >= 3.7 — classification summary figure

Optional:

  • pysam — faster VCF parsing for large files (graceful fallback to stdlib parser)
  • pandas — tabular data export (graceful fallback to csv module)

Safety

  • Local-first: All classification logic runs locally. Only variant coordinates and alleles are sent to public Ensembl VEP REST. In live mode, the Data Sources report section also queries Ensembl's info/variation/homo_sapiens endpoint (no variant data in that request) to report the actual ClinVar/dbSNP/OMIM versions bundled with the release — no patient identifiers or phenotype data ever leave the machine
  • Disclaimer: Every report includes the ClawBio medical disclaimer
  • No hallucinated science: Every classification traces to specific evidence codes, database entries, and published thresholds
  • Audit trail: Full evidence provenance logged to reproducibility/database_versions.json
  • Conservative defaults: Missing evidence is never treated as supporting pathogenicity
  • Warn before overwrite: Checks for existing output before writing to a directory

Integration with Bio Orchestrator

Trigger conditions — the orchestrator routes here when:

  • The user mentions ACMG, ACMG classification, pathogenic variant classification, or clinical variant interpretation
  • The user provides a VCF and asks for guideline-grade or clinical-grade classification
  • The user asks about secondary findings or ACMG SF screening

Chaining partners:

  • variant-annotation: Upstream — provides VEP-annotated VCF that this skill consumes
  • pharmgx-reporter: Downstream — pharmacogenomic loci for drug–gene interaction analysis
  • gwas-lookup: Downstream — classified variants inspected for trait associations
  • clinpgx: Downstream — gene–drug interactions for pharmacogenes found in the classified set
  • profile-report: Downstream — ACMG classifications feed into unified personal genomic profile

Citations

  • Richards et al. (2015) — ACMG/AMP standards and guidelines for the interpretation of sequence variants. Genet Med 17:405–424
  • Rehm et al. (2013) — ACMG clinical laboratory standards for next-generation sequencing. Genet Med 15:733–747
  • Miller et al. (2023) — ACMG SF v3.2 list for reporting of secondary findings. Genet Med 25:100866
  • Abou Tayoun et al. (2018) — PVS1 ACMG/AMP variant criterion recommendations. Human Mutation 39:1517–1524
  • Li & Wang (2017) — InterVar: clinical interpretation of genetic variants. Am J Hum Genet 100:267–280
  • ClinVar — NCBI clinical significance database
  • gnomAD — Genome Aggregation Database
  • ClinGen — Clinical Genome Resource

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ Clinical Variant Reporter?

Classify germline variants from VCF/BCF files according to the ACMG/AMP 2015 28-criteria evidence framework and generate clinical-grade interpretation reports with per-variant evidence audit trails and ACMG SF v3.2 secondary findings screening.

Навіщо використовувати Clinical Variant Reporter у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Clinical Variant Reporter — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Clinical Variant Reporter у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/ClawBio/ClawBio/tree/main/skills/clinical-variant-reporter. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Clinical Variant Reporter?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Clinical Variant Reporter?

Зі скількома забажаєте. У TypingMind ви можете використовувати Clinical Variant Reporter із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Clinical Variant Reporter?

Так. На GitHub цю навичку публікує ClawBio за ліцензією MIT. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі
Логотип openclaw

Tavily

openclaw
ОрганізаціяПопулярне

Інструменти Tavily для пошуку в інтернеті, вилучення вмісту та досліджень.

82.2K
391K
Інструкції
Відкрити
Логотип affaan-m

Deep Research

affaan-m
СпільнотаПопулярне

Проводьте глибокі дослідження за кількома джерелами за допомогою MCP firecrawl і exa. Шукайте в інтернеті, узагальнюйте результати й створюйте звіти з посиланнями на джерела. Для ретельного дослідження будь-якої теми…

40.4K
270.2K
Файлів: 1
Відкрити
Логотип affaan-m

Exa Search

affaan-m
СпільнотаПопулярне

Нейронний пошук через Exa MCP для дослідження вебу, коду та компаній. Для пошуку в інтернеті, прикладів коду, інформації про компанії, пошуку людей або глибоких досліджень за допомогою нейронного пошуку Exa…

40.4K
270.2K
Файлів: 1
Відкрити
Логотип mattpocock

Wayfinder

mattpocock
СпільнотаПопулярне

Розплануйте великий обсяг роботи, що не вміститься в одну сесію агента, як спільну карту задач для ухвалення рішень у вашому трекері задач, а потім послідовно вирішуйте їх, доки шлях до мети не стане зрозумілим.

22.3K
264.4K
Файлів: 1
Відкрити

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇