mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-11 04:23:10 +00:00
84f94d92c4
Added a way to use `--project` to provide project information to the scheduler. Inspired by the uppmax config
25 lines
709 B
Text
25 lines
709 B
Text
//Profile config names for nf-core/configs
|
|
params {
|
|
config_profile_description = 'Computerome 2.0 cluster profile provided by nf-core/configs.'
|
|
config_profile_contact = 'Marc Trunjer Kusk Nielsen (@marcmtk)'
|
|
config_profile_url = 'https://www.computerome.dk/'
|
|
project = null
|
|
}
|
|
|
|
singularity {
|
|
enabled = true
|
|
autoMounts = true
|
|
cacheDir = { "/home/projects/$params.project/scratch" }
|
|
}
|
|
|
|
process {
|
|
beforeScript = { "module load tools singularity/3.8.0; export _JAVA_OPTIONS=-Djava.io.tmpdir=/home/projects/$params.project/scratch" }
|
|
executor = 'pbs'
|
|
clusterOptions = { "-A $params.project -W group_list=$params.project" }
|
|
}
|
|
|
|
params {
|
|
max_memory = 1500.GB
|
|
max_cpus = 40
|
|
max_time = 168.h
|
|
}
|