2021-02-19 12:29:08 +00:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
|
|
|
include { GATK4_MERGEVCFS } from '../../../../software/gatk4/mergevcfs/main.nf' addParams( options: [:] )
|
|
|
|
|
|
|
|
workflow test_gatk4_mergevcfs {
|
|
|
|
input = [ [ id:'test' ], // meta map
|
2021-03-26 11:46:46 +00:00
|
|
|
[ file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true),
|
|
|
|
file(params.test_data['sarscov2']['illumina']['test2_vcf'], checkIfExists: true) ]
|
2021-03-24 09:53:41 +00:00
|
|
|
]
|
2021-03-26 11:46:46 +00:00
|
|
|
dict = file(params.test_data['sarscov2']['genome']['genome_dict'], checkIfExists: true)
|
2021-02-19 13:09:32 +00:00
|
|
|
|
2021-03-24 09:53:41 +00:00
|
|
|
GATK4_MERGEVCFS ( input, dict, false )
|
2021-02-19 13:09:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
workflow test_gatk4_mergevcfs_refdict {
|
|
|
|
def input = []
|
|
|
|
input = [ [ id:'test' ], // meta map
|
2021-03-26 11:46:46 +00:00
|
|
|
[ file(params.test_data['sarscov2']['illumina']['test_vcf'], checkIfExists: true),
|
|
|
|
file(params.test_data['sarscov2']['illumina']['test2_vcf'], checkIfExists: true) ]
|
2021-03-24 09:53:41 +00:00
|
|
|
]
|
2021-03-26 11:46:46 +00:00
|
|
|
dict = file(params.test_data['sarscov2']['genome']['genome_dict'], checkIfExists: true)
|
2021-02-19 13:09:32 +00:00
|
|
|
|
2021-03-26 11:46:46 +00:00
|
|
|
GATK4_MERGEVCFS ( input, dict, true )
|
2021-02-19 12:29:08 +00:00
|
|
|
}
|