본문으로 건너뛰기
Skillpedia
배포 및 클라우드 (DevOps)51k · #3506

nextflow

하는 일

Nextflow는 대량의 데이터를 처리하는 복잡한 워크플로를 만들고 실행하도록 돕는 도구입니다. 생물정보학 등 여러 분야에서 널리 쓰입니다.

사용하는 경우

  • ✓많은 데이터를 체계적이고 반복 가능한 방식으로 처리해야 할 때.
  • ✓생물정보학 분야에서 유전 데이터를 분석해야 할 때.
  • ✓여러 번 반복해야 하는 데이터 분석 작업을 자동화할 때.

스킬 링크

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/nextflow/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/nextflow/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“nf-core를 사용해 RNA-seq 분석 파이프라인을 실행하려면 어떻게 해야 하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

Nextflow는 작업을 ‘프로세스’로 나누고, 이들은 ‘채널’을 통해 서로 통신합니다. 데이터 의존성에 따라 실행 순서와 동시에 실행할 작업 수를 자동으로 결정합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Nextflow

Overview

Nextflow is a workflow language and runtime for building reproducible, portable, scalable data pipelines. It is dominant in bioinformatics but works for any data-heavy computation. nf-core is a community curating production-grade Nextflow pipelines, reusable modules, and the nf-core tooling on top of Nextflow.

Key ideas:

  • Dataflow programming: pipelines are process tasks connected by channels. Nextflow infers execution order and parallelism from data dependencies — there is no explicit scheduler to write.
  • Write once, run anywhere: the same pipeline runs locally, on HPC (SLURM, SGE, LSF, PBS), and on cloud (AWS Batch, Google Batch, Azure Batch, Kubernetes) by changing config/profiles, not code.
  • Reproducibility: pinned software environments and pipeline revisions, immutable inputs/references, recorded parameters and seeds. -resume is a computational cache, not scientific validation. Conda is an environment manager; Wave resolves/builds images rather than executing them.
  • DSL2 is the modern, required syntax: modular process/workflow/include definitions.

This skill covers both running existing pipelines and developing your own (Nextflow language + nf-core conventions, testing with nf-test, configuration, and deployment).

When to Use This Skill

Use this skill when the user wants to:

  • Run an nf-core or custom Nextflow pipeline, or debug a failing/resuming run.
  • Write or modify .nf scripts, nextflow.config, profiles, or nextflow_schema.json.
  • Author or test nf-core-style modules/subworkflows (main.nf, meta.yml, tests/, nf-test).
  • Configure executors, containers, or resources; scale to HPC or cloud.
  • Implement a scientific workflow in Nextflow or adapt an existing nf-core pipeline.
  • Understand processes, channels, operators, take/emit, publishDir, ext.args, meta maps.

Setup

This review targets stable Nextflow 26.04.6, nf-core tools 4.1.0, and nf-test 0.9.5. Nextflow needs Bash 3.2+ and Java 17–26; verify java -version (a launcher on PATH does not prove a runtime is installed). The strict parser is the default in 26.04. See release notes and the 26.04 migration guide. Stable and edge documentation can differ; do not use a preview feature without its version/flag.

# Install Nextflow (self-installing launcher)
export NXF_VER=26.04.6
curl -fsSL https://get.nextflow.io -o install-nextflow.sh
# Review the installer before executing it.
bash < install-nextflow.sh
mkdir -p "$HOME/.local/bin"
mv nextflow "$HOME/.local/bin/"
export PATH="$HOME/.local/bin:$PATH"
nextflow info                                # verify

# Alternative (illustrative; confirm package availability and Java compatibility)
conda create -n nf -c conda-forge -c bioconda nextflow=26.04.6 nf-core=4.1.0
# nf-core tools (Python) for creating/linting/running nf-core assets
uv tool install "nf-core==4.1.0"
nf-core --version

Pin the engine for reproducibility: export NXF_VER=26.04.6; check the selected pipeline release’s engine constraint before upgrading. Use edge only for a required, explicitly tested feature. For air-gapped/HPC, see references/running-pipelines.md (offline mode) and references/configuration.md.

Two Modes of Work

Decide which path the user is on — it changes everything:

Goal Start here
Run an existing pipeline (nf-core or a .nf you were given) references/running-pipelines.md
Develop a new pipeline / module / subworkflow references/language.md + references/developing.md
Configure / scale (HPC, cloud, containers, resources) references/configuration.md + references/containers.md
Test modules/pipelines references/testing.md

Quick Start

Run an nf-core pipeline

Use the selected release’s small test profile first after checking its resource/download requirements. A passing smoke test verifies that configuration and fixture, not scientific accuracy or full-scale capacity. The following RNA-seq examples are illustrative; no biological pipeline or containers were run in this review.

# 1. Confirm setup works (downloads pipeline + tiny test data)
nextflow run nf-core/rnaseq -r 3.27.0 -profile test,docker --outdir test_results


…
자주 묻는 질문

nf-core란 무엇인가요?

Nextflow로 만든 바로 사용할 수 있는 워크플로를 만들고 공유하는 커뮤니티로, 흔한 데이터 분석 작업을 간단하게 해 줍니다.

Nextflow는 결과를 어떻게 신뢰할 수 있게 하나요?

사용한 소프트웨어와 데이터의 정확한 버전을 고정하고 모든 매개변수를 기록할 수 있어, 나중에도 분석을 정확히 같은 방식으로 반복할 수 있습니다.

제 컴퓨터와 슈퍼컴퓨터 모두에서 Nextflow를 쓸 수 있나요?

네, Nextflow는 개인용 컴퓨터부터 대형 컴퓨터 클러스터(HPC)나 클라우드까지 다양한 환경에서 실행되도록 설계되었습니다. 코드가 아니라 설정만 바꾸면 됩니다.

상세 정보

작성자의 원본 설명

Builds, runs, and debugs Nextflow DSL2 pipelines and nf-core workflows. Use for Nextflow, nf-core, .nf files, nextflow.config, processes/channels/operators, samplesheets, nf-test, modules/subworkflows, container and executor configuration, HPC/SLURM or cloud deployment, and failed or resumed pipeline runs.

repo: K-Dense-AI/scientific-agent-skills

인기도

GitHub 스타
51k
순위
#3506
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬