Installation¶
NextITS runs on Linux. On Windows, use the Windows Subsystem for Linux (WSL). macOS works with Docker, but it is not tested regularly.
You only need to install two things yourself:
| Requirement | Version |
|---|---|
| Nextflow (needs Java 17–26) | 26.04.0 or later |
| A container engine: Docker, Podman, Singularity or Apptainer | any recent version |
Nextflow downloads the pipeline and its container image on the first run. Every bioinformatics tool the pipeline uses is inside that image.
Nextflow¶
Install Java with SDKMAN!, then Nextflow:
Check the installation:
If you already have Nextflow, update it with nextflow self-update.
For details, see the Nextflow installation guide.
Container engine¶
Pick one. Docker or Podman is usually the simplest choice on a workstation.
On a shared HPC cluster, Singularity or Apptainer is usually the only one available.
Select the engine at run time with -profile docker, -profile podman, -profile singularity
or -profile apptainer.
Follow the Docker Engine installation guide for your distribution.
Then let your user run Docker without sudo:
Podman is available in the package repositories of most distributions:
See the Apptainer or SingularityCE installation guides. On Ubuntu, Apptainer is available from a PPA:
Container image¶
All profiles use one image from Docker Hub, vmikk/nextits.
Nextflow pulls it on the first run. Singularity and Apptainer convert it to a .sif file and cache it.
On a cluster, put the cache on a shared file system so the image is converted only once:
export NXF_SINGULARITY_CACHEDIR="/shared/path/singularity_cache" # -profile singularity
export NXF_APPTAINER_CACHEDIR="/shared/path/apptainer_cache" # -profile apptainer
Pull the image manually (e.g., for offline nodes)
# Docker
docker pull vmikk/nextits:1.2.4
# Singularity / Apptainer
singularity pull nextits-1.2.4.sif docker://vmikk/nextits:1.2.4
To use a local .sif file, point Nextflow to it in a custom config (see Configuring runs):
Build the image yourself
Databases¶
Chimera database¶
Reference-based chimera detection (enabled by default) needs a database in VSEARCH's UDB format. We provide one built from EUKARYOME v1.9.3: full-length ITS sequences of 100–800 bp, extracted with ITSx.
From the command line:
wget -O Eukaryome_1.9.3_241222_FullITS_100-800.udb \
"https://owncloud.ut.ee/owncloud/public.php/dav/files/PkasGDNDimNssm3"
Pass the path to the file with --chimera_db. The default value is a bare file name,
Eukaryome_1.9.3_241222_FullITS_100-800.udb, which Nextflow looks for in the directory you launch the pipeline from.
Using an absolute path avoids surprises:
If you don't need reference-based chimera detection, use --chimera_methods denovo
(or none, which disables chimera detection completely).
Test the installation¶
Run Step-1 on a small built-in dataset (replace docker with your engine):
Results are written to NextITS_Test_Step1/. Other test profiles:
| Profile | What it tests |
|---|---|
test (or test1) |
Step-1, PacBio, multiplexed |
test2 |
Step-2 (UNOISE + VSEARCH) |
Pin a version
-r main runs the latest code. For reproducible analyses, pin a release tag instead,
(-r <version>), and report it in your methods.
List the available tags with git ls-remote --tags https://github.com/vmikk/NextITS.