lib/Bio/CUA/Summarizer.pm

filter: Statementstmt 75.0% 99 / 132 Branchbran 41.3% 38 / 92 Conditioncond 23.0% 3 / 13 MC/DCmcdc 0.0% 0 / 6 Subroutinesub 82.6% 19 / 23 Podpod 81.8% 9 / 11 totaltotal 60.6% 168 / 277 SCAR 54.0
CC
50
Cov
59%
tabulate_AAs
72.0
_is_sense_codon
20.0
new
18.8
CRAP 221.4
« lib/Bio/CUA/CUB/Calculator.pm ↑ Summary lib/Bio/CUA/CodonTable.pm »
1 package Bio::CUA::Summarizer;
2  
3 4 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 4 ▶use parent qw/Bio::CUA/;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 4 ▶use Bio::CUA::CodonTable;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 4 my $codonPkg = 'Bio::CUA::CodonTable';
10 4 my $pkg = __PACKAGE__;
11 4 my @bases = qw/A T C G/;
12  
13 # determine which class is used for sequence processing
14 4 my $seq_io_pkg;
15 BEGIN{
16 # set version which might be checked during compilation
17 #our $VERSION = 1.01;
18  
19 # determine sequence processing module
20 4 ▶ eval { require Bio::SeqIO; };
Subroutine BEGIN: called CC=2 SCAR=7.2
21 4 ▶ if($@) # Bio::SeqIO is not available
Branch: 1 branch
BranchTrueFalseTotal
if ($@) { } 4 0 4
22 {
23 4 $seq_io_pkg = 'Bio::CUA::SeqIO';
24 4 require Bio::CUA::SeqIO;
25 }else # otherwise use Bio::SeqIO
26 {
27 0 $seq_io_pkg = 'Bio::SeqIO';
28 }
29 }
30  
31 =pod
32  
33 =head1 NAME
34  
35 Bio::CUA::Summarizer - a class to summarize features of sequences.
36  
37 =head1 SYNOPSIS
38  
39 This class provides convenience for its child classes with methods
40 summarizing sequence features, such
41 as counting and listing amino acids and codons, retrieving amino acids
42 with certain degree degeneracy in a genetic table. Refer to the
43 L</Methods> section for more details.
44  
45 use Bio::CUA::Summarizer;
46  
47 my $summarizer = Bio::CUA::Summarizer->new(
48 codon_table => 1 ); # using stardard genetic code
49
50 # get codons in a sequence file
51 my $codonList = $summarizer->tabulate_codons('seqs.fa');
52 # get the codon table object of this summarizer
53 my $table = $summarizer->codon_table;
54 # get all sense codons in the genetic codon table
55 my @senseCodons = $summarizer->all_sense_codons;
56 # get codons encoding an amino acid
57 my @codons = $summarizer->codons_of_AA('Ser');
58  
59 =cut
60  
61  
62 =head2 new
63  
64 Title : new
65 Usage : $obj=Bio::CUA::Summarizer->new(%args);
66 Function: create an object which can be used to summarizing sequence
67 features.
68 Returns : an object of this or child class
69 Args : a hash with a key 'codon_table', acceptable values are
70 codon_table => id of genetic codon table # 1
71 codon_table => Bio::CUA::CodonTable object # 2
72 codon_table => 'map-file' # 3
73  
74 =over 3
75  
76 =item 1
77  
78 id of genetic codon table can be found from L<NCBI genetic
79 codes|http://www.ncbi.nlm.nih.gov/Taxonomy/Utils/wprintgc.cgi?mode=t>.
80 A valid id is an integer.
81  
82 =item 2
83  
84 an object of L<Bio::CUA::CodonTable>. One can directly provide an
85 object to the method.
86  
87 =item 3
88  
89 If genetic code in analyzed sequences is not included in NCBI, one can
90 also provide its own genetic code in a map-file, in the format of
91 codon1<tab>AA1
92 codon2<tab>AA2,
93 ... ... ....
94  
95 =back
96  
97 Note all the analyzed sequences will use this provided genetic codon
98 table to map between amino acids and codons.
99  
100 =cut
101  
102 sub new
103 {
104 3 ▶ my ($caller, @args) = @_;
Subroutine new: called CC=10 SCAR=29.3
Pod documented
105 3 my $self = $caller->SUPER::new(@args);
106  
107 3 my $hashRef = $self->_array_to_hash(\@args);
108  
109 # only process its own argument
110 3 my $codonTable;
111 3 ▶ while(my ($tag, $val) = each %$hashRef)
Branch: 1 branch
BranchTrueFalseTotal
if (() = each %$hashRef) 5 0 5
112 {
113 5 ▶ next unless($tag eq 'codon_table');
Branch: 1 branch
BranchTrueFalseTotal
unless $tag eq "codon_table" 2 3 5
114 3 ▶ if(ref($val))
Branch: 2 branches
BranchTrueFalseTotal
if (ref $val) { } 0 3 3
elsif ($val =~ /^\d+$/) { } 3 0 3
115 {
116 0 ▶ $self->throw("$val is not an object of $codonPkg")
Branch: 1 branch
BranchTrueFalseTotal
unless $val->isa($codonPkg) 0 0 0
117 unless($val->isa($codonPkg));
118 0 $codonTable = $val;
119 }elsif($val =~ /^\d+$/) # genetic code id
120 {
121 3 ▶ $codonTable = $codonPkg->new(-id => $val) or
Branch: 1 branch
BranchTrueFalseTotal
$codonTable = $codonPkg->new("-id", $val) or $self->throw("Invalid genetic code ID '${val}'") 0 3 3
122 $self->throw("Invalid genetic code ID '$val'");
123 }else # a map file
124 {
125 0 ▶ $codonTable = $codonPkg->new(-map_file => $val) or
Branch: 1 branch
BranchTrueFalseTotal
$codonTable = $codonPkg->new("-map_file", $val) or $self->throw("Can not construct codon table with file '${val}'") 0 0 0
126 $self->throw("Can not construct codon table with file '$val'");
127 }
128 3 last;
129 }
130 3 ▶ $self->warn("option 'codon_table' is missing in the method",
Branch: 1 branch
BranchTrueFalseTotal
unless $codonTable 0 3 3
Condition20%1/5
$codonTable || $self->warn(q[option 'codon_table' is missing in the method], "'new' of $pkg") && (return undef)
l!l&&r!l&&!r
300
$self->warn("option 'codon_table' is missing in the method", "'new' of $pkg") and return undef
!ll
00
MC/DC0%0/2
$codonTable || $self->warn(q[option 'codon_table' is missing in the method], "'new' of $pkg") && (return undef)
$codonTable $self->warn("option 'codon_table' is missing in the method", "'new' of $pkg")
Truth table33%1/3
A || B
A= $codonTableB= $self->warn("option 'codon_table' is missing in the method", "'new' of $pkg")
ABresult
1X1
011
000
131 "'new' of $pkg") and return undef unless($codonTable);
132 # store the result
133 3 $self->{'_codon_table'} = $codonTable;
134  
135 3 return $self;
136 }
137  
138 =head2 codon_table
139  
140 Title : codon_table
141 Usage : $table = $self->codon_table;
142 Function: get associated codon table of this object
143 Returns : an object of L<Bio::CUA::CodonTable>
144 Args : None
145  
146 =cut
147  
148 sub codon_table
149 {
150 249 ▶ my $table = $_[0]->{'_codon_table'} or
Subroutine codon_table: called CC=2 SCAR=7.2
Pod documented
Branch: 1 branch
BranchTrueFalseTotal
my $table = $_[0]{"_codon_table"} or $_[0]->warn("No codon table associated with this object $_[0]") 0 249 249
151 $_[0]->warn("No codon table associated with this object $_[0]");
152 249 return $table;
153 }
154  
155 =head2 bases
156  
157 get the 4 nucleotides A,T,C,G always in this order, to keep
158 consistency among different classes
159  
160 =cut
161  
162 # get all the nucleotide bases in a certain order
163 sub bases
164 {
165 1 ▶ return wantarray? @bases : \@bases;
Subroutine bases: called CC=2 SCAR=7.6
Pod documented
Branch: 1 branch
BranchTrueFalseTotal
wantarray ? : 1 0 1
166 }
167  
168 # sequence-level functions
169 =head2 get_codon_list
170  
171 Title : get_codon_list
172 Usage : $codonList = $self->get_codon_list($input)
173 Function: get codons and their counts in input
174 Returns : reference to a hash containing codons as keys and counts
175 as values.
176 Args : seq string, seq object, seq file, or another codon list
177  
178 =cut
179  
180 # the main interface to preprocess input to most methods
181 # return a codon list with its count
182 # acceptable parameters: seq string, seq object, seq file, codon list
183 sub get_codon_list
184 {
185 57 ▶ my ($self, $input) = @_;
Subroutine get_codon_list: called CC=5 SCAR=17.8
Pod undocumented
186  
187 57 my $ref = ref($input);
188 57 ▶ unless($ref) # a scalar variable
Branch: 1 branch
BranchTrueFalseTotal
unless ($ref) 5 52 57
189 {
190 # a sequence string
191 5 ▶ if($input =~ /^[ATGCUN]+$/ and (! -f $input))
Branch: 1 branch
BranchTrueFalseTotal
if ($input =~ /^[ATGCUN]+$/ and not -f $input) { } 0 5 5
Condition33%1/3
$input =~ /^[ATGCUN]+$/ and not -f $input
!ll&&!rl&&r
500
MC/DC0%0/2
$input =~ /^[ATGCUN]+$/ and not -f $input
$input =~ /^[ATGCUN]+$/ not -f $input
Truth table33%1/3
A and not(B)
A= $input =~ /^[ATGCUN]+$/B= not -f $input
ABresult
0X0
100
111
192 {
193 0 return $self->_catalog_codons($input);
194 }else # a sequence file
195 {
196 5 return $self->tabulate_codons($input);
197 }
198 }
199  
200 52 ▶ if($ref eq 'HASH') # codon list
Branch: 1 branch
BranchTrueFalseTotal
if ($ref eq 'HASH') { } 0 52 52
201 {
202 0 return $input;
203 }else # an seq object
204 {
205 52 return $self->_catalog_codons($input);
206 }
207 }
208  
209 =head2 tabulate_codons
210  
211 Title : tabulate_codons
212 Usage : $codonList = $self->tabulate_codons($input,[$each]);
213 Function: count codons in the input sequences
214 Returns : reference to a hash in which codon is the key and counts as
215 values. If $each is true, then each sequence is separately processed
216 and stored in a larger hash with the sequence names as hash keys
217 Args : accepted arguments are as follows:
218 I<input> = name of a file containing fasta sequences
219 I<each> = optional, if TRUE (i.e., non-zero values), each sequence is
220 separately processed.
221  
222 This is a companionate method of L</get_codon_list> for situations
223 when one want to get codon counts for each sequence separately.
224  
225 =cut
226  
227 sub tabulate_codons
228 {
229 6 ▶ my ($self, $input, $each) = @_;
Subroutine tabulate_codons: called CC=7 SCAR=21.5
Pod documented
230  
231 6 ▶ my $seqIO = $self->_get_seq_io($input) or return;
Branch: 1 branch
BranchTrueFalseTotal
my $seqIO = $self->_get_seq_io($input) or return 0 6 6
232 6 my %list;
233  
234 6 ▶ if($each)
Branch: 1 branch
BranchTrueFalseTotal
if ($each) { } 0 6 6
235 {
236 0 ▶ while(my $seq = $seqIO->next_seq())
Branch: 1 branch
BranchTrueFalseTotal
if (my $seq = $seqIO->next_seq) 0 0 0
237 {
238 0 my $codons = $self->_catalog_codons($seq->seq);
239 0 $list{$seq->id} = $codons;
240 }
241  
242 }else # otherwise process together
243 {
244 6 ▶ while(my $seq = $seqIO->next_seq())
Branch: 1 branch
BranchTrueFalseTotal
if (my $seq = $seqIO->next_seq) 78 6 84
245 {
246 78 my $codons = $self->_catalog_codons($seq->seq);
247 # merge all codons together
248 78 ▶ while(my ($c, $v) = each %$codons)
Branch: 1 branch
BranchTrueFalseTotal
if (() = each %$codons) 4758 78 4836
249 {
250 4758 $list{$c} += $v;
251 }
252 }
253 }
254
255 6 ▶ return undef unless(keys %list);
Branch: 1 branch
BranchTrueFalseTotal
unless keys %list 0 6 6
256 6 return \%list;
257 }
258  
259 =head2 tabulate_AAs
260  
261 Title : tabulate_AAs
262 Usage : $AAList = $self->tabulate_AAs($input,[$each]);
263 Function: similar to L</tabulate_codons>, but for counting amino acids
264 Returns : the same as L</tabulate_codons>, but for amino acids
265 Args : refer to L</tabulate_codons>.
266  
267 =cut
268  
269 sub tabulate_AAs
270 {
271 0 ▶ my ($self, $input, $each) = @_;
Subroutine tabulate_AAs: not called CC=8 SCAR=42.8
Pod documented
272  
273 0 ▶ my $codonList = $self->tabulate_codons($input) or return;
Branch: 1 branch
BranchTrueFalseTotal
my $codonList = $self->tabulate_codons($input) or return 0 0 0
274  
275 0 my %AAs;
276 0 ▶ if($each)
Branch: 1 branch
BranchTrueFalseTotal
if ($each) { } 0 0 0
277 {
278 0 ▶ while(my ($id, $hashRef) = each %$codonList)
Branch: 1 branch
BranchTrueFalseTotal
if (() = each %$codonList) 0 0 0
279 {
280 0 ▶ while(my ($codon, $count) = each %$codonList)
Branch: 1 branch
BranchTrueFalseTotal
if (() = each %$codonList) 0 0 0
281 {
282 0 ▶ my $AA = $self->_codon_to_aa($codon) or next;
Branch: 1 branch
BranchTrueFalseTotal
my $AA = $self->_codon_to_aa($codon) or next 0 0 0
283 0 $AAs{$id}->{$AA} += $count;
284 }
285 }
286 }else
287 {
288 0 ▶ while(my ($codon, $count) = each %$codonList)
Branch: 1 branch
BranchTrueFalseTotal
if (() = each %$codonList) 0 0 0
289 {
290 0 ▶ my $AA = $self->_codon_to_aa($codon) or next;
Branch: 1 branch
BranchTrueFalseTotal
my $AA = $self->_codon_to_aa($codon) or next 0 0 0
291 0 $AAs{$AA} += $count;
292 }
293 }
294  
295 0 return \%AAs;
296 }
297  
298 # get the sequence IO and return it
299 sub _get_seq_io
300 {
301 6 ▶ my ($self, $input) = @_;
Subroutine _get_seq_io: called CC=3 SCAR=13.5
302  
303 6 ▶ $self->warn("input fasta file is needed to obtain seq IO") and return
Branch: 1 branch
BranchTrueFalseTotal
unless $input 0 6 6
Condition20%1/5
$input || $self->warn('input fasta file is needed to obtain seq IO') && (return)
l!l&&r!l&&!r
600
$self->warn("input fasta file is needed to obtain seq IO") and return
!ll
00
MC/DC0%0/2
$input || $self->warn('input fasta file is needed to obtain seq IO') && (return)
$input $self->warn("input fasta file is needed to obtain seq IO")
Truth table33%1/3
A || B
A= $inputB= $self->warn("input fasta file is needed to obtain seq IO")
ABresult
1X1
011
000
304 unless($input);
305 # at present, use Bio::SeqIO
306 6 my $io = $seq_io_pkg->new(-file => $input, -format => 'fasta');
307 6 return $io;
308 }
309  
310  
311 # codon table functions
312 =head2 all_sense_codons
313  
314 get all sense codons in the genetic codon table this object
315  
316 =cut
317  
318 sub all_sense_codons
319 {
320 2 ▶ my ($self) = @_;
Subroutine all_sense_codons: called CC=2 SCAR=7.1
Pod undocumented
321  
322 2 ▶ my $codonTable = $self->codon_table() or return;
Branch: 1 branch
BranchTrueFalseTotal
my $codonTable = $self->codon_table or return 0 2 2
323  
324 2 return $codonTable->all_sense_codons;
325 }
326  
327 =head2 all_AAs_in_table
328  
329 get all the amino acids coded in the genetic code table of this object
330  
331 =cut
332  
333 sub all_AAs_in_table
334 {
335 8 ▶ my ($self) = @_;
Subroutine all_AAs_in_table: called CC=2 SCAR=7.1
Pod documented
336  
337 8 ▶ my $codonTable = $self->codon_table() or return;
Branch: 1 branch
BranchTrueFalseTotal
my $codonTable = $self->codon_table or return 0 8 8
338  
339 8 $codonTable->all_amino_acids();
340 }
341  
342 =head2 codons_of_AA
343  
344 get codons coding the given amino acid, e.g.,
345  
346 my @codons = $self->codons_of_AA('Ser');
347  
348 =cut
349  
350 sub codons_of_AA
351 {
352 160 ▶ my ($self, $AA) = @_;
Subroutine codons_of_AA: called CC=2 SCAR=7.1
Pod documented
353  
354 160 ▶ my $codonTable = $self->codon_table() or return;
Branch: 1 branch
BranchTrueFalseTotal
my $codonTable = $self->codon_table or return 0 160 160
355  
356 160 return $codonTable->codons_of_AA($AA);
357 }
358  
359 =head2 aa_degeneracy_classes
360  
361 Title : aa_degeneracy_classes
362 Usage : $hashRef = $self->aa_degeneracy_classes;
363 Function: get amino acid degeneracy classes according to the
364 associated genetic code table
365 Returns : a hash reference in which first level key is degeneracy
366 degrees such as 1,2,3,4,6, second level is amino acid, the value is
367 reference to the corresponding codon array. For example:
368
369 { 2 => { D => [GAU, GAC],
370 C => [UGU, UGC],
371 ... ...
372 },
373 4 => { A => [GCU, GCC, GCA, GCG],
374 ... ...
375 },
376 ... ... ...
377 }
378  
379 Args : None
380  
381 =cut
382  
383 sub aa_degeneracy_classes
384 {
385 52 ▶ my $codonTable = $_[0]->codon_table or return;
Subroutine aa_degeneracy_classes: called CC=2 SCAR=7.2
Pod documented
Branch: 1 branch
BranchTrueFalseTotal
my $codonTable = $_[0]->codon_table or return 0 52 52
386 52 return $codonTable->codon_degeneracy;
387 }
388  
389 =head2 codons_by_degeneracy
390  
391 Title : codons_by_degeneracy
392 Usage : @codons = $self->codons_by_degeneracy(2);
393 Function: get all the codons of AAs which have the specified degree
394 of degeneracy, for example, codons of amino acids with degenracy
395 degree 2.
396 Returns : an array of codons, or its reference in scalar context
397 Args : an integer for degeneracy degree
398  
399 =cut
400  
401 sub codons_by_degeneracy
402 {
403 26 ▶ my ($self, $deg) = @_;
Subroutine codons_by_degeneracy: called CC=5 SCAR=16.5
Pod documented
404 26 ▶ my $degHash = $self->aa_degeneracy_classes or return;
Branch: 1 branch
BranchTrueFalseTotal
my $degHash = $self->aa_degeneracy_classes or return 0 26 26
405 26 ▶ my $aaClass = $degHash->{$deg} or return;
Branch: 1 branch
BranchTrueFalseTotal
my $aaClass = $degHash->{$deg} or return 0 26 26
406 26 my @codons;
407 26 ▶ while(my ($aa, $codonRef) = each %$aaClass)
Branch: 1 branch
BranchTrueFalseTotal
if (() = each %$aaClass) 52 26 78
408 {
409 52 push @codons, @$codonRef;
410 }
411 26 ▶ return wantarray? @codons : \@codons;
Branch: 1 branch
BranchTrueFalseTotal
wantarray ? : 26 0 26
412 }
413  
414 # other misc functions
415 #############################################
416 # Other methods used internally
417 #############################################
418  
419 # check whether a codon is valid and also not stop codon
420 sub _is_sense_codon
421 {
422 0 ▶ my ($self, $codon) = @_;
Subroutine _is_sense_codon: not called CC=4 SCAR=30.0
423  
424 0 ▶ my $codonTable = $self->codon_table() or return;
Branch: 1 branch
BranchTrueFalseTotal
my $codonTable = $self->codon_table or return 0 0 0
425 0 ▶ return 0 unless($codonTable->is_valid_codon($codon));
Branch: 1 branch
BranchTrueFalseTotal
unless $codonTable->is_valid_codon($codon) 0 0 0
426 0 ▶ return 0 if($codonTable->is_stop_codon($codon));
Branch: 1 branch
BranchTrueFalseTotal
if $codonTable->is_stop_codon($codon) 0 0 0
427  
428 0 return 1;
429 }
430  
431 # check whether a codon is a stop codon
432 sub _is_stop_codon
433 {
434 0 ▶ my ($self, $codon) = @_;
Subroutine _is_stop_codon: not called CC=2 SCAR=17.9
435 0 ▶ my $codonTable = $self->codon_table() or return;
Branch: 1 branch
BranchTrueFalseTotal
my $codonTable = $self->codon_table or return 0 0 0
436 0 $codonTable->is_stop_codon($codon);
437 }
438  
439 # get the corresponding AA of a codon
440 sub _codon_to_aa
441 {
442 0 ▶ my ($self, $codon) = @_;
Subroutine _codon_to_aa: not called CC=2 SCAR=17.9
443  
444 0 ▶ my $codonTable = $self->codon_table() or return;
Branch: 1 branch
BranchTrueFalseTotal
my $codonTable = $self->codon_table or return 0 0 0
445 0 $codonTable->translate($codon);
446 }
447  
448 # get all the codons in the sequence, that is, split into nucleotide
449 # triplet
450 sub _catalog_codons
451 {
452 130 ▶ my ($self, $seq) = @_;
Subroutine _catalog_codons: called CC=4 SCAR=13.9
453  
454 130 $seq = $self->_get_seq_str($seq);
455 130 my %codons;
456 130 my $accuLen = 0;
457 130 my $seqLen = length($seq);
458 130 ▶ $self->warn("sequence [$seq] is not multiple of 3 long") unless($seqLen %
Branch: 1 branch
BranchTrueFalseTotal
unless $seqLen % 3 == 0 0 130 130
459 3 == 0);
460 130 my $codon;
461 130 ▶ while($accuLen + 3 <= $seqLen)
Branch: 1 branch
BranchTrueFalseTotal
if ($accuLen + 3 <= $seqLen) 88570 130 88700
462 {
463 88570 $codon = substr($seq,$accuLen,3);
464 88570 $codons{$codon}++;
465 88570 $accuLen += 3;
466 }
467  
468 130 ▶ return undef unless($accuLen);
Branch: 1 branch
BranchTrueFalseTotal
unless $accuLen 0 130 130
469 130 return \%codons;
470 }
471  
472 # get and preprocess sequence
473 # get a seq string or seq object and return sequence string
474 sub _get_seq_str
475 {
476 130 ▶ my ($self, $seq) = @_;
Subroutine _get_seq_str: called CC=3 SCAR=11.1
477 130 ▶ $seq = ref($seq)? $seq->seq : $seq;
Branch: 1 branch
BranchTrueFalseTotal
ref $seq ? : 52 78 130
478 130 $seq = uc($seq);
479 130 $seq =~ tr/U/T/;
480 130 $seq =~ s/[^A-Z]+//g; # remove all non-nucleotide characters
481  
482 130 my $len = length($seq);
483 130 ▶ if($len > 0)
Branch: 1 branch
BranchTrueFalseTotal
if ($len > 0) { } 130 0 130
484 {
485 130 return $seq;
486 }else
487 {
488 0 return undef;
489 }
490 }
491  
492 =head1 AUTHOR
493  
494 Zhenguo Zhang, C<< <zhangz.sci at gmail.com> >>
495  
496 =head1 BUGS
497  
498 Please report any bugs or feature requests to C<bug-bio-cua at rt.cpan.org>, or through
499 the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Bio-CUA>. I will be notified, and then you'll
500 automatically be notified of progress on your bug as I make changes.
501  
502 =head1 SUPPORT
503  
504 You can find documentation for this module with the perldoc command.
505  
506 perldoc Bio::CUA::Summarizer
507  
508  
509 You can also look for information at:
510  
511 =over 4
512  
513 =item * RT: CPAN's request tracker (report bugs here)
514  
515 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Bio-CUA>
516  
517 =item * AnnoCPAN: Annotated CPAN documentation
518  
519 L<http://annocpan.org/dist/Bio-CUA>
520  
521 =item * CPAN Ratings
522  
523 L<http://cpanratings.perl.org/d/Bio-CUA>
524  
525 =item * Search CPAN
526  
527 L<http://search.cpan.org/dist/Bio-CUA/>
528  
529 =back
530  
531  
532 =head1 ACKNOWLEDGEMENTS
533  
534  
535 =head1 LICENSE AND COPYRIGHT
536  
537 Copyright 2015 Zhenguo Zhang.
538  
539 This program is free software: you can redistribute it and/or modify
540 it under the terms of the GNU General Public License as published by
541 the Free Software Foundation, either version 3 of the License, or
542 (at your option) any later version.
543  
544 This program is distributed in the hope that it will be useful,
545 but WITHOUT ANY WARRANTY; without even the implied warranty of
546 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
547 GNU General Public License for more details.
548  
549 You should have received a copy of the GNU General Public License
550 along with this program. If not, see L<http://www.gnu.org/licenses/>.
551  
552  
553 =cut
554  
555 4 1; # End of Bio::CUA::Summarizer
556  
« lib/Bio/CUA/CUB/Calculator.pm ↑ Summary lib/Bio/CUA/CodonTable.pm »