Skip to content
Snippets Groups Projects
Commit a207d0b6 authored by bow's avatar bow
Browse files

Fix duplicate value on valid cufflinks measures

parent 10873179
Branches
Tags
No related merge requests found
...@@ -13,7 +13,7 @@ trait CufflinksProducer { this: Gentrap#Sample => ...@@ -13,7 +13,7 @@ trait CufflinksProducer { this: Gentrap#Sample =>
import Gentrap.StrandProtocol._ import Gentrap.StrandProtocol._
/** Valid cufflink measure types */ /** Valid cufflink measure types */
protected val cufflinksMeasures = Set(CufflinksStrict, CufflinksGuided, CufflinksStrict) protected val cufflinksMeasures = Set(CufflinksStrict, CufflinksGuided, CufflinksBlind)
/** Cufflink's terms for strand specificity */ /** Cufflink's terms for strand specificity */
lazy val strandedness: String = { lazy val strandedness: String = {
...@@ -28,7 +28,8 @@ trait CufflinksProducer { this: Gentrap#Sample => ...@@ -28,7 +28,8 @@ trait CufflinksProducer { this: Gentrap#Sample =>
/** Case class for containing cufflinks + its output symlink jobs */ /** Case class for containing cufflinks + its output symlink jobs */
protected case class CufflinksJobSet(cuffType: ExpMeasures.Value) { protected case class CufflinksJobSet(cuffType: ExpMeasures.Value) {
require(cufflinksMeasures.contains(cuffType), "Cufflinks measurement type is either strict, guided, or blind") require(cufflinksMeasures.contains(cuffType),
"Cufflinks measurement type is either " + cufflinksMeasures.mkString(", ") + s"; not $cuffType")
/** Base name for output file extensions and config path */ /** Base name for output file extensions and config path */
lazy val name: String = cuffType match { lazy val name: String = cuffType match {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment