Commit 168c0323 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Added version command

parent 336f213c
......@@ -22,4 +22,8 @@ trait GatkGeneral extends CommandLineGATK with BiopetJavaCommandLineFunction {
reference_sequence = config("reference")
if (config.contains("gatk_key")) gatk_key = config("gatk_key")
if (config.contains("pedigree")) pedigree = config("pedigree")
override val versionRegex = """(.*)""".r
override val versionExitcode = List(0, 1)
override def versionCommand = commandLine + " -version"
}
......@@ -48,6 +48,10 @@ abstract class Gatk extends BiopetJavaCommandLineFunction {
@Input(required = false)
var pedigree: List[File] = config("pedigree", default = Nil)
override val versionRegex = """(.*)""".r
override val versionExitcode = List(0, 1)
override def versionCommand = commandLine + " -version"
override def commandLine = super.commandLine +
required("-T", analysisType) +
required("-R", reference) +
......
Supports Markdown
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