forked from adamjtaylor/htan-artist
-
Notifications
You must be signed in to change notification settings - Fork 1
/
nextflow.config
34 lines (29 loc) · 1009 Bytes
/
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
// nextflow.config
process.container = 'ghcr.io/sage-bionetworks-workflows/nf-artist:latest'
docker.enabled = true
profiles {
test { includeConfig 'conf/test.config'}
sage { includeConfig 'conf/sage.config'}
tower {
process {
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' }
}
}
}
}