Skip to content
Snippets Groups Projects
Commit 1be5eeef authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix gatk version

parent 168c0323
No related branches found
No related tags found
No related merge requests found
......@@ -25,5 +25,7 @@ trait GatkGeneral extends CommandLineGATK with BiopetJavaCommandLineFunction {
override val versionRegex = """(.*)""".r
override val versionExitcode = List(0, 1)
override def versionCommand = commandLine + " -version"
override def versionCommand = executable + " -jar " + jarFile + " -version"
override def getVersion = super.getVersion.collect { case version => "Gatk " + version }
}
......@@ -50,7 +50,9 @@ abstract class Gatk extends BiopetJavaCommandLineFunction {
override val versionRegex = """(.*)""".r
override val versionExitcode = List(0, 1)
override def versionCommand = commandLine + " -version"
override def versionCommand = executable + " -jar " + jarFile + " -version"
override def getVersion = super.getVersion.collect { case version => "Gatk " + version }
override def commandLine = super.commandLine +
required("-T", analysisType) +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment