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

Added version command for star

parent 3925dac1
......@@ -18,13 +18,13 @@ package nl.lumc.sasc.biopet.extensions
import java.io.File
import nl.lumc.sasc.biopet.utils.config.Configurable
import nl.lumc.sasc.biopet.core.{ BiopetCommandLineFunction, Reference }
import nl.lumc.sasc.biopet.core.{ Version, BiopetCommandLineFunction, Reference }
import org.broadinstitute.gatk.utils.commandline.{ Argument, Input, Output }
/**
* Extension for STAR
*/
class Star(val root: Configurable) extends BiopetCommandLineFunction with Reference {
class Star(val root: Configurable) extends BiopetCommandLineFunction with Reference with Version {
@Input(doc = "The reference file for the bam files.", required = false)
var reference: File = null
......@@ -54,6 +54,9 @@ class Star(val root: Configurable) extends BiopetCommandLineFunction with Refere
executable = config("exe", "STAR")
def versionCommand = executable + " --version"
def versionRegex = """(.*)""".r
@Argument(doc = "Output Directory")
var outputDir: File = _
......
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