Update svdb/merge (#1449)

* fix error

* fix input string
This commit is contained in:
Ramprasad Neethiraj 2022-03-27 14:15:43 +02:00 committed by GitHub
parent 5832fbc225
commit cc671a5f3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,7 @@ process SVDB_MERGE {
def prio = "" def prio = ""
if(priority) { if(priority) {
prio = "--priority ${priority.join(',')}" prio = "--priority ${priority.join(',')}"
input = ""
for (int index = 0; index < vcfs.size(); index++) { for (int index = 0; index < vcfs.size(); index++) {
input += " ${vcfs[index]}:${priority[index]}" input += " ${vcfs[index]}:${priority[index]}"
} }