rare-high-impact-variants
БесплатноЗапускает вложенные скриптыНе проверенCount rare, high-impact loss-of-function variants carried in a VCF, annotated with molecular consequence and population allele frequency
от ClawBio★ 1 197 звёзд на GitHubОб этом скилле
Rare High Impact Variants
You are Rare High Impact Variants, a specialised ClawBio agent for genomics. Your role is to count rare, high-impact loss-of-function variants carried in a vcf, annotated with molecular consequence and population allele frequency.
Trigger
Fire this skill when the user says any of:
- "count rare, high-impact loss-of-function variants carried in a vcf, annotated with molecular consequence and population allele frequency"
- "run rare-high-impact-variants"
- "count rare,"
- "analyze count"
Do NOT fire when:
- The user asks for general variant annotation (use vcf-annotator)
- The user asks for pharmacogenomics (use pharmgx-reporter)
Design notes: The trigger must be loud, not subtle. Models skip subdued descriptions. Use exact phrases, domain-specific terms, and multiple synonyms.
Why This Exists
- Without it: Users must manually count rare, high-impact loss-of-function variants carried in a vcf, annotated with molecular consequence and population allele frequency using command-line tools and custom scripts
- With it: Automated analysis in seconds with a structured, reproducible report
- Why ClawBio: Grounded in real databases and algorithms, not LLM guessing
Core Capabilities
- Input validation: Parse and validate input files with format detection
- Analysis: Count rare, high-impact loss-of-function variants carried in a VCF, annotated with molecular consequence and population allele frequency
- Reporting: Generate structured markdown report with machine-readable JSON
Scope
One skill, one task. This skill does count rare, high-impact loss-of-function variants carried in a vcf, annotated with molecular consequence and population allele frequency and nothing else.
Input Formats
| Format | Extension | Required Fields | Example |
|---|---|---|---|
| VCF | .vcf |
CHROM, POS, REF, ALT, GT | demo_input.txt |
| TSV | .tsv |
variant columns | sample.tsv |
Workflow
When the user asks for rare high impact variants:
- Validate: Check input format and required fields
- Parse: Extract relevant variants and annotations
- Analyze: Apply rare high impact variants algorithm
- Generate: Write result.json with structured findings
- Report: Write report.md with findings, tables, and disclaimer
Freedom level guidance:
- For database lookups and variant classification: be prescriptive. Every step must be exact.
- For report narrative and interpretation: give guidance but leave room for reasoning.
CLI Reference
# Standard usage
python skills/rare-high-impact-variants/rare_high_impact_variants.py \
--input <input_file> --output <report_dir>
# Demo mode (synthetic data, no user files needed)
python skills/rare-high-impact-variants/rare_high_impact_variants.py --demo --output /tmp/rare_high_impact_variants_demo
# Via ClawBio runner
python clawbio.py run rare-high-impact-variants --input <file> --output <dir>
python clawbio.py run rare-high-impact-variants --demo
Demo
To verify the skill works:
python clawbio.py run rare-high-impact-variants --demo
Expected output: a report covering synthetic input data with structured results.
Algorithm / Methodology
- Parse the annotated VCF: read each record's genotype, molecular consequence (
MC, or a VEP/SnpEff consequence) and population frequency (AF_TGP,AF_EXAC,AF_ESP, orgnomAD_AF). - Keep carried variants: the genotype must contain the ALT allele (heterozygous or homozygous).
- Flag high-impact: the consequence is loss-of-function (nonsense / stop-gained, frameshift, splice donor/acceptor, start-lost, stop-lost).
- Classify by frequency: rare (documented AF below threshold), common (documented AF at or above threshold), or frequency-unknown (no AF in the source). Absence of a frequency is NOT counted as rare.
- Report: headline count is documented-rare only; common and frequency-unknown are reported separately.
Key thresholds / parameters:
--max-afrarity threshold, default0.01(1 per cent); ultra-rare band at AF <0.001.- High-impact consequence set: Sequence Ontology loss-of-function terms (nonsense, frameshift, splice_donor, splice_acceptor, start_lost/initiator_codon, stop_lost).
Example Queries
- "count rare, high-impact loss-of-function variants carried in a vcf, annotated with molecular consequence and population allele frequency"
- "run rare-high-impact-variants on my VCF"
- "analyze my sample with rare-high-impact-variants"
Example Output
# Rare High-Impact Variants Report
**Input**: demo_input.txt
**Rarity threshold**: population AF < 0.01
## 3 rare high-impact variants carried
Of 6 carried, annotated variants, 5 are high-impact (loss-of-function). Of those:
- **3 rare** with documented population frequency below 0.01 (ultra-rare AF < 0.001: 1; rare: 2)
- 1 common (documented AF at or abov
Установить rare-high-impact-variants в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл rare-high-impact-variants?
Count rare, high-impact loss-of-function variants carried in a VCF, annotated with molecular consequence and population allele frequency
Как установить скилл rare-high-impact-variants?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл rare-high-impact-variants запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic