-
Notifications
You must be signed in to change notification settings - Fork 2
/
process.config
45 lines (39 loc) · 1.29 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
process {
errorStrategy = 'terminate'
// Deinterleave
withName: deinterleave {
container = 'metashot/bbtools:38.79-2'
cpus = check_max(2, params.max_cpus) // reformat will generally use over 2 CPU cores on average since the I/O is in separate threads
memory = check_max(4.GB, params.max_memory)
time = params.max_time
}
// Reads stats
withName: raw_reads_stats {
container = 'metashot/bbtools:38.79-2'
cpus = check_max(4, params.max_cpus)
memory = check_max(4.GB, params.max_memory)
time = params.max_time
}
// Kraken2
withName: kraken2 {
container = 'metashot/kraken2:2.1.2-1'
cpus = check_max(4, params.max_cpus)
memory = params.max_memory
time = params.max_time
}
// Bracken
withName: bracken {
container = 'metashot/kraken2:2.1.2-1'
cpus = 2
memory = check_max(8.GB, params.max_memory)
time = params.max_time
}
// Utils
withName: 'combine_kraken2_reports|combine_kraken2_mpa|combine_bracken|combine_bracken_reports|combine_bracken_mpa' {
container = 'metashot/kraken2:2.1.2-1'
cpus = 2
memory = check_max(8.GB, params.max_memory)
time = params.max_time
errorStrategy = 'ignore'
}
}