1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-10 20:13:09 +00:00
nf-configs/conf/uppmax.config

54 lines
1.2 KiB
Text
Raw Normal View History

2019-01-04 15:33:54 +00:00
//Profile config names for nf-core/configs
params {
2019-01-07 13:25:06 +00:00
config_profile_description = 'Swedish UPPMAX cluster profile provided by nf-core/configs.'
2019-01-04 15:33:54 +00:00
config_profile_contact = 'Phil Ewels (@ewels)'
config_profile_url = 'https://www.uppmax.uu.se/'
}
singularity {
enabled = true
cacheDir = '/sw/data/uppnex/ToolBox/nf-core'
}
process {
executor = 'slurm'
clusterOptions = { "-A $params.project ${params.clusterOptions ?: ''}" }
}
params {
saveReference = true
2019-01-07 13:25:06 +00: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 11:45:30 +00:00
def hostname = "hostname".execute().text.trim()
if (hostname.contains("rackham*.uppmax.uu.se")) {
params.max_cpus = 20
}
2019-12-05 11:45:30 +00:00
if (hostname.contains("bianca.uppmax.uu.se")) {
params.max_memory = 109.GB
}
if (hostname.contains("irma*.uppmax.uu.se")) {
params.max_memory = 250.GB
}
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'
}
}