nf-core_modules/tests/software/bcftools/merge/main.nf
Mark-S-Hill 889465cb2b
update test data paths (#373)
* update test data paths

* Update test md5sums

* gatk test fixes & update variantfiltration main

* few extra fixes after review

* fix suspected format error

* Update software/gatk4/variantfiltration/main.nf

* Update software/gatk4/variantfiltration/main.nf

* Apply suggestions from code review

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
2021-03-24 18:14:11 +00:00

17 lines
798 B
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
//keep --no-verson argument, otherwise md5 will change on each execution
include { BCFTOOLS_MERGE } from '../../../../software/bcftools/merge/main.nf' addParams( options: ['args': '--force-samples --no-version'] )
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) ]
]
BCFTOOLS_MERGE ( input )
}