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

Added a alternative add function for Intermediate jobs

parent cb72d450
...@@ -4,6 +4,7 @@ package nl.lumc.sasc.biopet.core ...@@ -4,6 +4,7 @@ package nl.lumc.sasc.biopet.core
import java.io.File import java.io.File
import nl.lumc.sasc.biopet.core.config._ import nl.lumc.sasc.biopet.core.config._
import org.broadinstitute.sting.commandline._ import org.broadinstitute.sting.commandline._
import org.broadinstitute.sting.queue.function.QFunction
trait BiopetQScript extends Configurable { trait BiopetQScript extends Configurable {
@Argument(doc="Config Json file",shortName="config", required=false) @Argument(doc="Config Json file",shortName="config", required=false)
...@@ -22,4 +23,12 @@ trait BiopetQScript extends Configurable { ...@@ -22,4 +23,12 @@ trait BiopetQScript extends Configurable {
biopetScript biopetScript
// TODO: Config report // TODO: Config report
} }
def add(functions: QFunction*) // Gets implemeted at org.broadinstitute.sting.queue.QScript
def add(function: QFunction, isIntermediate:Boolean = false) {
function.isIntermediate = isIntermediate
add(function)
}
} }
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