Commit 0a0c3ef7 authored by bow's avatar bow

Ensure the correct hisat2 index extension is detected

parent 0892321f
......@@ -158,9 +158,7 @@ class Hisat2(val root: Configurable) extends BiopetCommandLineFunction with Refe
if (!indexDir.list()
.toList
.filter(_.startsWith(basename))
.exists({ p =>
p.endsWith(".bt2") || p.endsWith(".bt2l")
}))
.exists(_.endsWith(".ht2")))
Logging.addError(s"No index files found for hisat2 in: $indexDir with basename: $basename")
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment