forked from metashot/prok-annotate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprocess.config
78 lines (66 loc) · 2.32 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
process {
errorStrategy = 'terminate'
withName: prokka {
container = 'metashot/prokka:1.14.5-3'
cpus = check_max(6, params.max_cpus)
memory = { check_max(8.GB * (2**(task.attempt-1)), params.max_memory) }
time = params.max_time
errorStrategy = 'retry'
maxRetries = 3
}
withName: eggnog_db_download {
container = 'metashot/eggnog-mapper:2.1.4-2'
cpus = check_max(2, params.max_cpus)
memory = check_max(4.GB, params.max_memory)
time = params.max_time
}
withName: 'merge_anvio|merge_eggnog_mapper|merge_kofamscan' {
container = 'metashot/utils:1.1.0-2'
cpus = check_max(2, params.max_cpus)
memory = { check_max(8.GB * (2**(task.attempt-1)), params.max_memory) }
time = params.max_time
errorStrategy = 'retry'
maxRetries = 3
}
withName: eggnog_mapper {
container = 'metashot/eggnog-mapper:2.1.4-2'
cpus = check_max(6, params.max_cpus)
if( params.eggnog_db_mem ) {
memory = check_max(48.GB, params.max_memory)
}
else {
memory = { check_max(8.GB * (2**(task.attempt-1)), params.max_memory) }
errorStrategy = 'retry'
maxRetries = 3
}
time = params.max_time
}
withName: kofamscan_db_download {
container = 'metashot/utils:1.1.0-2'
cpus = check_max(2, params.max_cpus)
memory = check_max(4.GB, params.max_memory)
time = params.max_time
}
withName: kofamscan {
container = 'metashot/kofamscan:1.3.0-1'
cpus = { check_max(6, params.max_cpus) }
memory = { check_max(4.GB * (2**(task.attempt-1)), params.max_memory) }
time = params.max_time
errorStrategy = 'retry'
maxRetries = 3
}
withName: anvio_kofam_db_download {
container = 'metashot/anvio:7-2'
cpus = check_max(2, params.max_cpus)
memory = check_max(4.GB, params.max_memory)
time = params.max_time
}
withName: anvio_kofam {
container = 'metashot/anvio:7-2'
cpus = { check_max(6, params.max_cpus) }
memory = { check_max(4.GB * (2**(task.attempt-1)), params.max_memory) }
time = params.max_time
errorStrategy = 'retry'
maxRetries = 3
}
}