@@ -18,51 +18,40 @@ process {
1818
1919 // software dependencies moved to conda.config
2020
21- withName:FASTP {
22- cpus = 4
23- }
24- withName: HISAT_GENOTYPE {
25- time = { check_max( 12.h * task.attempt, 'time' ) }
26- memory = { check_max( 64.GB * task.attempt, 'memory' ) }
27- cpus = params.max_cpus/2
28- }
29-
30- withName: 'DEDUP|BAM2FASTQ|BEDCOV' {
31- cpus = 8
32- memory = { check_max( 8.GB * task.attempt, 'memory' ) }
33-
21+ withLabel: short_serial {
22+ time = { check_max( 4.h * task.attempt, 'time' ) }
23+ memory = { check_max( 8.GB * task.attempt, 'memory' ) }
3424 }
35- withName: 'XHLA' {
36- memory = { check_max( 32.GB * task.attempt, 'memory' ) }
25+ withLabel: medium_serial {
26+ time = { check_max( 8.h * task.attempt, 'time' ) }
27+ memory = { check_max( 8.GB * task.attempt, 'memory' ) }
3728 }
38-
39- withName: 'HLASCAN' {
40- cpus = 4
41- memory = { check_max( 32.GB * task.attempt, 'memory' ) }
29+ withLabel: long_serial {
30+ time = { check_max( 12.h * task.attempt, 'time' ) }
31+ memory = { check_max( 16.GB * task.attempt, 'memory' ) }
4232 }
43-
44- withName: 'BWA' {
45- time = { check_max( 12.h * task.attempt, 'time' ) }
46- memory = { check_max( 64.GB * task.attempt, 'memory' ) }
47- cpus = { check_max( 12 * task.attempt, 'cpus' ) }
33+ withLabel: short_parallel {
34+ time = { check_max( 4.h * task.attempt, 'time' ) }
35+ memory = { check_max( 16.GB * task.attempt, 'memory' ) }
36+ cpus = { check_max( 4 * task.attempt, 'cpus' ) }
4837 }
49-
50- withLabel: 'optitype' {
51- container = "docker://quay.io/biocontainers/optitype:1.3.5--hdfd78af_1"
38+ withLabel: medium_parallel {
39+ time = { check_max( 8.h * task.attempt, 'time' ) }
40+ memory = { check_max( 24.GB * task.attempt, 'memory' ) }
41+ cpus = { check_max( 8 * task.attempt, 'cpus' ) }
5242 }
53-
54- withName: 'OPTITYPE_FILTER' {
55- time = { check_max( 12.h * task.attempt, 'time' ) }
56- memory = { check_max( 64.GB * task.attempt, 'memory' ) }
57- cpus = { check_max( 10 * task.attempt, 'cpus' ) }
43+ withLabel: long_parallel {
44+ time = { check_max( 24.h * task.attempt, 'time' ) }
45+ memory = { check_max( 24.GB * task.attempt, 'memory' ) }
46+ cpus = { check_max( 8 * task.attempt, 'cpus' ) }
5847 }
59- withName: 'OPTITYPE_RUN' {
60- time = { check_max( 4 .h * task.attempt, 'time' ) }
61- memory = { check_max( 32 .GB * task.attempt, 'memory' ) }
62- cpus = 12
48+ withLabel: extra_long_parallel {
49+ time = { check_max( 96 .h * task.attempt, 'time' ) }
50+ memory = { check_max( 24 .GB * task.attempt, 'memory' ) }
51+ cpus = { check_max( 8 * task.attempt, ' cpus' ) }
6352 }
6453
65-
54+
6655}
6756
6857
0 commit comments