@@ -176,7 +176,7 @@ workflow DATASHEET_TO_CHANNEL {
176176 file : meta. vcf_dbsnp_vcf
177177
178178 // If we already have the vcf_tbi, then we don't need to index the vcf
179- def meta_extra = [run_tabix : ! meta. vcf_dbsnp_vcf_tbi && meta . vcf_dbsnp_vcf . endsWith( ' .vcf.gz ' ) ]
179+ def meta_extra = [run_tabix : ! meta. vcf_dbsnp_vcf_tbi]
180180 meta_extra + = [type : ' dbsnp' , source_vcf : meta. vcf_dbsnp_vcf_source]
181181 return [reduceMeta(meta) + meta_extra, files(meta. vcf_dbsnp_vcf, checkIfExists : true )]
182182 other : true
@@ -187,7 +187,7 @@ workflow DATASHEET_TO_CHANNEL {
187187 germline_resource_branch = datasheet. branch { meta, _readme ->
188188 file : meta. vcf_germline_resource_vcf
189189 // If we already have the vcf_tbi, then we don't need to index the vcf
190- def meta_extra = [run_tabix : ! meta. vcf_germline_resource_vcf_tbi && meta . vcf_germline_resource_vcf . endsWith( ' .vcf.gz ' ) ]
190+ def meta_extra = [run_tabix : ! meta. vcf_germline_resource_vcf_tbi]
191191 meta_extra + = [type : ' germline_resource' , source_vcf : meta. vcf_germline_resource_vcf_source]
192192 return [reduceMeta(meta) + meta_extra, file(meta. vcf_germline_resource_vcf, checkIfExists : true )]
193193 other : true
@@ -198,7 +198,7 @@ workflow DATASHEET_TO_CHANNEL {
198198 known_indels_branch = datasheet. branch { meta, _readme ->
199199 file : meta. vcf_known_indels_vcf
200200 // If we already have the vcf_tbi, then we don't need to index the vcf
201- def meta_extra = [run_tabix : ! meta. vcf_known_indels_vcf_tbi && meta . vcf_known_indels_vcf . endsWith( ' .vcf.gz ' ) ]
201+ def meta_extra = [run_tabix : ! meta. vcf_known_indels_vcf_tbi]
202202 meta_extra + = [type : ' known_indels' , source_vcf : meta. vcf_known_indels_vcf_source]
203203 return [reduceMeta(meta) + meta_extra, file(meta. vcf_known_indels_vcf, checkIfExists : true )]
204204 other : true
@@ -209,7 +209,7 @@ workflow DATASHEET_TO_CHANNEL {
209209 known_snps_branch = datasheet. branch { meta, _readme ->
210210 file : meta. vcf_known_snps_vcf
211211 // If we already have the vcf_tbi, then we don't need to index the vcf
212- def meta_extra = [run_tabix : ! meta. vcf_known_snps_vcf_tbi && meta . vcf_known_snps_vcf . endsWith( ' .vcf.gz ' ) ]
212+ def meta_extra = [run_tabix : ! meta. vcf_known_snps_vcf_tbi]
213213 meta_extra + = [type : ' known_snps' , source_vcf : meta. vcf_known_snps_vcf_source]
214214 return [reduceMeta(meta) + meta_extra, file(meta. vcf_known_snps_vcf, checkIfExists : true )]
215215 other : true
@@ -220,7 +220,7 @@ workflow DATASHEET_TO_CHANNEL {
220220 pon_branch = datasheet. branch { meta, _readme ->
221221 file : meta. vcf_pon_vcf
222222 // If we already have the vcf_tbi, then we don't need to index the vcf
223- def meta_extra = [run_tabix : ! meta. vcf_pon_vcf_tbi && meta . vcf_pon_vcf . endsWith( ' .vcf.gz ' ) ]
223+ def meta_extra = [run_tabix : ! meta. vcf_pon_vcf_tbi]
224224 meta_extra + = [type : ' pon' , source_vcf : meta. vcf_pon_vcf_source]
225225 return [reduceMeta(meta) + meta_extra, file(meta. vcf_pon_vcf, checkIfExists : true )]
226226 other : true
0 commit comments