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
a6e1f2bc
Commit
a6e1f2bc
authored
Feb 19, 2015
by
Sander Bollen
Browse files
afterGraph was deprecated, now beforeGraph
parent
3a8de40e
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/extensions/VariantEffectPredictor.scala
View file @
a6e1f2bc
...
...
@@ -12,13 +12,13 @@ import org.broadinstitute.gatk.utils.commandline.{ Output, Input }
class
VariantEffectPredictor
(
val
root
:
Configurable
)
extends
BiopetCommandLineFunction
{
executable
=
config
(
"exe"
,
submodule
=
"perl"
,
default
=
"perl"
)
var
vep_script
:
String
=
config
(
"vep_script"
,
required
=
true
)
var
vep_script
:
String
=
config
(
"vep_script"
)
@Input
(
doc
=
"input VCF"
,
required
=
true
)
var
input
:
File
=
_
var
input
:
File
=
null
@Output
(
doc
=
"output file"
,
required
=
true
)
var
output
:
File
=
_
var
output
:
File
=
null
override
val
versionRegex
=
"""version (\d*)"""
.
r
override
def
versionCommand
=
executable
+
" "
+
vep_script
+
" --help"
...
...
@@ -125,8 +125,8 @@ class VariantEffectPredictor(val root: Configurable) extends BiopetCommandLineFu
var
db_version
:
Option
[
Int
]
=
config
(
"db_version"
)
var
buffer_size
:
Option
[
Int
]
=
config
(
"buffer_size"
)
override
def
after
Graph
:
Unit
=
{
super
.
after
Graph
override
def
before
Graph
:
Unit
=
{
super
.
before
Graph
if
(!
cache
&&
!
database
)
{
throw
new
IllegalArgumentException
(
"Must supply either cache or database"
)
}
else
if
(
cache
&&
dir
.
isEmpty
)
{
...
...
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