2021-02-15 13:33:44 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
|
|
|
include { MOSDEPTH } from '../../../software/mosdepth/main.nf' addParams( options: [:] )
|
|
|
|
|
|
|
|
workflow test_mosdepth {
|
2021-03-24 09:53:41 +00:00
|
|
|
input = [ [ id:'test', single_end:true ],
|
|
|
|
[ file("${launchDir}/tests/data/genomics/sarscov2/illumina/bam/test_paired_end.sorted.bam", checkIfExists: true) ],
|
|
|
|
[ file("${launchDir}/tests/data/genomics/sarscov2/illumina/bam/test_paired_end.sorted.bam.bai", checkIfExists: true) ]
|
|
|
|
]
|
|
|
|
dummy = file("dummy_file.txt")
|
|
|
|
window = 100
|
2021-02-15 13:33:44 +00:00
|
|
|
|
2021-03-24 09:53:41 +00:00
|
|
|
MOSDEPTH ( input, dummy, window )
|
2021-02-15 13:33:44 +00:00
|
|
|
}
|