mirror of
https://github.com/MillironX/taxprofiler.git
synced 2024-11-24 19:59:54 +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 {
|
} 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 )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue