Commit 35bd64d6 authored by Peter van 't Hof's avatar Peter van 't Hof

Make output name required

parent e7437482
......@@ -23,10 +23,7 @@ class GearsCentrifuge(val root: Configurable) extends QScript with SummaryQScrip
def init(): Unit = {
require(fastqR1 != null)
if (outputName == null) outputName = fastqR1.getName
.stripSuffix(".gz")
.stripSuffix(".fq")
.stripSuffix(".fastq")
require(outputName != null)
}
def biopetScript(): Unit = {
......
......@@ -41,10 +41,7 @@ class GearsKraken(val root: Configurable) extends QScript with SummaryQScript wi
def init(): Unit = {
require(fastqR1 != null)
if (outputName == null) outputName = fastqR1.getName
.stripSuffix(".gz")
.stripSuffix(".fq")
.stripSuffix(".fastq")
require(outputName != null)
}
lazy val krakenConvertToFasta: Boolean = config("kraken_discard_quality", default = false)
......
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