2021-02-08 09:16:51 -05:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
2021-07-07 05:10:18 -04:00
|
|
|
include { BCFTOOLS_ISEC } from '../../../../modules/bcftools/isec/main.nf' addParams( options: ['args': '--nfiles +2 --output-type z --no-version'] )
|
2021-02-08 09:16:51 -05:00
|
|
|
|
|
|
|
workflow test_bcftools_isec {
|
2021-02-08 10:51:21 -05:00
|
|
|
input = [ [ id:'test' ], // meta map
|
2021-03-24 14:14:11 -04:00
|
|
|
[ 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)]
|
2021-03-24 05:53:41 -04:00
|
|
|
]
|
2021-02-08 09:16:51 -05:00
|
|
|
|
2021-02-08 10:51:21 -05:00
|
|
|
BCFTOOLS_ISEC ( input )
|
2021-02-08 09:16:51 -05:00
|
|
|
}
|