mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-10 22:33:09 +00:00
refactor: make code more explicit, add comment
This commit is contained in:
parent
59b2088aa1
commit
39e5e802c7
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,9 @@ workflow SHORTREAD_ADAPTERREMOVAL {
|
|||
ADAPTERREMOVAL_PAIRED.out.paired_truncated
|
||||
)
|
||||
.groupTuple()
|
||||
.map { [it.head(), it.tail().flatten()] }
|
||||
// Paired-end reads cause a nested tuple during grouping.
|
||||
// We want to present a flat list of files to `CAT_FASTQ`.
|
||||
.map { meta, fastq -> [meta, fastq.flatten()] }
|
||||
|
||||
CAT_FASTQ(ch_concat_fastq)
|
||||
|
||||
|
|
Loading…
Reference in a new issue