-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnextflow.config
37 lines (32 loc) · 1.09 KB
/
nextflow.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
// nextflow.config
docker.enabled = true
profiles {
test { includeConfig 'conf/test.config'}
sage { includeConfig 'conf/sage.config'}
tower {
process {
cpus = {1 * task.attempt}
memory = {2.GB * task.attempt}
maxRetries = 3
errorStrategy = {task.attempt <= 2 ? 'retry' : 'ignore' }
withLabel: process_low {
cpus = {1 * task.attempt}
memory = {2.GB * task.attempt}
maxRetries = 3
errorStrategy = {task.attempt <= 2 ? 'retry' : 'ignore' }
}
withLabel: process_medium {
cpus = {4 * task.attempt}
memory = {8.GB * task.attempt}
maxRetries = 3
errorStrategy = {task.attempt <= 3 ? 'retry' : 'ignore' }
}
withLabel: process_high {
cpus = {8 * task.attempt}
memory = {16.GB * task.attempt}
maxRetries = 3
errorStrategy = {task.attempt <= 3 ? 'retry' : 'ignore' }
}
}
}
}