2021-02-03 16:02:58 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-02-03 16:20:02 +00:00
|
|
|
include { SAMTOOLS_FLAGSTAT } from '../../../../software/samtools/flagstat/main.nf' addParams( options: [:] )
|
2021-02-03 16:02:58 +00:00
|
|
|
|
|
|
|
workflow test_samtools_flagstat {
|
|
|
|
|
|
|
|
def input = []
|
|
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
2021-02-03 19:22:42 +00:00
|
|
|
file("${launchDir}/tests/data/bam/test.paired_end.sorted.bam", checkIfExists: true),
|
|
|
|
file("${launchDir}/tests/data/bam/test.paired_end.sorted.bam.bai", checkIfExists: true) ]
|
2021-02-03 16:02:58 +00:00
|
|
|
SAMTOOLS_FLAGSTAT ( input )
|
|
|
|
}
|