mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-10 22:53:08 +00:00
Update subworkflows/local/shortread_adapterremoval.nf
Co-authored-by: Moritz E. Beber <midnighter@posteo.net>
This commit is contained in:
parent
14f2b7bd84
commit
03e832954f
1 changed files with 2 additions and 5 deletions
|
@ -62,15 +62,12 @@ workflow SHORTREAD_ADAPTERREMOVAL {
|
|||
|
||||
} 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 )
|
||||
.groupTuple(by: 0)
|
||||
.groupTuple()
|
||||
.map { meta, pair1, pair2 ->
|
||||
[ meta, [ pair1, pair2 ].flatten() ]
|
||||
}
|
||||
|
||||
|
||||
ch_adapterremoval_reads_prepped = ch_adapterremoval_reads_prepped_pe
|
||||
.mix( ADAPTERREMOVAL_SINGLE.out.singles_truncated )
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue