Commit 079ac31b authored by Peter van 't Hof's avatar Peter van 't Hof

Adding versions

parent 1ee97e08
......@@ -29,6 +29,9 @@ class Gzip(val root: Configurable) extends BiopetCommandLineFunction {
executable = config("exe", default = "gzip")
override val versionRegex = """gzip (.*)""".r
override def versionCommand = executable + " --version"
def cmdLine = required(executable) + " -c " + repeat(input) + " > " + required(output)
}
......
......@@ -33,6 +33,9 @@ class Md5sum(val root: Configurable) extends BiopetCommandLineFunction {
executable = config("exe", default = "md5sum")
override val versionRegex = """md5sum \(GNU coreutils\) (.*)""".r
override def versionCommand = executable + " --version"
/** return commandline to execute */
def cmdLine = required(executable) + required(input) + " > " + required(output)
}
......
......@@ -30,6 +30,9 @@ class Zcat(val root: Configurable) extends BiopetCommandLineFunction {
executable = config("exe", default = "zcat")
override val versionRegex = """zcat \(gzip\) (.*)""".r
override def versionCommand = executable + " --version"
/** Returns command to execute */
def cmdLine = required(executable) + required(input) + " > " + required(output)
}
......
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