mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-11-11 04:33:10 +00:00
14 lines
No EOL
510 B
Text
14 lines
No EOL
510 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { SAMTOOLS_FLAGSTAT } from '../../../../software/samtools/flagstat/main.nf' addParams( options: [:] )
|
|
|
|
workflow test_samtools_flagstat {
|
|
|
|
def input = []
|
|
input = [ [ id:'test', single_end:false ], // meta map
|
|
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) ]
|
|
SAMTOOLS_FLAGSTAT ( input )
|
|
} |