Promoter/Annotations.pm

filter: Statementstmt 100% 3 / 3 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 4 / 4 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« Promoter/Alignment.pm ↑ Summary Promoter/Annotations/Base.pm »
1 package BioX::SeqUtils::Promoter::Annotations;
2 ####################################################################
3 # Charles Stephen Embry #
4 # MidSouth Bioinformatics Center #
5 # University of Arkansas Little Rock #
6 ####################################################################
7 1 ▶use base qw(BioX::SeqUtils::Promoter::Base);
Subroutine BEGIN: called CC=1 SCAR=0.0
8 use Class::Std;
9 use BioX::SeqUtils::Promoter::Sequence;
10 use BioX::SeqUtils::Promoter::Sequences;
11 use Class::Std::Utils;
12 use Module::Runtime qw(use_module);
13  
14  
15 use warnings;
16 use strict;
17 use Carp;
18  
19 use version; our $VERSION = qv('0.1.1');
20  
21 {
22 no warnings 'redefine';
23 sub new {
24 my ($self, $arg_ref) = @_;
25 my $type = defined $arg_ref->{type} ? $arg_ref->{type} : '';
26 return use_module('BioX::SeqUtils::Promoter::Annotations::' . $type, 0.1.1)->new( $arg_ref );
27 }
28  
29  
30  
31 }
32  
33  
34 1; # Magic true value required at end of module
35 __END__
« Promoter/Alignment.pm ↑ Summary Promoter/Annotations/Base.pm »