Advertisement
cwchen

Load Ensembl database with Registry

Feb 23rd, 2016
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.38 KB | None | 0 0
  1. use strict;
  2. use warnings;
  3.  
  4. use Bio::EnsEMBL::Registry;
  5.  
  6. my $registry = 'Bio::EnsEMBL::Registry';
  7. # Modify parameters as follows to speed up loading time.
  8. $registry->load_registry_from_db(
  9.     -host => 'ensembldb.ensembl.org',
  10.     -user => 'anonymous',
  11.     -species => 'homo sapiens',
  12.     -db_version => 83,
  13.     );
  14.  
  15. my @adapters = $registry->get_adaptor('human', 'core', 'gene');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement