# Example of configuration file used by Bio::EnsEMBL::Registry::load_all
# method to store/register all kind of Adaptors.

use strict;
use Bio::EnsEMBL::Utils::ConfigRegistry;
use Bio::EnsEMBL::DBSQL::DBAdaptor;
use Bio::EnsEMBL::Compara::DBSQL::DBAdaptor;

my @aliases;

#Load registry of whole release
#Bio::EnsEMBL::Registry->load_registry_from_url(
#  'mysql://ensro@ens-livemirror:3306/65');

#Load registry for specific databases
new Bio::EnsEMBL::DBSQL::DBAdaptor(
    -host => 'ens-livemirror',
    -user => 'ensro',
    -port => 3306,
    -species => 'homo_sapiens',
    -dbname => 'homo_sapiens_core_73_37');

@aliases = ('human');

Bio::EnsEMBL::Utils::ConfigRegistry->add_alias(
    -species => "homo_sapiens",
    -alias => \@aliases);

new Bio::EnsEMBL::DBSQL::DBAdaptor(
    -host => 'ens-livemirror',
    -user => 'ensro',
    -port => 3306,
    -species => 'mus_musculus',
    -dbname => 'mus_musculus_core_73_38');

@aliases = ('mouse');

Bio::EnsEMBL::Utils::ConfigRegistry->add_alias(
    -species => "mus_musculus",
    -alias => \@aliases);

1;
