1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-12-26 15:08:18 -05:00
nf-configs/conf/uppmax.config

53 lines
1.1 KiB
Text
Raw Normal View History

2019-01-04 10:33:54 -05:00
//Profile config names for nf-core/configs
params {
2019-01-07 08:25:06 -05:00
config_profile_description = 'Swedish UPPMAX cluster profile provided by nf-core/configs.'
2019-01-04 10:33:54 -05:00
config_profile_contact = 'Phil Ewels (@ewels)'
config_profile_url = 'https://www.uppmax.uu.se/'
}
singularity {
enabled = true
}
process {
executor = 'slurm'
clusterOptions = { "-A $params.project ${params.clusterOptions ?: ''}" }
}
params {
2020-09-28 07:59:42 -04:00
save_reference = true
2019-01-07 08:25:06 -05:00
max_memory = 125.GB
max_cpus = 16
max_time = 240.h
// illumina iGenomes reference file paths on UPPMAX
igenomes_base = '/sw/data/uppnex/igenomes/'
}
2019-12-05 06:45:30 -05:00
def hostname = "hostname".execute().text.trim()
2020-03-30 10:40:11 -04:00
if (hostname ==~ "b.*" || hostname ==~ "s.*") {
2019-12-05 06:45:30 -05:00
params.max_memory = 109.GB
}
2019-12-05 09:07:59 -05:00
if (hostname ==~ "i.*") {
params.max_memory = 250.GB
}
2019-12-05 09:18:01 -05:00
if (hostname ==~ "r.*") {
params.max_cpus = 20
}
profiles {
devel {
params {
config_profile_description = 'Testing & development profile for UPPMAX, provided by nf-core/configs.'
// Max resources to be requested by a devel job
max_memory = 120.GB
max_time = 1.h
}
executor.queueSize = 1
process.queue = 'devel'
}
2019-12-06 04:31:56 -05:00
}