nf-core_modules/tests/software/gatk4/mergevcfs/main.nf
2021-02-19 14:09:32 +01:00

31 lines
1.1 KiB
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { GATK4_MERGEVCFS } from '../../../../software/gatk4/mergevcfs/main.nf' addParams( options: [:] )
workflow test_gatk4_mergevcfs {
def input = []
input = [ [ id:'test' ], // meta map
[ file("${launchDir}/tests/data/vcf/test.vcf", checkIfExists: true),
file("${launchDir}/tests/data/vcf/test2.vcf.gz", checkIfExists: true),
file("${launchDir}/tests/data/vcf/test3.vcf.gz", checkIfExists: true) ] ]
ref_dict = file("tests/data/fasta/test.consensus.for_vcf.dict", checkIfExists: true)
GATK4_MERGEVCFS ( input, ref_dict, false )
}
workflow test_gatk4_mergevcfs_refdict {
def input = []
input = [ [ id:'test' ], // meta map
[ file("${launchDir}/tests/data/vcf/test.vcf", checkIfExists: true),
file("${launchDir}/tests/data/vcf/test2.vcf.gz", checkIfExists: true),
file("${launchDir}/tests/data/vcf/test3.vcf.gz", checkIfExists: true) ] ]
ref_dict = file("tests/data/fasta/test.consensus.for_vcf.dict", checkIfExists: true)
GATK4_MERGEVCFS ( input, ref_dict, true )
}