Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
biopet.biopet
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirrors
biopet.biopet
Commits
67ae06c1
Commit
67ae06c1
authored
10 years ago
by
bow
Browse files
Options
Downloads
Patches
Plain Diff
Use scalaz's implicit option for boolean
parent
e7764348
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/gentrap/src/main/scala/nl/lumc/sasc/biopet/pipelines/gentrap/Gentrap.scala
+1
-5
1 addition, 5 deletions
...scala/nl/lumc/sasc/biopet/pipelines/gentrap/Gentrap.scala
with
1 addition
and
5 deletions
public/gentrap/src/main/scala/nl/lumc/sasc/biopet/pipelines/gentrap/Gentrap.scala
+
1
−
5
View file @
67ae06c1
...
...
@@ -21,6 +21,7 @@ import scala.language.reflectiveCalls
import
org.broadinstitute.gatk.queue.QScript
import
org.broadinstitute.gatk.queue.function.QFunction
import
picard.analysis.directed.RnaSeqMetricsCollector.StrandSpecificity
import
scalaz._
,
Scalaz
.
_
import
nl.lumc.sasc.biopet.core._
import
nl.lumc.sasc.biopet.core.config._
...
...
@@ -771,11 +772,6 @@ class Gentrap(val root: Configurable) extends QScript with MultiSampleQScript wi
object
Gentrap
extends
PipelineCommand
{
/** Implicit extension that allows to create option values based on boolean values */
implicit
class
RichBoolean
(
val
b
:
Boolean
)
extends
AnyVal
{
final
def
option
[
A
](
a
:
=>
A
)
:
Option
[
A
]
=
if
(
b
)
Some
(
a
)
else
None
}
/** Enumeration of available expression measures */
object
ExpMeasures
extends
Enumeration
{
val
FragmentsPerGene
,
FragmentsPerExon
,
BasesPerGene
,
BasesPerExon
,
CufflinksStrict
,
CufflinksGuided
,
CufflinksBlind
=
Value
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment