nf-core_modules/software/picard/mergesamfiles/test/main.nf

20 lines
475 B
Text
Raw Normal View History

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