nf-core_modules/tests/modules/gatk4/combinegvcfs/main.nf
Sateesh a25423dbb9
Gatk4 combinegvcfs (#1342)
* add gatk4/combinegvcfs module

* update gatk4/combinegvcfs

* loop to create a string adding -V to each vcf file

* add contains for variable md5

* rm whitespace

* meta in output

* fix indentations

* fix indentations

* move tmpdir to args and update conda version

Co-authored-by: Peri <rrx8@cdc.gov>
Co-authored-by: Maxime U. Garcia <max.u.garcia@gmail.com>
2022-02-23 16:29:29 +01:00

24 lines
1.1 KiB
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { GATK4_COMBINEGVCFS } from '../../../../modules/gatk4/combinegvcfs/main.nf'
workflow test_gatk4_combinegvcfs {
input = [ [ id:'test', single_end:false ], // meta map
[ file(params.test_data['homo_sapiens']['illumina']['test_genome_vcf'], checkIfExists: true),
file(params.test_data['homo_sapiens']['illumina']['test2_genome_vcf'], checkIfExists: true) ],
[ file(params.test_data['homo_sapiens']['illumina']['test_genome_vcf_idx'], checkIfExists: true),
file(params.test_data['homo_sapiens']['illumina']['test2_genome_vcf_idx'], checkIfExists: true) ]
]
fasta = file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true)
fasta_fai = file(params.test_data['homo_sapiens']['genome']['genome_fasta_fai'], checkIfExists: true)
fasta_dict = file(params.test_data['homo_sapiens']['genome']['genome_dict'], checkIfExists: true)
GATK4_COMBINEGVCFS ( input, fasta, fasta_fai, fasta_dict )
}