Skip to content

Commit

Permalink
Split mlst and qc outputs into separate channels (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfornika authored May 12, 2022
1 parent e83fcbe commit 77c7c17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ workflow {

kma_result_to_mlst(kma_align.out.combine(ch_scheme))

count_called_alleles(kma_result_to_mlst.out)
count_called_alleles(kma_result_to_mlst.out.mlst)
}
3 changes: 2 additions & 1 deletion modules/kma_result_to_mlst.nf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ process kma_result_to_mlst {
tuple val(sample_id), path(kma_result), val(scheme)

output:
tuple val(sample_id), path("${sample_id}_cgmlst.csv"), path("${sample_id}_locus_qc.csv")
tuple val(sample_id), path("${sample_id}_cgmlst.csv"), emit: mlst
tuple val(sample_id), path("${sample_id}_locus_qc.csv"), emit: mlst_qc

script:
"""
Expand Down

0 comments on commit 77c7c17

Please sign in to comment.