Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl-rest
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl-rest
Commits
a980c259
Commit
a980c259
authored
9 years ago
by
William McLaren
Browse files
Options
Downloads
Patches
Plain Diff
fetch compara adaptors, used by plugins
parent
b67f21fb
No related branches found
Branches containing commit
No related tags found
1 merge request
!87
Fixes so Conservation plugin works (master)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/EnsEMBL/REST/Controller/VEP.pm
+5
-1
5 additions, 1 deletion
lib/EnsEMBL/REST/Controller/VEP.pm
with
5 additions
and
1 deletion
lib/EnsEMBL/REST/Controller/VEP.pm
+
5
−
1
View file @
a980c259
...
...
@@ -91,6 +91,10 @@ sub get_species : Chained('/') PathPart('vep') CaptureArgs(1) {
if
(
$is_funcgen
)
{
$c
->
stash
(
$_
.
'
_adaptor
'
=>
$c
->
model
('
Registry
')
->
get_adaptor
(
$species
,
'
Funcgen
',
$_
))
for
@REG_FEAT_TYPES
;
}
# get compara adaptors
$c
->
stash
(
mlssa
=>
$c
->
model
('
Registry
')
->
get_adaptor
(
'
Multi
',
'
compara
',
'
MethodLinkSpeciesSet
'
)
);
$c
->
stash
(
cosa
=>
$c
->
model
('
Registry
')
->
get_adaptor
(
'
Multi
',
'
compara
',
'
ConservationScore
'
)
);
}
catch
{
$c
->
log
->
fatal
(
qq{problem making Bio::EnsEMBL::Variation::VariationFeature object}
);
$c
->
go
('
ReturnError
',
'
from_ensembl
',
[
qq{$_}
])
if
$_
=~
/STACK/
;
...
...
@@ -448,7 +452,7 @@ sub _include_user_params {
}
# add adaptors
$vep_params
{
$_
}
=
$c
->
stash
->
{
$_
}
for
qw(va vfa svfa tva csa sa ga)
,
map
{
$_
.
'
_adaptor
'}
@REG_FEAT_TYPES
;
$vep_params
{
$_
}
=
$c
->
stash
->
{
$_
}
for
qw(va vfa svfa tva csa sa ga
mlssa cosa
)
,
map
{
$_
.
'
_adaptor
'}
@REG_FEAT_TYPES
;
if
(
!
$c
->
stash
->
{'
RegulatoryFeature_adaptor
'})
{
delete
$vep_params
{
regulatory
};
};
my
$plugin_config
=
$self
->
_configure_plugins
(
$c
,
$user_config
,
\
%vep_params
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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