-
Notifications
You must be signed in to change notification settings - Fork 0
/
process.config
40 lines (35 loc) · 1.17 KB
/
process.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
process {
errorStrategy = 'terminate'
withName: prokka {
container = 'metashot/prokka:1.14.5-3'
cpus = check_max(4, params.max_cpus)
memory = { check_max(2.GB * (2**(task.attempt-1)), params.max_memory) }
time = params.max_time
errorStrategy = 'retry'
maxRetries = 3
}
withName: roary {
container = 'metashot/roary:3.12.0-2'
cpus = { check_max(8, params.max_cpus) }
memory = { check_max(8.GB * (2**(task.attempt-1)), params.max_memory) }
time = params.max_time
errorStrategy = 'retry'
maxRetries = 3
}
withName: raxml {
container = 'metashot/gubbins:2.4.1-1'
cpus = { check_max(8, params.max_cpus) }
memory = { check_max(8.GB * (2**(task.attempt-1)), params.max_memory) }
time = params.max_time
errorStrategy = 'retry'
maxRetries = 3
}
withName: roary_plots {
container = 'metashot/roary:3.12.0-2'
cpus = { check_max(8, params.max_cpus) }
memory = { check_max(4.GB * task.attempt, params.max_memory) }
time = params.max_time
errorStrategy = 'retry'
maxRetries = 3
}
}