mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-29 10:59:55 +00:00
4491907f14
The prince admins changed the singularity version to 3.2.1 from 3.1.0, making the old version unavailable. To keep this config functional, I updated the version number for singularity.
27 lines
1.2 KiB
Text
27 lines
1.2 KiB
Text
singularityDir = "$SCRATCH/singularity_images_nextflow"
|
|
singularityModule = "singularity/3.2.1"
|
|
squashfsModule = "squashfs/4.3"
|
|
|
|
params {
|
|
config_profile_description = """
|
|
NYU prince cluster profile provided by nf-core/configs.
|
|
Run from your scratch directory, the output files may be large!
|
|
Please consider running the pipeline on a compute node the first time, as it will be pulling the docker image, which will be converted into a singularity image, which is heavy on the login node. Subsequent runs can be done on the login node, as the docker image will only be pulled and converted once. By default the images will be stored in $singularityDir
|
|
""".stripIndent()
|
|
config_profile_contact = 'Tobias Schraink (@tobsecret)'
|
|
config_profile_url = 'https://github.com/nf-core/configs/blob/master/docs/prince.md'
|
|
}
|
|
|
|
singularity {
|
|
enabled = true
|
|
cacheDir = singularityDir
|
|
}
|
|
|
|
process {
|
|
beforeScript = """
|
|
module load $singularityModule
|
|
module load $squashfsModule
|
|
"""
|
|
.stripIndent()
|
|
executor = 'slurm'
|
|
}
|