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
9461ff47
Commit
9461ff47
authored
8 years ago
by
Peter van 't Hof
Browse files
Options
Downloads
Patches
Plain Diff
Put scattering back in for baserecalibration
parent
f6bfca5d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/gatk/BaseRecalibrator.scala
+6
-7
6 additions, 7 deletions
...l/lumc/sasc/biopet/extensions/gatk/BaseRecalibrator.scala
with
6 additions
and
7 deletions
biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/gatk/BaseRecalibrator.scala
+
6
−
7
View file @
9461ff47
...
...
@@ -16,17 +16,16 @@ package nl.lumc.sasc.biopet.extensions.gatk
import
java.io.File
import
nl.lumc.sasc.biopet.core.ScatterGatherableFunction
import
nl.lumc.sasc.biopet.utils.VcfUtils
import
nl.lumc.sasc.biopet.utils.config.Configurable
import
org.broadinstitute.gatk.queue.extensions.gatk.TaggedFile
import
org.broadinstitute.gatk.utils.commandline.
{
Argument
,
Gather
,
Output
,
_
}
import
org.broadinstitute.gatk.utils.commandline.
{
Argument
,
Gather
,
Output
,
Input
}
//TODO: check gathering
class
BaseRecalibrator
(
val
root
:
Configurable
)
extends
CommandLineGATK
/* with ScatterGatherableFunction */
{
class
BaseRecalibrator
(
val
root
:
Configurable
)
extends
CommandLineGATK
with
ScatterGatherableFunction
{
def
analysis_type
=
"BaseRecalibrator"
//TODO: check gathering
//scatterClass = classOf[ContigScatterFunction]
//setupScatterFunction = { case scatter: GATKScatterFunction => scatter.includeUnmapped = false }
scatterClass
=
classOf
[
ContigScatterFunction
]
setupScatterFunction
=
{
case
scatter
:
GATKScatterFunction
=>
scatter
.
includeUnmapped
=
false
}
/** A database of known polymorphic sites */
@Input
(
fullName
=
"knownSites"
,
shortName
=
"knownSites"
,
doc
=
"A database of known polymorphic sites"
,
required
=
false
,
exclusiveOf
=
""
,
validation
=
""
)
...
...
@@ -38,7 +37,7 @@ class BaseRecalibrator(val root: Configurable) extends CommandLineGATK /* with S
/** The output recalibration table file to create */
@Output
(
fullName
=
"out"
,
shortName
=
"o"
,
doc
=
"The output recalibration table file to create"
,
required
=
true
,
exclusiveOf
=
""
,
validation
=
""
)
//TODO: check gathering
//
@Gather(classOf[org.broadinstitute.gatk.engine.recalibration.BQSRGatherer])
@Gather
(
classOf
[
org.broadinstitute.gatk.engine.recalibration.BQSRGatherer
])
var
out
:
File
=
_
/** One or more covariates to be used in the recalibration. Can be specified multiple times */
...
...
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