1
0
Fork 0
mirror of https://github.com/MillironX/nf-configs.git synced 2024-11-22 00:26:03 +00:00

trying automatic configuration based on hostname

This commit is contained in:
MaxUlysse 2019-12-05 12:41:18 +01:00
parent a79dfdf223
commit 0211b33a55

View file

@ -18,13 +18,22 @@ process {
params {
saveReference = true
max_memory = 128.GB
max_memory = 125.GB
max_cpus = 16
max_time = 240.h
// illumina iGenomes reference file paths on UPPMAX
igenomes_base = '/sw/data/uppnex/igenomes/'
}
if (hostname.contains("rackham*.uppmax.uu.se")) {
params.max_cpus = 20
}
if (hostname.contains("irma*.uppmax.uu.se")) {
params.max_memory = 250.GB
}
profiles {
devel {
params {