Skip to content

Commit 77145db

Browse files
committed
Fix channel issues after updating nf-core/modules
1 parent 92eba51 commit 77145db

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

subworkflows/local/align_star/main.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ include { BAM_SORT_STATS_SAMTOOLS } from '../../nf-core/bam_sort_stats_samtools'
99
workflow ALIGN_STAR {
1010
take:
1111
reads // channel: [ val(meta), [ reads ] ]
12-
index // channel: /path/to/star/index/
13-
gtf // channel: /path/to/genome.gtf
12+
index // channel: [ val(meta), [ index ] ]
13+
gtf // channel: [ val(meta), [ gtf ] ]
1414
star_ignore_sjdbgtf // boolean: when using pre-built STAR indices do not re-extract and use splice junctions from the GTF file
1515
seq_platform // string : sequencing platform
1616
seq_center // string : sequencing center

subworkflows/local/prepare_genome/main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ workflow PREPARE_GENOME {
191191
ch_star_index = STAR_GENOMEGENERATE_IGENOMES ( ch_fasta, ch_gtf ).index
192192
ch_versions = ch_versions.mix(STAR_GENOMEGENERATE_IGENOMES.out.versions)
193193
} else {
194-
ch_star_index = STAR_GENOMEGENERATE ( ch_fasta, ch_gtf ).index
194+
ch_star_index = STAR_GENOMEGENERATE ( ch_fasta.map { [ [:], it ] }, ch_gtf.map { [ [:], it ] } ).index.map { it[1] }
195195
ch_versions = ch_versions.mix(STAR_GENOMEGENERATE.out.versions)
196196
}
197197
}

workflows/rnaseq.nf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,8 @@ workflow RNASEQ {
382382
if (!params.skip_alignment && params.aligner == 'star_salmon') {
383383
ALIGN_STAR (
384384
ch_filtered_reads,
385-
PREPARE_GENOME.out.star_index,
386-
PREPARE_GENOME.out.gtf,
385+
PREPARE_GENOME.out.star_index.map { [ [:], it ] },
386+
PREPARE_GENOME.out.gtf.map { [ [:], it ] },
387387
params.star_ignore_sjdbgtf,
388388
'',
389389
params.seq_center ?: '',
@@ -729,7 +729,7 @@ workflow RNASEQ {
729729
if (!params.skip_qualimap) {
730730
QUALIMAP_RNASEQ (
731731
ch_genome_bam,
732-
PREPARE_GENOME.out.gtf
732+
PREPARE_GENOME.out.gtf.map { [ [:], it ] }
733733
)
734734
ch_qualimap_multiqc = QUALIMAP_RNASEQ.out.results
735735
ch_versions = ch_versions.mix(QUALIMAP_RNASEQ.out.versions.first())

0 commit comments

Comments
 (0)