Skip to content

Commit 358c6ff

Browse files
committed
fix dbsnp usage
1 parent 5be1981 commit 358c6ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

workflows/rnavar/main.nf

+2-2
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ workflow RNAVAR {
256256
ch_dbsnp_for_haplotypecaller = [[id:'null'], []]
257257
ch_dbsnp_for_haplotypecaller_tbi = [[id:'null'], []]
258258
} else {
259-
ch_dbsnp_for_haplotypecaller = ch_dbsnp
260-
ch_dbsnp_for_haplotypecaller_tbi = ch_dbsnp_tbi
259+
ch_dbsnp_for_haplotypecaller = ch_dbsnp.map{ vcf -> [[id:'dbsnp'], vcf] }
260+
ch_dbsnp_for_haplotypecaller_tbi = ch_dbsnp_tbi.map{ tbi -> [[id:'dbsnp'], tbi] }
261261
}
262262

263263
ch_haplotypecaller_vcf = Channel.empty()

0 commit comments

Comments
 (0)