| 1 | # Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute | ||
| 2 | # Copyright [2016-2024] EMBL-European Bioinformatics Institute | ||
| 3 | |||
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 5 | # you may not use this file except in compliance with the License. | ||
| 6 | # You may obtain a copy of the License at | ||
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 | ||
| 8 | |||
| 9 | # Unless required by applicable law or agreed to in writing, software | ||
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, | ||
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| 12 | # See the License for the specific language governing permissions and | ||
| 13 | # limitations under the License. | ||
| 14 | |||
| 15 | =pod | ||
| 16 | |||
| 17 | =encoding UTF-8 | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Bio::EnsEMBL - API to connect to and work with EnsEMBL genomic databases | ||
| 22 | |||
| 23 | =head1 SYNOPSIS | ||
| 24 | |||
| 25 | use Bio::EnsEMBL::Registry; | ||
| 26 | |||
| 27 | Bio::EnsEMBL::Registry->load_registry_from_db( | ||
| 28 | -host => 'ensembldb.ensembl.org', | ||
| 29 | -user => 'anonymous', | ||
| 30 | -species => 'homo sapiens', | ||
| 31 | -group => 'core' | ||
| 32 | ); | ||
| 33 | my $slice_adaptor = Bio::EnsEMBL::Registry->get_adaptor( | ||
| 34 | 'homo sapiens', 'Core', 'Slice' | ||
| 35 | ); | ||
| 36 | my $slice = $slice_adaptor->fetch_by_gene_stable_id('ENSG00000101266'); | ||
| 37 | say $slice->display_id(); | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | L<Bio::EnsEMBL> is the namespace for the EnsEMBL Core API. | ||
| 42 | The Core API provides access to the EnsEMBL genomic databases. | ||
| 43 | |||
| 44 | Most people will want to use L<Bio::EnsEMBL::Registry> as an entry point. | ||
| 45 | |||
| 46 | =head1 SEE ALSO | ||
| 47 | |||
| 48 | L<https://www.ensembl.org/info/docs/api/index.html> | ||
| 49 | |||
| 50 | =head1 SUPPORT | ||
| 51 | |||
| 52 | Please email comments or questions to the public EnsEMBL developers list at | ||
| 53 | L<http://lists.ensembl.org/mailman/listinfo/dev>. | ||
| 54 | |||
| 55 | Questions may also be sent to the EnsEMBL help desk at | ||
| 56 | L<http://www.ensembl.org/Help/Contact>. | ||
| 57 | |||
| 58 | =head1 COPYRIGHT AND LICENCE | ||
| 59 | |||
| 60 | Copyright [1999-2015] Wellcome Trust Sanger Institute and the EMBL-European Bioinformatics Institute | ||
| 61 | |||
| 62 | Copyright [2016-2024] EMBL-European Bioinformatics Institute | ||
| 63 | |||
| 64 | Licensed under the Apache License, Version 2.0 | ||
| 65 | |||
| 66 | =cut | ||
| 67 | |||
| 68 | use strict; | ||
| 69 | use warnings; | ||
| 70 | package Bio::EnsEMBL; | ||
| 71 | # ABSTRACT: API to connect to and work with EnsEMBL genomic databases | ||
| 72 | $Bio::EnsEMBL::VERSION = '114.0.0'; | ||
| 73 | 1; |