mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
22 lines
443 B
Text
22 lines
443 B
Text
params {
|
|
outdir = "output/"
|
|
publish_dir_mode = "copy"
|
|
enable_conda = false
|
|
singularity_pull_docker_container = false
|
|
}
|
|
|
|
process {
|
|
cpus = 2
|
|
memory = 6.GB
|
|
time = 48.h
|
|
}
|
|
|
|
if ("$PROFILE" == "singularity") {
|
|
singularity.enabled = true
|
|
singularity.autoMounts = true
|
|
} else if ("$PROFILE" == "conda") {
|
|
params.enable_conda = true
|
|
} else {
|
|
docker.enabled = true
|
|
docker.runOptions = '-u \$(id -u):\$(id -g)'
|
|
}
|