Skip to content

Commit aece0fb

Browse files
committed
Update bowtie2/build
1 parent 403a8e5 commit aece0fb

4 files changed

Lines changed: 18 additions & 8 deletions

File tree

modules.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"bowtie2/build": {
1414
"branch": "master",
15-
"git_sha": "5e34754d42cd2d5d248ca8673c0a53cdf5624905",
15+
"git_sha": "c8e35eb2055c099720a75538d1b8adb3fb5a464c",
1616
"installed_by": ["modules"]
1717
},
1818
"bwa/index": {

modules/nf-core/bowtie2/build/main.nf

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/bowtie2/build/meta.yml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

subworkflows/local/prepare_genome.nf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,13 @@ workflow PREPARE_GENOME {
156156
if (prepare_tool_index == 'bowtie2') {
157157
if (params.bowtie2_index) {
158158
if (params.bowtie2_index.endsWith('.tar.gz')) {
159-
ch_bowtie2_index = UNTAR_BOWTIE2_INDEX ( [ [:], params.bowtie2_index ] ).untar.map{ it[1] }
159+
ch_bowtie2_index = UNTAR_BOWTIE2_INDEX ( [ [:], params.bowtie2_index ] ).untar
160160
ch_versions = ch_versions.mix(UNTAR_BOWTIE2_INDEX.out.versions)
161161
} else {
162-
ch_bowtie2_index = file(params.bowtie2_index)
162+
ch_bowtie2_index = [ [:], file(params.bowtie2_index) ]
163163
}
164164
} else {
165-
ch_bowtie2_index = BOWTIE2_BUILD ( ch_fasta ).index
165+
ch_bowtie2_index = BOWTIE2_BUILD ( [ [:], ch_fasta ] ).index
166166
ch_versions = ch_versions.mix(BOWTIE2_BUILD.out.versions)
167167
}
168168
}

0 commit comments

Comments
 (0)