Commit 339c0413 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix bcftools executeables

parent 7aeda35f
......@@ -56,7 +56,7 @@ class Tabix(val root: Configurable) extends BiopetCommandLineFunction with Versi
var l: Boolean = config("l", default = false)
var f: Boolean = config("f", default = false)
executable = config("exe", default = "tabix")
executable = config("exe", default = "tabix", freeVar = false)
def versionCommand = executable
def versionRegex = """Version: (.*)""".r
......
......@@ -19,7 +19,7 @@ import nl.lumc.sasc.biopet.core.{ Version, BiopetCommandLineFunction }
abstract class Bcftools extends BiopetCommandLineFunction with Version {
override def subPath = "bcftools" :: super.subPath
executable = config("exe", default = "bcftools")
executable = config("exe", default = "bcftools", submodule = "bcftools", freeVar = false)
def versionCommand = executable
def versionRegex = """Version: (.*)""".r
override def versionExitcode = List(0, 1)
......
......@@ -20,7 +20,7 @@ import nl.lumc.sasc.biopet.core.{ Version, BiopetCommandLineFunction }
/** General class for samtools extensions */
abstract class Samtools extends BiopetCommandLineFunction with Version {
override def subPath = "samtools" :: super.subPath
executable = config("exe", default = "samtools")
executable = config("exe", default = "samtools", submodule = "samtools" ,freeVar = false)
def versionCommand = executable
def versionRegex = """Version: (.*)""".r
override def versionExitcode = List(0, 1)
......
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