From cd28cd0c92c32da5541e324eab8df8229f1a2e97 Mon Sep 17 00:00:00 2001 From: JoseEspinosa Date: Thu, 25 Jul 2024 10:10:54 +0200 Subject: [PATCH] Fix output of bwa index when provided as not compressed input --- subworkflows/local/prepare_genome.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subworkflows/local/prepare_genome.nf b/subworkflows/local/prepare_genome.nf index b7878aaf..64350b6a 100644 --- a/subworkflows/local/prepare_genome.nf +++ b/subworkflows/local/prepare_genome.nf @@ -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