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

3
4
import java.io.File

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

/**
Sander Bollen's avatar
Sander Bollen committed
8
9
10
11
12
 * 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
13
14

  executable = config("exe", namespace = "xhmm", default = "xhmm")
15
  var discoverParamsFile: File = config("discover_params", namespace = "xhmm")
Sander Bollen's avatar
Sander Bollen committed
16

Sander Bollen's avatar
Sander Bollen committed
17
  def versionCommand = executable + " --version"
Sander Bollen's avatar
Sander Bollen committed
18
19
  def versionRegex = """xhmm (.*)""".r
}