mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
ee915a43e4
* update svdb merge * fix undefined variable error * remove prio join in the script block * fix error * fix error again * update tests and refactor
26 lines
795 B
Text
26 lines
795 B
Text
#!/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 )
|
|
}
|
|
|
|
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, [] )
|
|
}
|