Skip to content

Commit

Permalink
Merge pull request #42 from nf-core/fix-conditional-bwamem2-index-cre…
Browse files Browse the repository at this point in the history
…ation

Fix conditional creation of bwa-mem2 index
  • Loading branch information
scwatts authored May 21, 2024
2 parents d5d64c4 + 437e72e commit a5b9846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subworkflows/local/prepare_reference/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ workflow PREPARE_REFERENCE {
// Set bwa-mem2 index, unpack or create if required
//
ch_genome_bwamem2_index = Channel.empty()
if (run_config.has_dna && run_config.stages.alignment) {
if (run_config.has_dna_fastq && run_config.stages.alignment) {
if (!params.ref_data_genome_bwamem2_index) {

BWAMEM2_INDEX(
Expand Down

0 comments on commit a5b9846

Please sign in to comment.