2022-05-16 08:39:58 -04:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
|
|
|
include { BIOBAMBAM_BAMMERGE } from '../../../../modules/biobambam/bammerge/main.nf'
|
|
|
|
|
2022-05-16 14:51:39 -04:00
|
|
|
workflow test_biobambam_bammerge_paired {
|
2022-05-16 08:39:58 -04: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 14:51:39 -04: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 )
|
|
|
|
}
|