From bce004da77c14e42f132174a8d1698c85c634c86 Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Tue, 30 Jul 2024 14:37:11 -0500 Subject: [PATCH] chore(homer): Fix errors about unexpected input tuple size --- subworkflows/local/transcript_identification.nf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subworkflows/local/transcript_identification.nf b/subworkflows/local/transcript_identification.nf index 14fda616..a13082b4 100644 --- a/subworkflows/local/transcript_identification.nf +++ b/subworkflows/local/transcript_identification.nf @@ -36,7 +36,8 @@ workflow TRANSCRIPT_INDENTIFICATION { homer_peaks = Channel.empty() homer_tagdir = Channel.empty() if(params.assay_type == "GROseq") { - HOMER_GROSEQ ( group_bam_bai, fasta ) + group_bam = group_bam_bai.map { meta, bam, bai -> [meta, bam] } + HOMER_GROSEQ ( group_bam, fasta ) ch_identification_bed = ch_identification_bed.mix(HOMER_GROSEQ.out.bed) homer_peaks = HOMER_GROSEQ.out.peaks homer_tagdir = HOMER_GROSEQ.out.tagdir