Skip to content

Commit

Permalink
Use nf-core official module for samtools fastq
Browse files Browse the repository at this point in the history
  • Loading branch information
muabnezor committed Jan 9, 2025
1 parent d46aa6d commit f90e5f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 41 deletions.
39 changes: 0 additions & 39 deletions modules/local/samtools/fastq_longread/main.nf

This file was deleted.

4 changes: 2 additions & 2 deletions subworkflows/local/longread_hostremoval.nf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
include { MINIMAP2_INDEX as MINIMAP2_HOST_INDEX } from '../../modules/nf-core/minimap2/index/main'
include { MINIMAP2_ALIGN as MINIMAP2_HOST_ALIGN } from '../../modules/nf-core/minimap2/align/main'
include { SAMTOOLS_VIEW as SAMTOOLS_HOSTREMOVED_VIEW } from '../../modules/nf-core/samtools/view/main'
include { SAMTOOLS_LONGREAD_FASTQ as SAMTOOLS_HOSTREMOVED_FASTQ } from '../../modules/local/samtools/fastq_longread/main'
include { SAMTOOLS_FASTQ as SAMTOOLS_HOSTREMOVED_FASTQ } from '../../modules/nf-core/samtools/fastq/main'
include { SAMTOOLS_INDEX as SAMTOOLS_HOSTREMOVED_INDEX } from '../../modules/nf-core/samtools/index/main'
include { SAMTOOLS_STATS as SAMTOOLS_HOSTREMOVED_STATS } from '../../modules/nf-core/samtools/stats/main'

Expand Down Expand Up @@ -36,7 +36,7 @@ workflow LONGREAD_HOSTREMOVAL {
SAMTOOLS_HOSTREMOVED_VIEW ( ch_minimap2_mapped , [[],[]], [] )
ch_versions = ch_versions.mix( SAMTOOLS_HOSTREMOVED_VIEW.out.versions.first() )

SAMTOOLS_HOSTREMOVED_FASTQ ( SAMTOOLS_HOSTREMOVED_VIEW.out.bam )
SAMTOOLS_HOSTREMOVED_FASTQ ( SAMTOOLS_HOSTREMOVED_VIEW.out.bam, false )
ch_versions = ch_versions.mix( SAMTOOLS_HOSTREMOVED_FASTQ.out.versions.first() )

// Indexing whole BAM for host removal statistics
Expand Down

0 comments on commit f90e5f5

Please sign in to comment.