Skip to content

Commit

Permalink
fix bowtie2_index as file
Browse files Browse the repository at this point in the history
  • Loading branch information
Joon-Klaps committed Aug 26, 2024
1 parent 033f8ce commit 828c52d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions subworkflows/local/prepare_genome_illumina.nf
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 828c52d

Please sign in to comment.