nf-core_modules/tests/modules/rtgtools/vcfeval/main.nf

42 lines
1.5 KiB
Text
Raw Normal View History

2022-05-04 14:51:09 +00:00
#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { RTGTOOLS_VCFEVAL } from '../../../../modules/rtgtools/vcfeval/main.nf'
workflow test_rtgtools_vcfeval {
input = [
2022-05-06 12:23:40 +00:00
[ id:'test' ], // meta map
file(params.test_data['homo_sapiens']['illumina']['test2_haplotc_ann_vcf_gz'], checkIfExists: true),
file(params.test_data['homo_sapiens']['illumina']['test2_haplotc_ann_vcf_gz_tbi'], checkIfExists: true),
file(params.test_data['homo_sapiens']['illumina']['test2_haplotc_vcf_gz'], checkIfExists: true),
file(params.test_data['homo_sapiens']['illumina']['test2_haplotc_vcf_gz_tbi'], checkIfExists: true),
file(params.test_data['homo_sapiens']['genome']['genome_21_multi_interval_bed'], checkIfExists: true)
2022-05-04 14:51:09 +00:00
]
2022-05-06 12:23:40 +00:00
sdf = Channel.value(
file(params.test_data['homo_sapiens']['genome']['genome_21_sdf'])
)
RTGTOOLS_VCFEVAL ( input, sdf )
}
workflow test_rtgtools_vcfeval_no_index {
input = [
[ id:'test' ], // meta map
file(params.test_data['homo_sapiens']['illumina']['test2_haplotc_ann_vcf_gz'], checkIfExists: true),
[],
file(params.test_data['homo_sapiens']['illumina']['test2_haplotc_vcf_gz'], checkIfExists: true),
[],
file(params.test_data['homo_sapiens']['genome']['genome_21_multi_interval_bed'], checkIfExists: true)
]
sdf = Channel.value(
file(params.test_data['homo_sapiens']['genome']['genome_21_sdf'])
)
RTGTOOLS_VCFEVAL ( input, sdf )
2022-05-04 14:51:09 +00:00
}