Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
32ccf1c2
Commit
32ccf1c2
authored
Aug 02, 2012
by
Magali Ruffier
Browse files
dbtype is an argument, so it can be run on core, vega, otherfeatures...
parent
547d5b7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
modules/Bio/EnsEMBL/Pipeline/Production/PepStats.pm
modules/Bio/EnsEMBL/Pipeline/Production/PepStats.pm
+6
-4
No files found.
modules/Bio/EnsEMBL/Pipeline/Production/PepStats.pm
View file @
32ccf1c2
...
...
@@ -10,9 +10,10 @@ use Bio::EnsEMBL::Attribute;
sub
run
{
my
(
$self
)
=
@_
;
my
$species
=
$self
->
param
('
species
');
my
$dba
=
Bio::EnsEMBL::
Registry
->
get_DBAdaptor
(
$species
,
'
core
');
my
$helper
=
$dba
->
dbc
()
->
sql_helper
();
my
$species
=
$self
->
param
('
species
');
my
$dbtype
=
$self
->
param
('
dbtype
');
my
$dba
=
Bio::EnsEMBL::
Registry
->
get_DBAdaptor
(
$species
,
$dbtype
);
my
$helper
=
$dba
->
dbc
()
->
sql_helper
();
my
%attrib_codes
=
$self
->
get_attrib_codes
();
$self
->
delete_old_attrib
(
$dba
,
%attrib_codes
);
...
...
@@ -29,7 +30,8 @@ sub run {
sub
store_attrib
{
my
(
$self
,
$translation
,
$results
)
=
@_
;
my
$aa
=
Bio::EnsEMBL::
Registry
->
get_adaptor
(
$self
->
param
('
species
'),
'
core
',
'
Attribute
');
my
$dbtype
=
$self
->
param
('
dbtype
');
my
$aa
=
Bio::EnsEMBL::
Registry
->
get_adaptor
(
$self
->
param
('
species
'),
$dbtype
,
'
Attribute
');
my
$prod_dba
=
$self
->
get_production_DBAdaptor
();
my
$prod_helper
=
$prod_dba
->
dbc
()
->
sql_helper
();
my
@attribs
;
...
...
Write
Preview
Markdown
is supported
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