diff --git a/misc-scripts/xref_mapping/XrefParser/RFAMParser_E.pm b/misc-scripts/xref_mapping/XrefParser/RFAMParser_E.pm new file mode 100644 index 0000000000000000000000000000000000000000..9b35ed2da5a1bf0617c9a0d05f60bcb7f6c59c1b --- /dev/null +++ b/misc-scripts/xref_mapping/XrefParser/RFAMParser_E.pm @@ -0,0 +1,32 @@ +package XrefParser::RFAMParser_E; +#RFAM Parser which loads the registry from the staging servers for EnsEMBL databases. + +use strict; +use warnings; +use Carp; +use DBI; + +use base qw( XrefParser::BaseParser); +use base qw( XrefParser::RFAMParser); +use Bio::EnsEMBL::Registry; + +sub load_registry { + + my ($self, $registry) = @_; + + $registry->load_registry_from_multiple_dbs( + { + '-host' => 'ens-staging1', + '-user' => 'ensro', + }, + { + '-host' => 'ens-staging2', + '-user' => 'ensro', + }, + ); + + return $registry; +} + + +1;