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