Skip to content

Commit cd28cd0

Browse files
committed
Fix output of bwa index when provided as not compressed input
1 parent 50caeb9 commit cd28cd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subworkflows/local/prepare_genome.nf

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ workflow PREPARE_GENOME {
146146
ch_bwa_index = UNTAR_BWA_INDEX ( [ [:], bwa_index ] ).untar
147147
ch_versions = ch_versions.mix(UNTAR_BWA_INDEX.out.versions)
148148
} else {
149-
ch_bwa_index = file(bwa_index)
149+
ch_bwa_index = [ [:], file(bwa_index) ]
150150
}
151151
} else {
152152
ch_bwa_index = BWA_INDEX ( ch_fasta.map { [ [:], it ] } ).index

0 commit comments

Comments
 (0)