nf-core_modules/tests/modules/mosdepth/main.nf

17 lines
560 B
Text
Raw Normal View History

2021-02-15 13:33:44 +00:00
#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { MOSDEPTH } from '../../../modules/mosdepth/main.nf' addParams( options: [:] )
2021-02-15 13:33:44 +00:00
workflow test_mosdepth {
input = [ [ id:'test', single_end:true ],
[ file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true) ],
[ file(params.test_data['sarscov2']['illumina']['test_paired_end_sorted_bam_bai'], checkIfExists: true) ]
]
dummy = file("dummy_file.txt")
window = 100
2021-02-15 13:33:44 +00:00
MOSDEPTH ( input, dummy, window )
2021-02-15 13:33:44 +00:00
}