nf-core_modules/tests/modules/gatk4/mergevcfs/main.nf
Lucpen f434d0c671
Adding stubs to PicardLiftovervcf, GATK4_mergevcfs and filterMutectCalls (#1621)
* feat added stubs to picard_liftovervcf

* feat adding stubs to gatk4_mergevcfs

* feat adding stubs to gatk4_filtermutectcalls

* fix tests

* fix output name filtermutectcalls

* fix test

* fix added missing [

* Update tests/modules/gatk4/mergevcfs/test.yml

Co-authored-by: Ramprasad Neethiraj <20065894+ramprasadn@users.noreply.github.com>

* Update tests/modules/gatk4/filtermutectcalls/test.yml

Co-authored-by: Ramprasad Neethiraj <20065894+ramprasadn@users.noreply.github.com>

* Update tests/modules/picard/liftovervcf/test.yml

Co-authored-by: Ramprasad Neethiraj <20065894+ramprasadn@users.noreply.github.com>

* Update modules/gatk4/filtermutectcalls/main.nf

Co-authored-by: Ramprasad Neethiraj <20065894+ramprasadn@users.noreply.github.com>

* Update modules/gatk4/filtermutectcalls/main.nf

Co-authored-by: Ramprasad Neethiraj <20065894+ramprasadn@users.noreply.github.com>

* Update modules/gatk4/mergevcfs/main.nf

Co-authored-by: Ramprasad Neethiraj <20065894+ramprasadn@users.noreply.github.com>

* Update modules/gatk4/mergevcfs/main.nf

Co-authored-by: Ramprasad Neethiraj <20065894+ramprasadn@users.noreply.github.com>

* Update modules/picard/liftovervcf/main.nf

Co-authored-by: Ramprasad Neethiraj <20065894+ramprasadn@users.noreply.github.com>

* Trying something on picard_liftovervcf

* fix adding test data for stubs

* fix added bracket and unindented workflow

* fix picard 2.27.1 -> 2.27.0 to solve PaddingError

* Update main.nf

fix added tbi to stub

Co-authored-by: Ramprasad Neethiraj <20065894+ramprasadn@users.noreply.github.com>
Co-authored-by: Matthieu Muffato <mm49@sanger.ac.uk>
2022-09-28 09:50:11 +02:00

35 lines
1.2 KiB
Text

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { GATK4_MERGEVCFS } from '../../../../modules/gatk4/mergevcfs/main.nf'
workflow test_gatk4_mergevcfs {
def input = []
input = [ [ id:'test' ], // meta map
[ file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true),
file(params.test_data['sarscov2']['illumina']['test2_vcf'], checkIfExists: true) ]
]
dict = file(params.test_data['sarscov2']['genome']['genome_dict'], checkIfExists: true)
GATK4_MERGEVCFS ( input, dict )
}
workflow test_gatk4_mergevcfs_no_dict {
input = [ [ id:'test' ], // meta map
[ file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true),
file(params.test_data['sarscov2']['illumina']['test2_vcf'], checkIfExists: true) ]
]
GATK4_MERGEVCFS ( input, [] )
}
workflow test_gatk4_mergevcfs_no_dict_stubs {
input = [ [ id:'test' ], // meta map
[ file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true),
file(params.test_data['sarscov2']['illumina']['test2_vcf'], checkIfExists: true) ]
]
GATK4_MERGEVCFS ( input, [] )
}