nf-core_modules/software/samtools/index/test/main.nf

19 lines
363 B
Text
Raw Normal View History

#!/usr/bin/env nextflow
2020-08-07 14:17:46 +00:00
nextflow.enable.dsl = 2
2020-10-15 09:47:15 +00:00
include { SAMTOOLS_INDEX } from '../main.nf' addParams( options: [:] )
2020-08-07 14:17:46 +00:00
workflow test {
def input = []
input = [ [ id:'test', single_end:false ], // meta map
file("${baseDir}/input/test.paired_end.sorted.bam", checkIfExists: true) ]
2020-10-15 09:47:15 +00:00
SAMTOOLS_INDEX ( input )
2020-08-07 14:17:46 +00:00
}
workflow {
test()
}