Skip to content

Commit 58650ec

Browse files
authored
Feature/cpan release 113 (#724)
* Prepare for CPAN release - Adds file for Bio::Ensembl - this makes it easier to release to CPAN - Adds dist.ini for Dist::Zilla - Update cpanfile - Add a blank line to packages, to enable Dist::Zilla to insert a package version * Remove version from example code - It's not necessary to set this explcitly. 113 is used if no version is given
1 parent d6f1632 commit 58650ec

28 files changed

+174
-0
lines changed

Changes

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Revision history for Bio::EnsEMBL, the EnsEMBL Core Perl API
2+
3+
{{$NEXT}}
4+
5+
113.0.0 2024-10-17 (TRIAL RELEASE)
6+
7+
- Release for Ensembl 113
8+
9+
112.0.0 2024-09-03
10+
11+
- Release for Ensembl 112

cpanfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
requires 'DBI';
22
requires 'DBD::mysql', '< 5.0'; # newer versions do not support MySQL 5
3+
requires 'DBD::SQLite';
34
requires 'HTTP::Tiny';
45
requires 'IO::Compress::Gzip';
56
requires 'URI::Escape';
67
requires 'Config::IniFiles';
78
requires 'Gzip::Faster';
89
requires 'List::MoreUtils';
10+
requires 'JSON';
911

1012
test_requires 'Test::Warnings';
1113
test_requires 'Test::Differences';
@@ -15,6 +17,8 @@ test_requires 'Test::Deep';
1517
test_requires 'Test::More';
1618
test_requires 'Devel::Peek';
1719
test_requires 'Devel::Cycle';
20+
test_requires 'Devel::Cover';
21+
test_requires 'Devel::Cover::Report::Coveralls';
1822
test_requires 'Error';
1923
test_requires 'PadWalker';
2024
test_requires 'Test::Builder::Module';

dist.ini

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name = Bio-EnsEMBL
2+
; Major: the EnsEMBL release
3+
; Minor: for patches to an EnsEMBL release
4+
; Patch: for changes related to CPAN packaging
5+
version = 113.0.0
6+
author = Arne Becker <[email protected]>
7+
license = Apache_2_0
8+
copyright_holder = EMBL-EBI
9+
abstract = Bio::EnsEMBL - Ensembl Core API
10+
main_module = lib/Bio/EnsEMBL.pm
11+
12+
[GatherFile]
13+
filename = Changes
14+
filename = CONTRIBUTING.md
15+
16+
[GatherDir / libs]
17+
root = modules
18+
prefix = lib
19+
20+
[PruneFiles]
21+
match = ^lib/t/
22+
23+
[PruneCruft]
24+
25+
[PkgVersion]
26+
27+
[AutoPrereqs]
28+
skip = ^Bio::EnsEMBL::XS$
29+
skip = ^Bio::EnsEMBL::Utils::User_defined_load$
30+
skip = ^SeqStoreConverter::BasicConverter$
31+
skip = ^Bio::EnsEMBL::Production::DBSQL::DBAdaptor$
32+
skip = ^Bio::EnsEMBL::MetaData::DBSQL::MetaDataDBAdaptor$
33+
skip = ^Bio::EnsEMBL::Taxonomy::DBSQL::TaxonomyDBAdaptor$
34+
35+
[NextRelease]
36+
format = %-9v %{yyyy-MM-dd}d%{ (TRIAL RELEASE)}T
37+
38+
[Test::ChangesHasContent]
39+
40+
[MinimumPerlFast]
41+
42+
[ManifestSkip]
43+
44+
[GitHub::Meta]
45+
46+
[MetaYAML]
47+
48+
[MetaJSON]
49+
50+
[License]
51+
52+
[ReadmeAnyFromPod]
53+
54+
[MakeMaker]
55+
56+
[Manifest]
57+
58+
[TestRelease]
59+
60+
[ConfirmRelease]
61+
62+
[UploadToCPAN]

modules/Bio/EnsEMBL.pm

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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+
73+
1;

modules/Bio/EnsEMBL/Analysis/Programs.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ limitations under the License.
2929
=cut
3030

3131
package Bio::EnsEMBL::Analysis::Programs;
32+
3233
use strict;
3334
use vars qw( %Program_Paths );
3435
use Carp;

modules/Bio/EnsEMBL/CircularSlice.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ retrieve sequence or features from an area of interest.
6666
=cut
6767

6868
package Bio::EnsEMBL::CircularSlice;
69+
6970
use vars qw(@ISA);
7071
use strict;
7172

modules/Bio/EnsEMBL/DBSQL/AssemblyMapperAdaptor.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ common mapping to an intermediate coordinate system.
8080
=cut
8181

8282
package Bio::EnsEMBL::DBSQL::AssemblyMapperAdaptor;
83+
8384
use vars qw(@ISA);
8485
use strict;
8586

modules/Bio/EnsEMBL/DBSQL/BaseAdaptor.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ case the convention is to go list_XXXX, such as
9595
=cut
9696

9797
package Bio::EnsEMBL::DBSQL::BaseAdaptor;
98+
9899
require Exporter;
99100
use vars qw(@ISA @EXPORT);
100101
use strict;

modules/Bio/EnsEMBL/DBSQL/BaseAlignFeatureAdaptor.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ DnaAlignFeatureAdaptor and ProteinAlignFeatureAdaptor.
4848
=cut
4949

5050
package Bio::EnsEMBL::DBSQL::BaseAlignFeatureAdaptor;
51+
5152
use vars qw(@ISA @EXPORT);
5253
use strict;
5354

modules/Bio/EnsEMBL/DBSQL/BaseFeatureAdaptor.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ common to all feature adaptors.
4949
=cut
5050

5151
package Bio::EnsEMBL::DBSQL::BaseFeatureAdaptor;
52+
5253
use vars qw(@ISA @EXPORT);
5354
use strict;
5455

0 commit comments

Comments
 (0)