System dependencies reference
raft install-dependencies handles the tools RAFT needs on most machines.
This page covers what to do when it cannot: installing a container runtime by
hand, giving image pulls enough scratch space, and bypassing the dependency
check outright.
Installing Apptainer or Singularity manually
If your current conda-based Apptainer install is not working, prefer your operating system package manager instead.
Use one of the following common approaches:
Ubuntu or Debian:
$ sudo apt update $ sudo apt install -y apptainer
Fedora:
$ sudo dnf install -y apptainer
RHEL, Rocky, AlmaLinux, or CentOS:
$ sudo yum install -y epel-release $ sudo yum install -y apptainer
openSUSE:
$ sudo zypper install apptainer
Arch Linux:
$ sudo pacman -S apptainer
If your distribution does not package apptainer directly, install
singularity if that is the name provided by the distribution package
manager.
After installation, confirm that the runtime is visible on $PATH:
$ apptainer --version
or:
$ singularity --version
Scratch space for container image pulls
Pulling a container image converts it to SIF in the container runtime’s
scratch directory, which needs several GB free. On VMs /tmp is often a
small tmpfs, and the conversion fails partway with “no space left on device”.
RAFT points APPTAINER_TMPDIR and SINGULARITY_TMPDIR at a directory with
room, preferring your RAFT imgs directory over /tmp, and warns when no
candidate has enough space. Setting either variable yourself takes precedence.
Bypassing the dependency check
Before any command that runs a workflow or downloads workflow assets
(raft run, raft run-demo, raft run-workflow, and
raft load-dataset) RAFT checks that Singularity or Apptainer, wget,
Nextflow, and a supported Java are present, and stops if any are missing.
--bypass-dependencies downgrades that check from an error to a warning. It
does not supply the missing tools, so anything that needs one still fails, only
later and less clearly:
Missing tool |
What fails after bypassing |
|---|---|
Singularity/Apptainer |
Every containerized process. Nextflow reports task failures rather than a missing runtime. |
|
Reference and FASTQ downloads during setup. |
Nextflow |
Any workflow execution. Setup-only commands still work. |
Java |
Nextflow itself, since Nextflow requires Java 17 or later. |
The flag is intended for cases where RAFT’s detection is wrong, for example a
site-provided module system that puts a tool on PATH only inside a job, or
for inspecting project structure with --setup-only on a machine that will
never run the workflow. It is not a way to run a workflow without a container
runtime.