-
Notifications
You must be signed in to change notification settings - Fork 277
/
uppmax.config
52 lines (43 loc) · 1.11 KB
/
uppmax.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
//Profile config names for nf-core/configs
params {
config_profile_description = 'Swedish UPPMAX cluster profile provided by nf-core/configs.'
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 {
saveReference = true
max_memory = 125.GB
max_cpus = 16
max_time = 240.h
// illumina iGenomes reference file paths on UPPMAX
igenomes_base = '/sw/data/uppnex/igenomes/'
}
def hostname = "hostname".execute().text.trim()
if (hostname ==~ "b.*" || hostname ==~ "s.*") {
params.max_memory = 109.GB
}
if (hostname ==~ "i.*") {
params.max_memory = 250.GB
}
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'
}
}