1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-10 20:13:09 +00:00

add export to NXF_SINGULARITY_CACHEDIR

This commit is contained in:
qlr900 2022-07-06 13:35:10 +02:00
parent 6939c6f003
commit 4f98876429

View file

@ -1,4 +1,4 @@
# nf-core/configs: PROFILE Configuration # nf-core/configs: ku_sund_dangpu configuration
All nf-core pipelines have been successfully configured for use on the DANGPU at the All nf-core pipelines have been successfully configured for use on the DANGPU at the
Novo Nordisk Foundation Center for Stem Cell Medicine (reNEW) and the Novo Nordisk Foundation Center for Protein Research (CPR) at the University of Copenhagen. Novo Nordisk Foundation Center for Stem Cell Medicine (reNEW) and the Novo Nordisk Foundation Center for Protein Research (CPR) at the University of Copenhagen.
@ -13,11 +13,12 @@ Before running the pipeline you will need to load Nextflow and Singularity using
## Load Nextflow and Singularity environment modules ## Load Nextflow and Singularity environment modules
module purge module purge
module load openjdk/11.0.0 nextflow/22.04.3 singularity/3.8.0 module load openjdk/11.0.0 nextflow/22.04.3 singularity/3.8.0
# alternative module load jdk/1.8.0_291 nextflow/21.04.1.5556 singularity/3.8.0 # alternative
# module load jdk/1.8.0_291 nextflow/21.04.1.5556 singularity/3.8.0
export NXF_OPTS='-Xms1g -Xmx4g' export NXF_OPTS='-Xms1g -Xmx4g'
export NXF_HOME=/projects/dan1/people/${USER}/cache/nxf-home export NXF_HOME=/projects/dan1/people/${USER}/cache/nxf-home
export NXF_TEMP=/scratch/tmp export NXF_TEMP=/scratch/tmp
NXF_SINGULARITY_CACHEDIR=/projects/dan1/people/${USER}/cache/singularity-images export NXF_SINGULARITY_CACHEDIR=/projects/dan1/people/${USER}/cache/singularity-images
``` ```
create nextflow directories if they dont exist: create nextflow directories if they dont exist: