Skip to content

Commit

Permalink
Fix output of bwa index when provided as not compressed input
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseEspinosa committed Jul 25, 2024
1 parent 50caeb9 commit cd28cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subworkflows/local/prepare_genome.nf
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ workflow PREPARE_GENOME {
ch_bwa_index = UNTAR_BWA_INDEX ( [ [:], bwa_index ] ).untar
ch_versions = ch_versions.mix(UNTAR_BWA_INDEX.out.versions)
} else {
ch_bwa_index = file(bwa_index)
ch_bwa_index = [ [:], file(bwa_index) ]
}
} else {
ch_bwa_index = BWA_INDEX ( ch_fasta.map { [ [:], it ] } ).index
Expand Down

0 comments on commit cd28cd0

Please sign in to comment.