back to : [[mrowisko:anthill_desc_v04|Mrowisko / Anthill ver 0.4]]
====== nextflow ======
Nextflow is a workflow system for creating scalable, portable, and reproducible workflows.
Documentation page : https://www.nextflow.io/docs/latest/
Training / workshop : https://training.nextflow.io/2.1.3/hello_nextflow/01_hello_world/
Nextflow in version 22.12 removed DSL1 ([[https://www.nextflow.io/docs/edge/migrations/dsl1.html|more]]). To install nextflow with DSL1 support see [[mrowisko:snote003|install Nextflow with DSL1]].
===== install nextflow =====
Start [[:howtouseslurm_000|interactive session]]:
tmatejuk@jumphost-17:~$ srun -c1 --mem=1G --pty bash -l
Use bellow commands to install nextflow
cd /tmp
curl -s https://get.nextflow.io | bash
chmod +x nextflow
mkdir -p $HOME/.local/bin/
mv nextflow $HOME/.local/bin/
Consider adding ''nexflow'' location to your shell. In Bash, add ''export PATH="$PATH:$HOME/.local/bin"'' to ''~/.bashrc''.
===== after install tests =====
Confirm nextflow sucessful instalation.
Check ''nextflow'' version
tmatejuk@jumphost-17:~$ srun -c1 --mem=1G --pty bash -l
tmatejuk@node090:~$ nextflow info
Version: 25.04.8 build 5956
Created: 06-10-2025 21:19 UTC (23:19 CEST)
System: Linux 6.1.0-32-amd64
Runtime: Groovy 4.0.26 on OpenJDK 64-Bit Server VM 17.0.16+8-Debian-1deb12u1
Encoding: UTF-8 (ANSI_X3.4-1968)
tmatejuk@node090:~$ exit
Run nextflow
tmatejuk@jumphost-17:~$ srun -c1 --mem=1G --pty bash -l
tmatejuk@node098:~$ nextflow run hello
N E X T F L O W ~ version 25.04.8
Pulling nextflow-io/hello ...
downloaded from https://github.com/nextflow-io/hello.git
Launching `https://github.com/nextflow-io/hello` [desperate_venter] DSL2 - revision: 2ce0b0e294 [master]
executor > local (4)
[b5/f56e01] sayHello (3) | 4 of 4 ✔
Bonjour world!
Ciao world!
Hola world!
Hello world!
tmatejuk@node090:~$ exit
tmatejuk@jumphost-17:~$