nextflow-hello-workflow
Use this skill to run a minimal Nextflow workflow through the repo-managed Java and Nextflow prefix, either locally or on the Slurm cluster. Do not use it for…
от ma-compbio-lab★ 46 звёзд на GitHub
Установить nextflow-hello-workflow в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Purpose
Verify that the repository-local Nextflow runtime works and execute a tiny deterministic workflow end to end, including a Slurm executor path.
When to use
- You need a small, local Nextflow smoke test.
- You want a known-good example before adapting a larger workflow.
- You want to confirm that Nextflow can submit tiny jobs to the local Slurm cluster.
When not to use
- You need container orchestration or production pipeline packaging.
Inputs
examples/main.nf- Optional
--out-dir,--work-dir, and executor settings - For cluster runs:
--executor slurmplus an optional partition
Outputs
- Published greeting files in the chosen output directory
- JSON summary with the runtime version, produced files, and optional Slurm trace/accounting details
Requirements
- The repo-local toolchain at
slurm/envs/nextflow-tools - Local filesystem write access for the work and output directories
- For cluster verification:
sbatchandsacctaccess on the local Slurm cluster
Procedure
- Run
python3 skills/reproducible-workflows/nextflow-hello-workflow/scripts/run_nextflow_hello.py --out-dir scratch/nextflow-hello/resultsfor a local smoke path. - Run
python3 skills/reproducible-workflows/nextflow-hello-workflow/scripts/run_nextflow_hello.py --executor slurm --partition cpu --out-dir scratch/nextflow-hello-slurm/results --work-dir scratch/nextflow-hello-slurm/work --summary-out scratch/nextflow-hello-slurm/summary.jsonfor a cluster-backed smoke path. - Inspect the returned
fileslist and the output directory contents. - For Slurm runs, inspect
trace_rowsandslurm_jobsin the summary. - Reuse the pattern in
examples/main.nfwhen bootstrapping larger pipelines.
Validation
nextflow infosucceeds through the repo-local wrapper environment.nextflow runcompletes without errors.- Four greeting files are published to the output directory.
- For Slurm runs, the trace file contains native job IDs and
sacctreportsCOMPLETEDwithExitCode 0:0.
Failure modes and fixes
java: command not found: run through the provided wrapper script instead of callingnextflowdirectly.- Write-path issues: switch
--out-dirand--work-dirto writable locations. - Raw
nextflow runtreats a relative script name like a remote pipeline: use the wrapper or pass an explicit local path. - Slurm queue delays: rerun on
cpuor adjust the partition if the cluster is busy.
Safety and limits
- This skill verifies local and tiny Slurm-backed executor paths only.
- It does not prove container, cloud, or production-scale execution readiness.
Examples
python3 .../run_nextflow_hello.py --out-dir scratch/nextflow-hello/results --work-dir scratch/nextflow-hello/workpython3 .../run_nextflow_hello.py --executor slurm --partition cpu --summary-out scratch/nextflow-hello-slurm/summary.json
Provenance
- Nextflow installation docs: https://www.nextflow.io/docs/latest/install.html
- Nextflow first-script tutorial: https://www.nextflow.io/docs/latest/your-first-script.html
- Nextflow executor docs: https://www.nextflow.io/docs/latest/executor.html
- Slurm quick start: https://slurm.schedmd.com/quickstart.html
Related skills
snakemake-toy-workflow-starternf-core-pipeline-listslurm-job-debug-template
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- assets/README.md
- assets/hello_run_outputs/Bonjour.txt
- assets/hello_run_outputs/Ciao.txt
- assets/hello_run_outputs/Hello.txt
- assets/hello_run_outputs/Hola.txt
- assets/hello_run_summary.json
- assets/hello_slurm_summary.json
- assets/latest-results/Bonjour.txt
- assets/latest-results/Ciao.txt
- assets/latest-results/Hello.txt
- assets/latest-results/Hola.txt
- assets/latest-slurm-results/Bonjour.txt
- assets/latest-slurm-results/Ciao.txt
- assets/latest-slurm-results/Hello.txt
- assets/latest-slurm-results/Hola.txt
- examples/README.md
- examples/main.nf
- metadata.yaml
- refs.md
- scripts/run_nextflow_hello.py
FAQ
Что делает скилл nextflow-hello-workflow?
Use this skill to run a minimal Nextflow workflow through the repo-managed Java and Nextflow prefix, either locally or on the Slurm cluster. Do not use it for containerized production pipelines.
Как установить скилл nextflow-hello-workflow?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл nextflow-hello-workflow запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet 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…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…