From 828c52d215ec4e500d6aa54e5db20b64992e551f Mon Sep 17 00:00:00 2001 From: Joon-Klaps Date: Mon, 26 Aug 2024 15:30:40 +0000 Subject: [PATCH] fix bowtie2_index as file --- subworkflows/local/prepare_genome_illumina.nf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subworkflows/local/prepare_genome_illumina.nf b/subworkflows/local/prepare_genome_illumina.nf index e8447018..efc79b39 100644 --- a/subworkflows/local/prepare_genome_illumina.nf +++ b/subworkflows/local/prepare_genome_illumina.nf @@ -158,12 +158,12 @@ workflow PREPARE_GENOME { if (bowtie2_index) { if (bowtie2_index.endsWith('.tar.gz')) { UNTAR_BOWTIE2_INDEX ( - [ [:], bowtie2_index ] + [ [:], file(bowtie2_index) ] ) ch_bowtie2_index = UNTAR_BOWTIE2_INDEX.out.untar ch_versions = ch_versions.mix(UNTAR_BOWTIE2_INDEX.out.versions) } else { - ch_bowtie2_index = [ [:], bowtie2_index ] + ch_bowtie2_index = [ [:], file(bowtie2_index) ] } } else { BOWTIE2_BUILD (