-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnextflow.config
More file actions
153 lines (128 loc) · 2.9 KB
/
nextflow.config
File metadata and controls
153 lines (128 loc) · 2.9 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
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
// Process-specific configs
process {
// Process-specific resource allocations
withName: 'FASTQ_SCAN' {
container = 'staphb/fastq-scan:1.0.1'
cpus = 2
memory = '2 GB'
}
withName: 'TRIMMOMATIC' {
container = 'staphb/trimmomatic:0.40'
cpus = 8
memory = '8 GB'
}
withName: 'BBDUK.*' {
container = 'staphb/bbtools:39.34'
cpus = 8
memory = '8 GB'
}
withName: 'FASTP_REPORT' {
container = 'staphb/fastp:0.24.0'
cpus = 8
memory = '8 GB'
}
withName: 'HRRT' {
container = 'ncbi/sra-human-scrubber:2.2.1'
cpus = 8
memory = '16 GB'
}
withName: 'KRAKEN2' {
container = 'staphb/kraken2:2.1.3'
cpus = 16
memory = '32 GB'
}
withName: 'KRAKENTOOLS' {
container = 'staphb/krakentools:d4a2fbe'
cpus = 2
memory = '4 GB'
}
withName: 'BWA.*' {
container = 'staphb/bwa:0.7.18'
cpus = 16
memory = '16 GB'
}
withName: 'SAMTOOLS.*' {
container = 'staphb/samtools:1.21'
cpus = 8
memory = '8 GB'
}
withName: 'IVAR.*' {
container = 'staphb/ivar:1.4.3'
cpus = 4
memory = '8 GB'
}
withName: 'SPADES' {
container = 'staphb/spades:4.0.0'
cpus = 16
memory = '32 GB'
}
withName: 'POLISH_CONTIGS' {
container = 'staphb/pilon:1.24'
cpus = 8
memory = '16 GB'
}
withName: 'MAKEBLASTDB' {
container = 'ncbi/blast:2.15.0'
cpus = 2
memory = '4 GB'
}
withName: 'BLAST' {
container = 'ncbi/blast:2.15.0'
cpus = 4
memory = '8 GB'
}
withName: 'CLASSIFY_CONTIGS' {
cpus = 2
memory = '4 GB'
}
withName: 'QUAST' {
container = 'staphb/quast:5.3.0'
cpus = 2
memory = '4 GB'
}
withName: 'SUMMARY_REPORT.*' {
cpus = 1
memory = '2 GB'
}
withName: 'MULTIQC' {
container = 'staphb/multiqc:1.25'
cpus = 1
memory = '2 GB'
}
}
// Profiles for different environments
profiles {
standard {
process.executor = 'local'
}
conda {
conda.enabled = true
conda.envPath = "${projectDir}/env"
process.conda = "${projectDir}/environment.yml"
}
docker {
docker {
enabled = true
runOptions = '-u $(id -u):$(id -g)'
autoMounts = true
}
process.container = null
}
singularity {
singularity {
enabled = true
autoMounts = true
}
process.container = null
}
apptainer {
apptainer {
enabled = true
autoMounts = true
}
process.container = null
}
}
// Error handling
process.errorStrategy = 'finish'
process.maxRetries = 0