Skip to content

Commit

Permalink
Replace samtools_index with samtools_merge csi.
Browse files Browse the repository at this point in the history
  • Loading branch information
ellendejong committed Nov 12, 2024
1 parent 6c7ebcd commit 8bbaaa3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions subworkflows/local/fastq_trim_filter_align_dedup.nf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
include { SAMTOOLS_CONVERT } from '../../modules/nf-core/samtools/convert/main'
include { SAMTOOLS_INDEX } from '../../modules/nf-core/samtools/index/main'
include { SAMTOOLS_MERGE } from '../../modules/nf-core/samtools/merge/main'
include { SORTMERNA as SORTMERNA_READS } from '../../modules/local/sortmerna/main'

Expand Down Expand Up @@ -61,10 +60,7 @@ workflow FASTQ_TRIM_FILTER_ALIGN_DEDUP {
)
ch_versions = ch_versions.mix(SAMTOOLS_MERGE.out.versions.first())

SAMTOOLS_INDEX(SAMTOOLS_MERGE.out.bam)
ch_versions = ch_versions.mix(SAMTOOLS_INDEX.out.versions.first())

BAM_DEDUP_STATS_SAMTOOLS_UMITOOLS(SAMTOOLS_MERGE.out.bam.join(SAMTOOLS_INDEX.out.bai), true)
BAM_DEDUP_STATS_SAMTOOLS_UMITOOLS(SAMTOOLS_MERGE.out.bam.join(SAMTOOLS_MERGE.out.csi), true)
ch_versions = ch_versions.mix(BAM_DEDUP_STATS_SAMTOOLS_UMITOOLS.out.versions)

SAMTOOLS_CONVERT(
Expand Down

0 comments on commit 8bbaaa3

Please sign in to comment.