mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 04:33:10 +00:00
17 lines
428 B
Text
17 lines
428 B
Text
params {
|
|
outdir = "output/"
|
|
publish_dir_mode = "copy"
|
|
enable_conda = false
|
|
singularity_pull_docker_container = true
|
|
}
|
|
|
|
if ("$PROFILE" == "singularity") {
|
|
singularity.enabled = true
|
|
singularity.autoMounts = true
|
|
singularity.runOptions = '-B /tmp/'
|
|
} else if ("$PROFILE" == "conda") {
|
|
params.enable_conda = true
|
|
} else {
|
|
docker.enabled = true
|
|
docker.runOptions = '-u \$(id -u):\$(id -g)'
|
|
}
|