nf-core_modules/tests/modules/svdb/merge/main.nf
Ramprasad Neethiraj ee915a43e4
update svdb merge (#1274)
* update svdb merge

* fix undefined variable error

* remove prio join in the script block

* fix error

* fix error again

* update tests and refactor
2022-02-24 09:49:30 +01:00

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, [] )
}