mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-26 23:43:19 -05:00
28 lines
1 KiB
Text
28 lines
1 KiB
Text
#!/usr/bin/env nextflow
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
include { BCFTOOLS_CONCAT } from '../../../../modules/bcftools/concat/main.nf'
|
|
|
|
workflow test_bcftools_concat_tbi {
|
|
|
|
input = [ [ id:'test3' ], // meta map
|
|
[ file(params.test_data['sarscov2']['illumina']['test_vcf_gz'], checkIfExists: true),
|
|
file(params.test_data['sarscov2']['illumina']['test2_vcf_gz'], checkIfExists: true) ],
|
|
[ file(params.test_data['sarscov2']['illumina']['test_vcf_gz_tbi'], checkIfExists: true),
|
|
file(params.test_data['sarscov2']['illumina']['test2_vcf_gz_tbi'], checkIfExists: true) ]
|
|
]
|
|
|
|
BCFTOOLS_CONCAT ( input )
|
|
}
|
|
|
|
workflow test_bcftools_concat_no_tbi {
|
|
|
|
input = [ [ id:'test3' ], // meta map
|
|
[ file(params.test_data['sarscov2']['illumina']['test_vcf_gz'], checkIfExists: true),
|
|
file(params.test_data['sarscov2']['illumina']['test2_vcf_gz'], checkIfExists: true) ],
|
|
[]
|
|
]
|
|
|
|
BCFTOOLS_CONCAT ( input )
|
|
}
|