-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprocess.config
More file actions
37 lines (32 loc) · 1.05 KB
/
process.config
File metadata and controls
37 lines (32 loc) · 1.05 KB
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
process {
errorStrategy = 'terminate'
scratch = params.scratch
withName: mash_paste {
container = 'metashot/drep:2.6.2-2'
cpus = check_max(2, params.max_cpus)
memory = { check_max(2.GB, params.max_memory) }
time = params.max_time
}
withName: mash_sketch {
container = 'metashot/drep:2.6.2-2'
cpus = check_max(4, params.max_cpus)
memory = { check_max(4.GB * (2**(task.attempt-1)), params.max_memory) }
time = params.max_time
errorStrategy = 'retry'
maxRetries = 3
}
withName: mash_screen {
container = 'metashot/drep:2.6.2-2'
cpus = check_max(4, params.max_cpus)
memory = { check_max(4.GB * (2**(task.attempt-1)), params.max_memory) }
time = params.max_time
errorStrategy = 'retry'
maxRetries = 3
}
withName: mult_table {
container = 'metashot/utils:1.1.0-2'
cpus = check_max(2, params.max_cpus)
memory = { check_max(8.GB, params.max_memory) }
time = params.max_time
}
}