Skip to content
Snippets Groups Projects
Commit 74d27805 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

fixed strandProtocol

parent 94749303
No related branches found
No related tags found
No related merge requests found
......@@ -160,7 +160,7 @@ class Gentrap(val root: Configurable) extends QScript
/** Pipeline settings shown in the summary file */
override def summarySettings: Map[String, Any] = super.summarySettings ++ Map(
"expression_measures" -> expMeasures().toList.map(_.toString),
"strand_protocol" -> strandProtocol.toString,
"strand_protocol" -> strandProtocol().toString,
"call_variants" -> shivaVariantcalling.isDefined,
"remove_ribosomal_reads" -> removeRibosomalReads
)
......@@ -170,6 +170,9 @@ class Gentrap(val root: Configurable) extends QScript
super.init()
if (expMeasures().isEmpty) Logging.addError("'expression_measures' is missing in the config")
require(Gentrap.StrandProtocol.values.contains(strandProtocol()))
if (removeRibosomalReads && ribosomalRefFlat().isEmpty)
Logging.addError("removeRibosomalReads is enabled but no ribosomalRefFlat is given")
executedMeasures.foreach(x => x.outputDir = new File(outputDir, "expresion_measures" + File.separator + x.name))
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment