mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-25 23:59:55 +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]
|
[meta_new, reads]
|
||||||
}
|
}
|
||||||
.groupTuple()
|
.groupTuple()
|
||||||
.map { meta, fastq -> [meta, fastq] }
|
.map { meta, fastq -> [meta, fastq.flatten()] }
|
||||||
|
|
||||||
|
|
||||||
CAT_FASTQ(ch_concat_fastq)
|
CAT_FASTQ(ch_concat_fastq)
|
||||||
|
|
|
@ -29,7 +29,7 @@ workflow SHORTREAD_FASTP {
|
||||||
meta, reads ->
|
meta, reads ->
|
||||||
def meta_new = meta.clone()
|
def meta_new = meta.clone()
|
||||||
meta_new['single_end'] = true
|
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 )
|
ch_fastp_reads_prepped = ch_fastp_reads_prepped_pe.mix( FASTP_SINGLE.out.reads )
|
||||||
|
|
Loading…
Reference in a new issue