Skip to content

Saga Users

Håkon Kaspersen edited this page Jan 30, 2025 · 3 revisions

Some databases and config files are available for Saga users under the nn9305k project.

The nextflow config file, specified with the -c option, can be found here:

/cluster/projects/nn9305k/nextflow/configs/assemblage.config

The kraken2 database can be found here:

/cluster/projects/nn9305k/db_flatfiles/minikraken2_v2_8GB_201904_UPDATE

Java

Before running the pipeline, make sure to load Java with:

module load Java/17.0.4

Profiles

I recommend to run the pipeline using the apptainer profile. Specify -profile apptainer in the run command to activate this.

To make sure that the images used by apptainer/singularity are stored in the correct place, you can add the following lines to the end of your .bashrc file (located in your home directory):

export NXF_SINGULARITY_CACHEDIR=${USERWORK}/images
export SINGULARITY_CACHEDIR=${USERWORK}/images
export NXF_APPTAINER_CACHEDIR=${USERWORK}/images
export APPTAINER_CACHEDIR=${USERWORK}/images

Due to updates with how Nextflow mounts home directories with Apptainer,Singularity,Docker etc, all users need to add the following line to their .bashrc file, depending on which profile you are running with:

export NXF_APPTAINER_HOME_MOUNT=true

If you run with another image handler, replace APPTAINER with f.ex. DOCKER.

Clone this wiki locally