Skip to content

Commit

Permalink
Fix bug - repeated value during join
Browse files Browse the repository at this point in the history
  • Loading branch information
Lfulcrum committed Dec 19, 2024
1 parent 6c44b89 commit 21c2343
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflows/pipeline.nf
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 21c2343

Please sign in to comment.