From 21c234312a7558a9e1f0b85fc85e096271505f05 Mon Sep 17 00:00:00 2001 From: William Roberts Date: Thu, 19 Dec 2024 22:58:04 +0000 Subject: [PATCH] Fix bug - repeated value during join --- workflows/pipeline.nf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workflows/pipeline.nf b/workflows/pipeline.nf index 0f299e8..16ee6ed 100644 --- a/workflows/pipeline.nf +++ b/workflows/pipeline.nf @@ -126,7 +126,7 @@ workflow PIPELINE { // Merge Channels FILE_VALIDATION.out.result & READ_QC.out.result & ASSEMBLY_QC.out.result & MAPPING_QC.out.result & TAXONOMY_QC.out.result to provide Overall QC Status // Output into Channel OVERALL_QC.out.result & OVERALL_QC.out.report OVERALL_QC( - raw_read_pairs_ch.map{ it[0] } + raw_read_pairs_ch.map{ [it[0]] } .join(FILE_VALIDATION.out.result, failOnDuplicate: true, remainder: true) .join(READ_QC.out.result, failOnDuplicate: true, remainder: true) .join(ASSEMBLY_QC.out.result, failOnDuplicate: true, remainder: true) @@ -173,7 +173,7 @@ workflow PIPELINE { // Generate sample reports by merging outputs from all result-generating modules GENERATE_SAMPLE_REPORT( - raw_read_pairs_ch.map{ it[0] } + raw_read_pairs_ch.map{ [it[0]] } .join(READ_QC.out.report, failOnDuplicate: true, remainder: true) .join(ASSEMBLY_QC.out.report, failOnDuplicate: true, remainder: true) .join(MAPPING_QC.out.report, failOnDuplicate: true, remainder: true)