2020-08-07 09:06:45 +00:00
|
|
|
params {
|
2020-08-07 14:05:25 +00:00
|
|
|
outdir = "output/"
|
|
|
|
publish_dir_mode = "copy"
|
2020-10-15 09:47:15 +00:00
|
|
|
enable_conda = false
|
2021-02-04 01:18:52 +00:00
|
|
|
singularity_pull_docker_container = false
|
2020-08-07 09:06:45 +00:00
|
|
|
}
|
|
|
|
|
2021-02-16 13:18:29 +00:00
|
|
|
process {
|
|
|
|
cpus = 2
|
|
|
|
memory = 6.GB
|
|
|
|
time = 48.h
|
|
|
|
}
|
|
|
|
|
2021-02-02 23:32:21 +00:00
|
|
|
if ("$PROFILE" == "singularity") {
|
2021-02-02 17:55:41 +00:00
|
|
|
singularity.enabled = true
|
|
|
|
singularity.autoMounts = true
|
|
|
|
} else if ("$PROFILE" == "conda") {
|
|
|
|
params.enable_conda = true
|
2021-02-02 23:32:21 +00:00
|
|
|
} else {
|
|
|
|
docker.enabled = true
|
|
|
|
docker.runOptions = '-u \$(id -u):\$(id -g)'
|
2020-08-07 09:06:45 +00:00
|
|
|
}
|