Xhmm.scala 450 Bytes
Newer Older
Sander Bollen's avatar
Sander Bollen committed
1
2
package nl.lumc.sasc.biopet.extensions.xhmm

Sander Bollen's avatar
Sander Bollen committed
3
import nl.lumc.sasc.biopet.core.{ BiopetCommandLineFunction, Version }
Sander Bollen's avatar
Sander Bollen committed
4
5

/**
Sander Bollen's avatar
Sander Bollen committed
6
7
8
9
10
 * Created by Sander Bollen on 23-11-16.
 *
 * Generic abstract class for XHMM commands
 */
abstract class Xhmm extends BiopetCommandLineFunction with Version {
Sander Bollen's avatar
Sander Bollen committed
11
12
13

  executable = config("exe", namespace = "xhmm", default = "xhmm")

Sander Bollen's avatar
Sander Bollen committed
14
  def versionCommand = executable + required("--version")
Sander Bollen's avatar
Sander Bollen committed
15
16
  def versionRegex = """xhmm (.*)""".r
}