nf-core_modules/tests/modules/bcftools/merge/main.nf

18 lines
797 B
Text
Raw Normal View History

2021-02-12 18:08:57 -05:00
#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
//keep --no-verson argument, otherwise md5 will change on each execution
include { BCFTOOLS_MERGE } from '../../../../modules/bcftools/merge/main.nf' addParams( options: ['args': '--force-samples --no-version'] )
2021-02-12 18:08:57 -05:00
workflow test_bcftools_merge {
input = [ [ id:'test' ], // meta map
[ file(params.test_data['sarscov2']['illumina']['test2_vcf_gz'], checkIfExists: true),
file(params.test_data['sarscov2']['illumina']['test3_vcf_gz'], checkIfExists: true) ],
[ file(params.test_data['sarscov2']['illumina']['test2_vcf_gz_tbi'], checkIfExists: true),
file(params.test_data['sarscov2']['illumina']['test3_vcf_gz_tbi'], checkIfExists: true) ]
]
2021-02-12 18:08:57 -05:00
BCFTOOLS_MERGE ( input )
}