nf-core_modules/tests/modules/picard/liftovervcf/main.nf

30 lines
1.2 KiB
Text
Raw Normal View History

#!/usr/bin/env nextflow
nextflow.enable.dsl = 2
include { PICARD_LIFTOVERVCF } from '../../../../modules/picard/liftovervcf/main.nf'
workflow test_picard_liftovervcf {
input_vcf = [ [ id:'test' ],
file(params.test_data['homo_sapiens']['illumina']['test_genome_vcf'], checkIfExists: true)
]
dict = file(params.test_data['homo_sapiens']['genome']['genome_dict'], checkIfExists: true)
chain = file(params.test_data['homo_sapiens']['genome']['genome_chain_gz'], checkIfExists: true)
fasta = [ file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true) ]
PICARD_LIFTOVERVCF ( input_vcf, dict, chain, fasta )
}
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 07:50:11 +00:00
workflow test_picard_liftovervcf_stubs {
input_vcf = [ [ id:'test' ],
file(params.test_data['homo_sapiens']['illumina']['test_genome_vcf'], checkIfExists: true)
]
dict = file(params.test_data['homo_sapiens']['genome']['genome_dict'], checkIfExists: true)
chain = file(params.test_data['homo_sapiens']['genome']['genome_chain_gz'], checkIfExists: true)
fasta = [ file(params.test_data['homo_sapiens']['genome']['genome_fasta'], checkIfExists: true) ]
PICARD_LIFTOVERVCF ( input_vcf, dict, chain, fasta )
}