Site Tools


mrowisko:snote001

back to : 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 (more). To install nextflow with DSL1 support see install Nextflow with DSL1.

install nextflow

Start 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.10.0 build 10289
  Created: 22-10-2025 16:26 UTC (18:26 CEST)
  System: Linux 6.12.48+deb13-amd64
  Runtime: Groovy 4.0.28 on OpenJDK 64-Bit Server VM 21.0.8+9-Debian-1
  Encoding: UTF-8 (UTF-8)

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.10.0

Launching `https://github.com/nextflow-io/hello` [berserk_marconi] DSL2 - revision: 2ce0b0e294 [master]

executor >  local (4)
[4b/f3afc1] sayHello (4) [100%] 4 of 4 _
Ciao world!

Hello world!

Bonjour world!

Hola world!

tmatejuk@node090:~$ exit
tmatejuk@jumphost-17:~$
mrowisko/snote001.txt · Last modified: 2025/10/24 10:16 by tmatejuk