2022-05-16 12:39:58 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
|
|
|
include { BIOBAMBAM_BAMMERGE } from '../../../../modules/biobambam/bammerge/main.nf'
|
|
|
|
|
2022-05-16 18:51:39 +00:00
|
|
|
workflow test_biobambam_bammerge_paired {
|
2022-05-16 12:39:58 +00:00
|
|
|
|
|
|
|
input = [
|
|
|
|
[ id:'test', single_end:false ], // meta map
|
|
|
|
[
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true),
|
|
|
|
file(params.test_data['homo_sapiens']['illumina']['test2_paired_end_sorted_bam'], checkIfExists: true)
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
BIOBAMBAM_BAMMERGE ( input )
|
|
|
|
}
|
2022-05-16 18:51:39 +00:00
|
|
|
|
|
|
|
workflow test_biobambam_bammerge_single {
|
|
|
|
|
|
|
|
input = [
|
|
|
|
[ id:'test', single_end:false ], // meta map
|
|
|
|
[
|
|
|
|
file(params.test_data['sarscov2']['illumina']['test_single_end_sorted_bam'], checkIfExists: true),
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
BIOBAMBAM_BAMMERGE ( input )
|
|
|
|
}
|