line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package BioX::SeqUtils::Promoter::SaveTypes; |
2
|
|
|
|
|
|
|
#################################################################### |
3
|
|
|
|
|
|
|
# Charles Stephen Embry # |
4
|
|
|
|
|
|
|
# MidSouth Bioinformatics Center # |
5
|
|
|
|
|
|
|
# University of Arkansas Little Rock # |
6
|
|
|
|
|
|
|
#################################################################### |
7
|
1
|
|
|
1
|
|
3011
|
use base qw(BioX::SeqUtils::Promoter::Base); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
148
|
|
8
|
|
|
|
|
|
|
use Class::Std; |
9
|
|
|
|
|
|
|
use Class::Std::Utils; |
10
|
|
|
|
|
|
|
use Module::Runtime qw(use_module); |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
use BioX::SeqUtils::Promoter::Sequences; |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
use warnings; |
15
|
|
|
|
|
|
|
use strict; |
16
|
|
|
|
|
|
|
use Carp; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
use version; our $VERSION = qv('0.1.1'); |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
{ |
21
|
|
|
|
|
|
|
no warnings 'redefine'; |
22
|
|
|
|
|
|
|
sub new { |
23
|
|
|
|
|
|
|
my ($self, $arg_ref) = @_; |
24
|
|
|
|
|
|
|
my $savetypes = defined $arg_ref->{savetypes} ? $arg_ref->{savetypes} : ''; |
25
|
|
|
|
|
|
|
return use_module('BioX::SeqUtils::Promoter::SaveTypes::' . $savetypes, 0.1.1)->new( $arg_ref ); |
26
|
|
|
|
|
|
|
} |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; # Magic true value required at end of module |
33
|
|
|
|
|
|
|
__END__ |