Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
d1b10c50
Commit
d1b10c50
authored
Mar 20, 2015
by
Peter van 't Hof
Browse files
Switch gatk parts to new memory limits
parent
13e4d93a
Changes
4
Hide whitespace changes
Inline
Side-by-side
protected/biopet-gatk-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/gatk/broad/BaseRecalibrator.scala
View file @
d1b10c50
...
...
@@ -9,9 +9,6 @@ import java.io.File
import
nl.lumc.sasc.biopet.core.config.Configurable
class
BaseRecalibrator
(
val
root
:
Configurable
)
extends
org
.
broadinstitute
.
gatk
.
queue
.
extensions
.
gatk
.
BaseRecalibrator
with
GatkGeneral
{
memoryLimit
=
Option
(
4
)
override
val
defaultVmem
=
"8G"
if
(
config
.
contains
(
"scattercount"
))
scatterCount
=
config
(
"scattercount"
,
default
=
1
)
if
(
config
.
contains
(
"dbsnp"
))
knownSites
:+=
new
File
(
config
(
"dbsnp"
).
asString
)
if
(
config
.
contains
(
"known_sites"
))
knownSites
:+=
new
File
(
config
(
"known_sites"
).
asString
)
...
...
protected/biopet-gatk-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/gatk/broad/GatkGeneral.scala
View file @
d1b10c50
...
...
@@ -15,7 +15,7 @@ trait GatkGeneral extends CommandLineGATK with BiopetJavaCommandLineFunction {
jarFile
=
config
(
"gatk_jar"
)
override
val
default
Vmem
=
"7G"
override
val
default
CoreMemory
=
4.0
if
(
config
.
contains
(
"intervals"
))
intervals
=
config
(
"intervals"
).
asFileList
if
(
config
.
contains
(
"exclude_intervals"
))
excludeIntervals
=
config
(
"exclude_intervals"
).
asFileList
...
...
protected/biopet-gatk-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/gatk/broad/PrintReads.scala
View file @
d1b10c50
...
...
@@ -9,10 +9,6 @@ import java.io.File
import
nl.lumc.sasc.biopet.core.config.Configurable
class
PrintReads
(
val
root
:
Configurable
)
extends
org
.
broadinstitute
.
gatk
.
queue
.
extensions
.
gatk
.
PrintReads
with
GatkGeneral
{
memoryLimit
=
Option
(
4
)
override
val
defaultVmem
=
"8G"
if
(
config
.
contains
(
"scattercount"
))
scatterCount
=
config
(
"scattercount"
)
}
...
...
protected/biopet-gatk-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/gatk/broad/RealignerTargetCreator.scala
View file @
d1b10c50
...
...
@@ -9,9 +9,6 @@ import java.io.File
import
nl.lumc.sasc.biopet.core.config.Configurable
class
RealignerTargetCreator
(
val
root
:
Configurable
)
extends
org
.
broadinstitute
.
gatk
.
queue
.
extensions
.
gatk
.
RealignerTargetCreator
with
GatkGeneral
{
override
val
defaultVmem
=
"6G"
memoryLimit
=
Some
(
2.5
)
if
(
config
.
contains
(
"scattercount"
))
scatterCount
=
config
(
"scattercount"
)
if
(
config
.
contains
(
"known"
))
known
++=
config
(
"known"
).
asFileList
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment