Skip to content

Commit

Permalink
Channel magic
Browse files Browse the repository at this point in the history
  • Loading branch information
apeltzer committed Jan 30, 2024
1 parent 8e73796 commit 7c46a1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion workflows/smrnaseq.nf
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,9 @@ workflow SMRNASEQ {

//UMI Dedup for fastq input
if (params.with_umi) {
UMICOLLAPSE_FASTQ(ch_reads_for_mirna, 'fastq')
ch_fastq = Channel.value('fastq')
ch_input_for_collapse = ch_reads_for_mirna.map{ meta, reads -> [meta, reads, []]} //Needs to be done to add a []
UMICOLLAPSE_FASTQ(ch_input_for_collapse, ch_fastq)
ch_reads_for_mirna = UMICOLLAPSE_FASTQ.out.fastq
}

Expand Down

0 comments on commit 7c46a1e

Please sign in to comment.