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