mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-25 16:59:54 +00:00
Fix output tuple for reads
This commit is contained in:
parent
35cb6e042a
commit
8839fe22b8
1 changed files with 9 additions and 1 deletions
|
@ -149,7 +149,15 @@ workflow TAXPROFILER {
|
||||||
|
|
||||||
ch_reads_for_cat_branch.cat.dump(tag: "for_catting")
|
ch_reads_for_cat_branch.cat.dump(tag: "for_catting")
|
||||||
|
|
||||||
ch_reads_runmerged = CAT_FASTQ ( ch_reads_for_cat_branch.cat ).reads.mix( ch_reads_for_cat_branch.skip )
|
ch_reads_runmerged = CAT_FASTQ ( ch_reads_for_cat_branch.cat ).reads
|
||||||
|
.mix( ch_reads_for_cat_branch.skip )
|
||||||
|
.map {
|
||||||
|
meta, reads ->
|
||||||
|
|
||||||
|
[ meta, [ reads ].flatten() ]
|
||||||
|
}
|
||||||
|
|
||||||
|
ch_reads_runmerged.dump(tag: "ch_reads_runmerged" )
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
ch_reads_runmerged = ch_shortreads_filtered
|
ch_reads_runmerged = ch_shortreads_filtered
|
||||||
|
|
Loading…
Reference in a new issue