Skip to content
Snippets Groups Projects
Commit 4749b9f8 authored by Monika Komorowska's avatar Monika Komorowska
Browse files

generic RFAMParser which RFAMParser_E and RFAMParser_EG inherit from

parent d8a1585c
No related branches found
No related tags found
No related merge requests found
......@@ -8,6 +8,7 @@ use DBI;
use base qw( XrefParser::BaseParser );
use Bio::EnsEMBL::Registry;
sub run {
my ($self, $ref_arg) = @_;
......@@ -24,19 +25,9 @@ sub run {
my $file = @{$files}[0];
#get direct RFAM xrefs from core
my $registry = "Bio::EnsEMBL::Registry";
$registry->load_registry_from_multiple_dbs(
{
'-host' => 'ens-staging1',
'-user' => 'ensro',
},
{
'-host' => 'ens-staging2',
'-user' => 'ensro',
},
);
$self->load_registry($registry);
#get the species name
my %id2name = $self->species_id2name;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment