2022-02-04 09:29:44 -05:00
|
|
|
#!/usr/bin/env nextflow
|
|
|
|
|
|
|
|
nextflow.enable.dsl = 2
|
|
|
|
|
|
|
|
include { SVDB_MERGE } from '../../../../modules/svdb/merge/main.nf'
|
|
|
|
|
|
|
|
workflow test_svdb_merge {
|
|
|
|
|
|
|
|
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) ]
|
|
|
|
]
|
|
|
|
priority = [ 'tiddit', 'cnvnator']
|
|
|
|
|
|
|
|
SVDB_MERGE ( input, priority )
|
|
|
|
}
|
2022-02-24 03:49:30 -05:00
|
|
|
|
|
|
|
workflow test_svdb_merge_noprio {
|
|
|
|
|
|
|
|
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) ]
|
|
|
|
]
|
|
|
|
|
|
|
|
SVDB_MERGE ( input, [] )
|
|
|
|
}
|