@@ -46,17 +46,14 @@ nextflow_workflow {
46
46
test("Params: bismark | generate bismark index (bowtie2)") {
47
47
48
48
when {
49
- params {
50
- aligner = "bismark"
51
- }
52
49
workflow {
53
50
"""
54
51
input[0] = file('https://github.com/nf-core/test-datasets/raw/methylseq/reference/genome.fa.gz', checkIfExists: true)
55
52
input[1] = [] // fasta_index
56
53
input[2] = [] // bismark_index
57
54
input[3] = [] // bwameth_index
58
55
input[4] = "bismark" // aligner
59
- input[5] = false // run_picard_collecthsmetrics
56
+ input[5] = false // collecthsmetrics
60
57
"""
61
58
}
62
59
}
@@ -78,17 +75,14 @@ nextflow_workflow {
78
75
test("Params: bismark_hisat | download bismark index (hisat2)") {
79
76
80
77
when {
81
- params {
82
- aligner = "bismark_hisat"
83
- }
84
78
workflow {
85
79
"""
86
80
input[0] = file('https://github.com/nf-core/test-datasets/raw/methylseq/reference/genome.fa.gz', checkIfExists: true)
87
81
input[1] = [] // fasta_index
88
82
input[2] = file('https://github.com/nf-core/test-datasets/raw/methylseq/reference/Hisat2_Index.tar.gz', checkIfExists: true)
89
83
input[3] = [] // bwameth_index
90
84
input[4] = "bismark_hisat" // aligner
91
- input[5] = false // run_picard_collecthsmetrics
85
+ input[5] = false // collecthsmetrics
92
86
"""
93
87
}
94
88
}
@@ -110,17 +104,14 @@ nextflow_workflow {
110
104
test("Params: bismark_hisat | generate bismark index (hisat2)") {
111
105
112
106
when {
113
- params {
114
- aligner = "bismark_hisat"
115
- }
116
107
workflow {
117
108
"""
118
109
input[0] = file('https://github.com/nf-core/test-datasets/raw/methylseq/reference/genome.fa.gz', checkIfExists: true)
119
110
input[1] = [] // fasta_index
120
111
input[2] = file('https://github.com/nf-core/test-datasets/raw/methylseq/reference/Hisat2_Index.tar.gz', checkIfExists: true)
121
112
input[3] = [] // bwameth_index
122
113
input[4] = "bismark_hisat" // aligner
123
- input[5] = false // run_picard_collecthsmetrics
114
+ input[5] = false // collecthsmetrics
124
115
"""
125
116
}
126
117
}
@@ -139,21 +130,17 @@ nextflow_workflow {
139
130
}
140
131
}
141
132
142
- test("Params: bismark | download bismark index (bowtie2) | run_picard_collecthsmetrics ") {
133
+ test("Params: bismark | download bismark index (bowtie2) | collecthsmetrics ") {
143
134
144
135
when {
145
- params {
146
- aligner = "bismark"
147
- run_picard_collecthsmetrics = true
148
- }
149
136
workflow {
150
137
"""
151
138
input[0] = file('https://github.com/nf-core/test-datasets/raw/methylseq/reference/genome.fa.gz', checkIfExists: true)
152
139
input[1] = [] // fasta_index
153
140
input[2] = file('https://github.com/nf-core/test-datasets/raw/methylseq/reference/Bowtie2_Index.tar.gz', checkIfExists: true)
154
141
input[3] = [] // bwameth_index
155
142
input[4] = "bismark" // aligner
156
- input[5] = true // run_picard_collecthsmetrics
143
+ input[5] = true // collecthsmetrics
157
144
"""
158
145
}
159
146
}
@@ -175,17 +162,14 @@ nextflow_workflow {
175
162
test("Params: bwameth | download fasta index | download bwameth index") {
176
163
177
164
when {
178
- params {
179
- aligner = "bwameth"
180
- }
181
165
workflow {
182
166
"""
183
167
input[0] = file('https://github.com/nf-core/test-datasets/raw/methylseq/reference/genome.fa.gz', checkIfExists: true)
184
168
input[1] = file('https://github.com/nf-core/test-datasets/raw/methylseq/reference/genome.fa.fai', checkIfExists: true)
185
169
input[2] = [] // bismark index
186
170
input[3] = file('https://github.com/nf-core/test-datasets/raw/methylseq/reference/Bwameth_Index.tar.gz', checkIfExists: true)
187
171
input[4] = "bwameth" // aligner
188
- input[5] = false // run_picard_collecthsmetrics
172
+ input[5] = false // collecthsmetrics
189
173
"""
190
174
}
191
175
}
@@ -207,17 +191,14 @@ nextflow_workflow {
207
191
test("Params: bwameth | generate fasta index | download bwameth index") {
208
192
209
193
when {
210
- params {
211
- aligner = "bwameth"
212
- }
213
194
workflow {
214
195
"""
215
196
input[0] = file('https://github.com/nf-core/test-datasets/raw/methylseq/reference/genome.fa.gz', checkIfExists: true)
216
197
input[1] = [] //fasta index
217
198
input[2] = [] // bismark index
218
199
input[3] = file('https://github.com/nf-core/test-datasets/raw/methylseq/reference/Bwameth_Index.tar.gz', checkIfExists: true)
219
200
input[4] = "bwameth" // aligner
220
- input[5] = false // run_picard_collecthsmetrics
201
+ input[5] = false // collecthsmetrics
221
202
"""
222
203
}
223
204
}
@@ -239,17 +220,14 @@ nextflow_workflow {
239
220
test("Params: bwameth | generate fasta index | generate bwameth index") {
240
221
241
222
when {
242
- params {
243
- aligner = "bwameth"
244
- }
245
223
workflow {
246
224
"""
247
225
input[0] = file('https://github.com/nf-core/test-datasets/raw/methylseq/reference/genome.fa.gz', checkIfExists: true)
248
226
input[1] = [] // fasta_index
249
227
input[2] = [] // bismark index
250
228
input[3] = [] // bwameth index
251
229
input[4] = "bwameth" // aligner
252
- input[5] = false // run_picard_collecthsmetrics
230
+ input[5] = false // collecthsmetrics
253
231
"""
254
232
}
255
233
}
@@ -268,21 +246,17 @@ nextflow_workflow {
268
246
}
269
247
}
270
248
271
- test("Params: bwameth | generate fasta index | download bwameth index | run_picard_collecthsmetrics ") {
249
+ test("Params: bwameth | generate fasta index | download bwameth index | collecthsmetrics ") {
272
250
273
251
when {
274
- params {
275
- aligner = "bwameth"
276
- run_picard_collecthsmetrics = true
277
- }
278
252
workflow {
279
253
"""
280
254
input[0] = file('https://github.com/nf-core/test-datasets/raw/methylseq/reference/genome.fa.gz', checkIfExists: true)
281
255
input[1] = [] //fasta index
282
256
input[2] = [] // bismark index
283
257
input[3] = file('https://github.com/nf-core/test-datasets/raw/methylseq/reference/Bwameth_Index.tar.gz', checkIfExists: true)
284
258
input[4] = "bwameth" // aligner
285
- input[5] = true // run_picard_collecthsmetrics
259
+ input[5] = true // collecthsmetrics
286
260
"""
287
261
}
288
262
}
0 commit comments