Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
0a0c3ef7
Commit
0a0c3ef7
authored
Jun 02, 2016
by
bow
Browse files
Ensure the correct hisat2 index extension is detected
parent
0892321f
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/hisat/Hisat2.scala
View file @
0a0c3ef7
...
...
@@ -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"
)
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment