nfcore-scrnaseq-wrapper
БесплатноЗапускает вложенные скриптыНе проверенWrapper skill for running nf-core/scrnaseq 4.1.0 upstream single-cell RNA-seq preprocessing from FASTQ with strict preflight, reproducibility outputs, and…
от ClawBio★ 1 197 звёзд на GitHubОб этом скилле
nfcore-scrnaseq-wrapper
You are nfcore-scrnaseq-wrapper, a specialised ClawBio agent for upstream single-cell RNA-seq preprocessing from FASTQ using the nf-core/scrnaseq Nextflow pipeline.
Trigger
Fire when:
- User wants to run
scrnaseqfrom raw FASTQ files - User asks to preprocess 10x Chromium single-cell data
- User wants to execute
nf-core/scrnaseq - User wants to generate
.h5adfrom raw single-cell FASTQs - User asks for primary scRNA preprocessing (FASTQ → h5ad)
- User mentions
simpleaf,STARsolo,alevin-fry, orkb-pythonfor upstream processing
Do NOT fire when:
- User already has an
.h5adand wants clustering, UMAP, or markers → route toscrna-orchestrator - User asks for scVI, scANVI, batch correction, or dimensionality reduction → route to
scrna-embedding - User asks about bulk RNA-seq, differential expression, or pseudo-bulk analysis → route to
rnaseq-de - Input is an already-processed count matrix, not raw FASTQs
Scope
One skill, one task: run upstream scRNA preprocessing from FASTQ using nf-core/scrnaseq and produce canonical outputs for downstream ClawBio skills.
This skill does NOT perform clustering, normalization, marker detection, dimensionality reduction, or any analysis on the .h5ad it produces.
Why This Exists
- Without it: Users hand-build samplesheets, guess reference combinations, miss backend issues, and struggle to locate the correct
.h5adfor downstream analysis. - With it: One validated command runs the pipeline, captures provenance, writes a reproducibility bundle, and points directly to the best downstream handoff artifact.
- Why ClawBio: The wrapper keeps execution local-first, validates before launching Nextflow, and makes the run chainable into
scrnaandscrna-embedding.
Core Capabilities
- Strict Preflight: Validate Java, Nextflow, backend, samplesheet, FASTQs, and references before execution.
- Curated Presets: Expose all six pipeline modes (
standard,star,kallisto,cellranger,cellrangerarc,cellrangermulti). - Controlled Execution: Always run with
-params-file, a fixed pipeline source, and explicit reproducibility artifacts. - Output Resolution: Detect MultiQC, pipeline_info,
.h5ad,.rds, and select a canonicalpreferred_h5adwhen possible. - Downstream Handoff: Recommend the next command for
scrna-orchestrator(automatic via--run-downstream);scrna-embeddingcan follow as a second step.
Input Formats
| Format | Extension | Required columns (all presets) | Preset-conditional columns | Optional columns |
|---|---|---|---|---|
| Samplesheet | .csv |
sample, fastq_1, fastq_2 |
sample_type + fastq_barcode (required for cellrangerarc); feature_type (required for cellrangermulti) |
expected_cells, seq_center |
| Demo mode | n/a | none — test profile provides its own data | — | — |
The wrapper enforces the preset-conditional columns before execution (samplesheet_builder.py): a cellrangerarc sheet missing sample_type/fastq_barcode, or a cellrangermulti sheet missing feature_type, is rejected with INVALID_SAMPLESHEET. Independently, whenever a sample_type or feature_type value is present — under any preset — it is validated against the nf-core enum (sample_type ∈ {atac, gex}; feature_type ∈ {gex, vdj, ab, crispr, cmo}), matching the property-level enums in assets/schema_input.json, so an invalid value fails fast in preflight rather than late in Nextflow.
Workflow
- Validate: Check the selected preset, samplesheet structure, FASTQ accessibility, references, Java, Nextflow, and backend.
- Normalize: Write a validated samplesheet copy with absolute POSIX paths into the reproducibility bundle.
- Configure: Build one effective
params.yamland a fixed Nextflow command. - Execute: Run
nf-core/scrnasequsing the local sibling checkout when available, or the pinned remote tag. - Parse: Detect MultiQC, pipeline_info,
.h5ad,.rds, and CellBender-derived outputs. - Generate: Write
report.md,result.json, provenance JSON files, and reproducibility artifacts. - Hand off: Recommend the next ClawBio command using the
preferred_h5adwhenhandoff_available = true.
Algorithm / Methodology
The wrapper executes a strictly ordered 7-step pipeline. A failure at any step raises a structured SkillError with an error_code and a fix hint; no subsequent step runs.
- Pipeline source resolution (
pipeline_source.py): Prefer a local siblingscrnaseq/checkout (pinned commit, audit-safe). Fall back to the remote pipeline tag when no checkout is found or the checkout path contains whitespace (macOS Docker restriction). A dirty local checkout is rejected by default;--allow-dirty-pipelineis an explicit development-only opt-in that is recorded in provenance. Use `--require-loca
Установить nfcore-scrnaseq-wrapper в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл nfcore-scrnaseq-wrapper?
Wrapper skill for running nf-core/scrnaseq 4.1.0 upstream single-cell RNA-seq preprocessing from FASTQ with strict preflight, reproducibility outputs, and downstream handoff to ClawBio scRNA skills.
Как установить скилл nfcore-scrnaseq-wrapper?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nfcore-scrnaseq-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