1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-11 04:23:10 +00:00
nf-configs/conf/computerome.config

30 lines
1 KiB
Text
Raw Normal View History

2021-08-31 11:58:39 +00:00
//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
2021-09-13 12:26:10 +00:00
schema_ignore_params = "project,genomes,cache_dir,modules"
2021-09-13 06:36:30 +00:00
2021-09-13 11:28:33 +00:00
//Thin nodes with 192GB and Fat nodes with ~1500GB. Torque should be allowed to handle this
max_memory = 1500.GB
2021-09-13 06:36:30 +00:00
max_cpus = 40
2021-09-13 11:28:33 +00:00
//There is no max walltime on the cluster, but a week seems sensible if not directly specified
max_time = 168.h
2021-08-31 11:58:39 +00:00
}
2021-09-13 12:26:10 +00:00
params.cache_dir = { "/home/projects/$params.project/scratch" }
2021-08-31 11:58:39 +00:00
singularity {
enabled = true
autoMounts = true
2021-09-13 12:22:22 +00:00
cacheDir = params.cache_dir
2021-08-31 11:58:39 +00:00
}
process {
2021-09-13 12:22:22 +00:00
beforeScript = { "module load tools singularity/3.8.0; export _JAVA_OPTIONS=-Djava.io.tmpdir=$params.cache_dir; export NXF_SINGULARITY_CACHEDIR=$params.cache_dir" }
2021-08-31 11:58:39 +00:00
executor = 'pbs'
2021-09-13 11:20:57 +00:00
queueSize = 2000
clusterOptions = { "-A $params.project -W group_list=$params.project" }
2021-09-13 11:28:33 +00:00
}