mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 19:48:16 +00:00
45acc79667
* nf-core create * svdb merge module and test * remove to-do from test.yml * version * update meta.yml * mosdepth update * update md5sums * add stub * add stub * remove svdb * remove merge * Add tests * code linting fix * undo previous commit * revert code linting fix
36 lines
1.3 KiB
Text
36 lines
1.3 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { MOSDEPTH } from '../../../modules/mosdepth/main.nf'
|
|
|
|
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) ]
|
|
]
|
|
|
|
MOSDEPTH ( input, [], [] )
|
|
}
|
|
|
|
|
|
workflow test_mosdepth_window {
|
|
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) ]
|
|
]
|
|
window = 100
|
|
|
|
MOSDEPTH ( input, [], window )
|
|
}
|
|
|
|
|
|
workflow test_mosdepth_bed {
|
|
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) ]
|
|
]
|
|
bed = [ file(params.test_data['sarscov2']['genome']['test_bed'], checkIfExists: true) ]
|
|
|
|
MOSDEPTH ( input, bed, [] )
|
|
}
|