mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-23 03:28:17 +00:00
b73662c8d9
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
30 lines
933 B
Text
30 lines
933 B
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { BAMTOOLS_SPLIT as BAMTOOLS_SPLIT_SINGLE } from '../../../../modules/bamtools/split/main.nf'
|
|
include { BAMTOOLS_SPLIT as BAMTOOLS_SPLIT_MULTIPLE } from '../../../../modules/bamtools/split/main.nf'
|
|
|
|
workflow test_bamtools_split_single_input {
|
|
|
|
input = [
|
|
[ id:'test', single_end:false ], // meta map
|
|
file(params.test_data['homo_sapiens']['illumina']['test_paired_end_sorted_bam'], checkIfExists: true)
|
|
]
|
|
|
|
BAMTOOLS_SPLIT_SINGLE ( input )
|
|
}
|
|
|
|
workflow test_bamtools_split_multiple {
|
|
|
|
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)
|
|
]
|
|
]
|
|
|
|
BAMTOOLS_SPLIT_MULTIPLE ( input )
|
|
}
|
|
|