1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-11-25 18:09:55 +00:00

Apply review suggestion

This commit is contained in:
Sofia Stamouli 2022-10-31 09:31:13 +01:00 committed by GitHub
parent f87131c7b1
commit f1778acf35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,9 +44,8 @@ workflow LONGREAD_HOSTREMOVAL {
SAMTOOLS_INDEX ( SAMTOOLS_VIEW.out.bam )
ch_versions = ch_versions.mix( SAMTOOLS_INDEX.out.versions.first() )
SAMTOOLS_VIEW.out.bam
.join(SAMTOOLS_INDEX.out.bai, by: [0], remainder: true)
.set { bam_bai }
bam_bai = SAMTOOLS_VIEW.out.bam
.join(SAMTOOLS_INDEX.out.bai, remainder: true)
SAMTOOLS_STATS ( bam_bai, reference )
ch_versions = ch_versions.mix(SAMTOOLS_STATS.out.versions.first())