1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-11-22 10:49:55 +00:00

Flatten the right thing

This commit is contained in:
James Fellows Yates 2022-04-08 13:46:12 +02:00
parent 6c14f2b230
commit 35cb6e042a
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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 )