mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-22 10:39:54 +00:00
Flatten the right thing
This commit is contained in:
parent
6c14f2b230
commit
35cb6e042a
2 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ workflow SHORTREAD_ADAPTERREMOVAL {
|
|||
[meta_new, reads]
|
||||
}
|
||||
.groupTuple()
|
||||
.map { meta, fastq -> [meta, fastq] }
|
||||
.map { meta, fastq -> [meta, fastq.flatten()] }
|
||||
|
||||
|
||||
CAT_FASTQ(ch_concat_fastq)
|
||||
|
|
|
@ -29,7 +29,7 @@ workflow SHORTREAD_FASTP {
|
|||
meta, reads ->
|
||||
def meta_new = meta.clone()
|
||||
meta_new['single_end'] = true
|
||||
[ meta_new, reads.flatten() ]
|
||||
[ meta_new, [ reads ].flatten() ]
|
||||
}
|
||||
|
||||
ch_fastp_reads_prepped = ch_fastp_reads_prepped_pe.mix( FASTP_SINGLE.out.reads )
|
||||
|
|
Loading…
Reference in a new issue