mirror of
https://github.com/MillironX/nf-configs.git
synced 2024-11-22 08:29:54 +00:00
trying automatic configuration based on hostname
This commit is contained in:
parent
a79dfdf223
commit
0211b33a55
1 changed files with 10 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue