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
d3f1091c
Commit
d3f1091c
authored
Aug 02, 2012
by
Magali Ruffier
Browse files
added dna db for vega and otherfeatures databases
parent
95407922
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/Bio/EnsEMBL/Pipeline/Production/PepStats.pm
modules/Bio/EnsEMBL/Pipeline/Production/PepStats.pm
+6
-1
No files found.
modules/Bio/EnsEMBL/Pipeline/Production/PepStats.pm
View file @
d3f1091c
...
...
@@ -13,6 +13,10 @@ sub run {
my
$species
=
$self
->
param
('
species
');
my
$dbtype
=
$self
->
param
('
dbtype
');
my
$dba
=
Bio::EnsEMBL::
Registry
->
get_DBAdaptor
(
$species
,
$dbtype
);
if
(
$dbtype
=~
'
vega
'
||
$dbtype
=~
'
otherf
'
)
{
my
$core_dba
=
Bio::EnsEMBL::
Registry
->
get_DBAdaptor
(
$species
,
'
core
');
$dba
->
dnadb
(
$core_dba
);
}
my
$helper
=
$dba
->
dbc
()
->
sql_helper
();
my
%attrib_codes
=
$self
->
get_attrib_codes
();
...
...
@@ -116,7 +120,8 @@ sub get_attrib_codes {
sub
dump_translation
{
my
(
$self
,
$dba
,
$tmpfile
)
=
@_
;
my
$helper
=
$dba
->
dbc
()
->
sql_helper
();
my
$ta
=
Bio::EnsEMBL::
Registry
->
get_adaptor
(
$self
->
param
('
species
'),
'
core
',
'
translation
');
my
$dbtype
=
$self
->
param
('
dbtype
');
my
$ta
=
Bio::EnsEMBL::
Registry
->
get_adaptor
(
$self
->
param
('
species
'),
$dbtype
,
'
translation
');
open
(
TMP
,
"
>
$tmpfile
");
my
$sql
=
q{
SELECT tl.translation_id
...
...
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