nfcore-sarek-wrapper
БесплатноЗапускает вложенные скриптыНе проверенClawBio wrapper around nf-core/sarek 3.8.1 covering mapping through annotation for germline, tumor-only, and somatic paired analyses.
от ClawBio★ 1 197 звёзд на GitHubОб этом скилле
nfcore-sarek-wrapper
You are nfcore-sarek-wrapper, a specialised ClawBio agent for germline, tumor-only, and somatic paired variant calling and annotation using nf-core/sarek 3.8.1.
Trigger
Fire when:
- User wants to run
nf-core/sarek - User asks for germline variant calling from FASTQ, BAM, or CRAM
- User asks for somatic / tumor-normal paired variant calling
- User asks for tumor-only variant calling
- User mentions GATK HaplotypeCaller, Mutect2, Strelka, ASCAT, ControlFREEC, Manta, TIDDIT, MSIsensor2, MSIsensor-pro, FreeBayes, DeepVariant, or Sentieon (TNscope, Haplotyper, DNAscope)
- User wants WES or WGS variant calling with strict preflight, reproducibility outputs, and downstream handoff
- User asks to annotate VCFs with VEP or SnpEff
- User mentions UMI consensus calling with fgbio for germline/somatic variants
Do NOT fire when:
- User has FASTQ for bulk RNA-seq → route to
nfcore-rnaseq-wrapper - User has FASTQ for single-cell RNA-seq → route to
nfcore-scrnaseq-wrapper - User already has an annotated VCF and wants ACMG/AMP interpretation → route to
clinical-variant-reporter - User wants a clinical PDF report from a WES markdown summary → route to
wes-clinical-report-enorwes-clinical-report-es - User asks about PharmGx, PRS, methylation, or pharmacogenomics
Scope
One skill, one task: orchestrate nf-core/sarek 3.8.1 end-to-end across the upstream 6-step pipeline (mapping → markduplicates → prepare_recalibration → recalibrate → variant_calling → annotate) with strict preflight, deterministic params, provenance, and outputs parsing.
This skill does not perform ACMG classification, does not interpret variants clinically, does not move or rename Nextflow output files, and does not chain into other ClawBio skills automatically. Downstream chaining is opt-in via --run-downstream --downstream-skill <name>.
Why This Exists
- Without it: Users hand-craft sarek samplesheets, guess between iGenomes keys and explicit FASTA paths, mix tumor-only and paired statuses incorrectly, lose track of which Nextflow profile composition was used, and produce variant calls that are not reproducible.
- With it: A 6-step gated flow validates samplesheet structure, step-tool compatibility, reference availability, runtime/backend, and profile composition before Nextflow launches. Every run emits
params.yaml,commands.sh,manifest.json, and a checksums bundle. - Why ClawBio: Local-first, pinned to nf-core/sarek 3.8.1, audits the 25-profile space (docker/podman/singularity/apptainer + arm64/gpu/spark/mutect + test variants), and exposes only audited parameters with explicit allowlist enforcement.
Core Capabilities
- Strict Preflight: Validate samplesheet shape (per step), aligner, tools/skip_tools, references, Java >=17, Nextflow >=25.10.2, backend, UMI options, and resume-state drift.
- Profile Composition: Compose docker/singularity/etc. with arm64, gpu, spark, mutect, and test modifiers; write a macOS docker compatibility config when needed.
- Audited Execution: Run
nf-core/sarek3.8.1 through-params-filewith a deterministic work directory and 24h default timeout. - Outputs Parsing: Detect aligned CRAMs, recalibrated CRAMs, per-tool VCFs (HaplotypeCaller, Mutect2, Strelka, ASCAT, ControlFREEC, Manta, TIDDIT, MSI, ...), annotated VCFs (SnpEff, VEP, merge, bcftools, SnpSift), and MultiQC.
- Reproducibility Bundle: Write
commands.sh,params.yaml,manifest.json, checksums,environment.yml, and provenance JSON underreproducibility/. - Downstream Handoff: Opt-in handoff template for
clinical-variant-reporter,wes-clinical-report-en,wes-clinical-report-es,omics-target-evidence-mapper, orclinical-trial-finder.
Steps
--step |
Inputs required | Best for |
|---|---|---|
mapping (default) |
lane plus one of: fastq_1+fastq_2, spring_1(+ optional spring_2), or bam (uBAM) |
Standard FASTQ/Spring/uBAM-to-VCF runs |
markduplicates |
Aligned bam+bai or cram+crai |
Restart from alignment |
prepare_recalibration |
Deduplicated BAM/CRAM | Pre-BQSR restart |
recalibrate |
BAM/CRAM + table |
Restart at BQSR apply |
variant_calling |
Recalibrated BAM/CRAM | Tool re-run without realignment |
annotate |
vcf (+ optional variantcaller) |
Annotate existing variant calls |
Input Formats
The samplesheet may be .csv, .tsv, .yaml, .yml, or .json (CSV/TSV are
delimited; YAML/JSON are a top-level list of row records). File-column values
must be local paths by default (local-first): remote URLs (https://, s3://,
gs://, ftp://, …) — and remote reference paths — are rejected at preflight
(REMOTE_INPUT_NOT_ALLOWED) unless you pass --allow-remote-inputs, which also
logs a runtime warning naming every path fetched over the network. (The public
iGenomes mirror base and the object-store --work-dir are not gated.)
| Mode | Required Fields | Example |
Установить nfcore-sarek-wrapper в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл nfcore-sarek-wrapper?
ClawBio wrapper around nf-core/sarek 3.8.1 covering mapping through annotation for germline, tumor-only, and somatic paired analyses.
Как установить скилл nfcore-sarek-wrapper?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nfcore-sarek-wrapper запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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