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

Update subworkflows/local/shortread_adapterremoval.nf

Co-authored-by: Moritz E. Beber <midnighter@posteo.net>
This commit is contained in:
James A. Fellows Yates 2022-04-01 20:55:33 +02:00 committed by GitHub
parent 14f2b7bd84
commit 03e832954f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,15 +62,12 @@ workflow SHORTREAD_ADAPTERREMOVAL {
} else { } else {
ch_adapterremoval_reads_prepped_pe = ADAPTERREMOVAL_PAIRED.out.pair1_truncated ch_adapterremoval_reads_prepped = ADAPTERREMOVAL_PAIRED.out.pair1_truncated
.join( ADAPTERREMOVAL_PAIRED.out.pair2_truncated ) .join( ADAPTERREMOVAL_PAIRED.out.pair2_truncated )
.groupTuple(by: 0) .groupTuple()
.map { meta, pair1, pair2 -> .map { meta, pair1, pair2 ->
[ meta, [ pair1, pair2 ].flatten() ] [ meta, [ pair1, pair2 ].flatten() ]
} }
ch_adapterremoval_reads_prepped = ch_adapterremoval_reads_prepped_pe
.mix( ADAPTERREMOVAL_SINGLE.out.singles_truncated ) .mix( ADAPTERREMOVAL_SINGLE.out.singles_truncated )
} }