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
b5500137
Commit
b5500137
authored
9 years ago
by
Sander Bollen
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix-toucan' into 'develop'
Fix toucan See merge request !279
parents
09e0d7e1
80917351
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
public/biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/VariantEffectPredictor.scala
+9
-8
9 additions, 8 deletions
.../lumc/sasc/biopet/extensions/VariantEffectPredictor.scala
with
9 additions
and
8 deletions
public/biopet-extensions/src/main/scala/nl/lumc/sasc/biopet/extensions/VariantEffectPredictor.scala
+
9
−
8
View file @
b5500137
...
...
@@ -17,6 +17,7 @@ package nl.lumc.sasc.biopet.extensions
import
java.io.File
import
nl.lumc.sasc.biopet.utils.Logging
import
nl.lumc.sasc.biopet.utils.config.Configurable
import
nl.lumc.sasc.biopet.core.
{
Version
,
BiopetCommandLineFunction
,
Reference
}
import
org.broadinstitute.gatk.utils.commandline.
{
Input
,
Output
}
...
...
@@ -40,8 +41,8 @@ class VariantEffectPredictor(val root: Configurable) extends BiopetCommandLineFu
def
versionCommand
=
executable
+
" "
+
vepScript
+
" --help"
//Boolean vars
var
v
:
Boolean
=
config
(
"v"
,
default
=
true
)
var
q
:
Boolean
=
config
(
"q"
,
default
=
false
)
var
v
:
Boolean
=
config
(
"v"
,
default
=
true
,
freeVar
=
false
)
var
q
:
Boolean
=
config
(
"q"
,
default
=
false
,
freeVar
=
false
)
var
offline
:
Boolean
=
config
(
"offline"
,
default
=
false
)
var
no_progress
:
Boolean
=
config
(
"no_progress"
,
default
=
false
)
var
everything
:
Boolean
=
config
(
"everything"
,
default
=
false
)
...
...
@@ -76,8 +77,8 @@ class VariantEffectPredictor(val root: Configurable) extends BiopetCommandLineFu
var
old_map
:
Boolean
=
config
(
"old_maf"
,
default
=
false
)
var
pubmed
:
Boolean
=
config
(
"pubmed"
,
default
=
false
)
var
vcf
:
Boolean
=
config
(
"vcf"
,
default
=
true
)
var
json
:
Boolean
=
config
(
"json"
,
default
=
false
)
var
vcf
:
Boolean
=
config
(
"vcf"
,
default
=
true
,
freeVar
=
false
)
var
json
:
Boolean
=
config
(
"json"
,
default
=
false
,
freeVar
=
false
)
var
gvf
:
Boolean
=
config
(
"gvf"
,
default
=
false
)
var
check_ref
:
Boolean
=
config
(
"check_ref"
,
default
=
false
)
var
coding_only
:
Boolean
=
config
(
"coding_only"
,
default
=
false
)
...
...
@@ -103,8 +104,8 @@ class VariantEffectPredictor(val root: Configurable) extends BiopetCommandLineFu
var
skip_db_check
:
Boolean
=
config
(
"skip_db_check"
,
default
=
false
)
// Textual args
var
vep_config
:
Option
[
String
]
=
config
(
"config"
)
var
species
:
Option
[
String
]
=
config
(
"species"
)
var
vep_config
:
Option
[
String
]
=
config
(
"config"
,
freeVar
=
false
)
var
species
:
Option
[
String
]
=
config
(
"species"
,
freeVar
=
false
)
var
assembly
:
Option
[
String
]
=
config
(
"assembly"
)
var
format
:
Option
[
String
]
=
config
(
"format"
)
var
dir
:
Option
[
String
]
=
config
(
"dir"
)
...
...
@@ -146,9 +147,9 @@ class VariantEffectPredictor(val root: Configurable) extends BiopetCommandLineFu
override
def
beforeGraph
()
:
Unit
=
{
super
.
beforeGraph
()
if
(!
cache
&&
!
database
)
{
throw
new
IllegalArgumentException
(
"Must supply either cache or database for VariantEffectPredictor"
)
Logging
.
addError
(
"Must supply either cache or database for VariantEffectPredictor"
)
}
else
if
(
cache
&&
dir
.
isEmpty
)
{
throw
new
IllegalArgumentException
(
"Must supply dir to cache for VariantEffectPredictor"
)
Logging
.
addError
(
"Must supply dir to cache for VariantEffectPredictor"
)
}
}
...
...
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