nf-core_modules/tests/modules/samtools/markdup/main.nf
2022-09-21 15:39:10 +01:00

22 lines
769 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { SAMTOOLS_COLLATE } from '../../../../modules/samtools/collate/main.nf'
include { SAMTOOLS_FIXMATE } from '../../../../modules/samtools/fixmate/main.nf'
include { SAMTOOLS_SORT } from '../../../../modules/samtools/sort/main.nf'
include { SAMTOOLS_MARKDUP } from '../../../../modules/samtools/markdup/main.nf'
workflow test_samtools_markdup {
input = [
[ id:'test', single_end:false ], // meta map
file(params.test_data['sarscov2']['illumina']['test_paired_end_bam'], checkIfExists: true)
]
SAMTOOLS_COLLATE ( input, [] )
SAMTOOLS_FIXMATE ( SAMTOOLS_COLLATE.out.bam )
SAMTOOLS_SORT ( SAMTOOLS_FIXMATE.out.bam )
SAMTOOLS_MARKDUP ( SAMTOOLS_SORT.out.bam, [] )
}