lib/Bio/CUA/CUB.pm

filter: Statementstmt 100% 15 / 15 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 23 / 23 SCAR 6.9
CC
2
Cov
100%
no_atg
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.0
« script/build_tai_param.pl ↑ Summary
1 package Bio::CUA::CUB;
2  
3 3 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 3 ▶use parent qw/Bio::CUA::Summarizer/;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 =head1 NAME
9  
10 Bio::CUA::CUB - This is the parent class for all classs processing
11 codon usage bias (CUB).
12  
13  
14 =head1 SYNOPSIS
15  
16 At present, this class largely inherits from
17 L<Bio::CUA::Summarizer>. The class may be updated in future depending
18 on the needs of new analyses.
19  
20 Please refer to its child classes L<Bio::CUA::CUB::Builder> and
21 L<Bio::CUA::CUB::Calculator> for usage of methods.
22  
23 =head1 METHODS
24  
25 =head2 no_atg
26  
27 Title : no_atg
28 Usage : $status = $self->no_atg([$newVal])
29 Function: get/set the status whether ATG should be excluded in tAI
30 calculation.
31 Returns : current status after updating
32 Args : optional. 1 for true, 0 for false
33  
34 =cut
35  
36 sub no_atg
37 {
38 2 ▶ my ($self, $val) = @_;
Subroutine no_atg: called CC=2 SCAR=6.9
Pod documented
39 2 ▶ $self->set_tag('no_atg',$val) if(defined($val));
Branch: 1 branch
BranchTrueFalseTotal
if defined $val 1 1 2
40 2 return $self->get_tag('no_atg');
41 }
42  
43  
44 =head1 AUTHOR
45  
46 Zhenguo Zhang, C<< <zhangz.sci at gmail.com> >>
47  
48 =head1 BUGS
49  
50 Please report any bugs or feature requests to C<bug-bio-cua at rt.cpan.org>, or through
51 the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Bio-CUA>. I will be notified, and then you'll
52 automatically be notified of progress on your bug as I make changes.
53  
54  
55 =head1 SUPPORT
56  
57 You can find documentation for this class with the perldoc command.
58  
59 perldoc Bio::CUA::CUB
60  
61  
62 You can also look for information at:
63  
64 =over 4
65  
66 =item * RT: CPAN's request tracker (report bugs here)
67  
68 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Bio-CUA>
69  
70 =item * AnnoCPAN: Annotated CPAN documentation
71  
72 L<http://annocpan.org/dist/Bio-CUA>
73  
74 =item * CPAN Ratings
75  
76 L<http://cpanratings.perl.org/d/Bio-CUA>
77  
78 =item * Search CPAN
79  
80 L<http://search.cpan.org/dist/Bio-CUA/>
81  
82 =back
83  
84  
85 =head1 ACKNOWLEDGEMENTS
86  
87  
88 =head1 LICENSE AND COPYRIGHT
89  
90 Copyright 2015 Zhenguo Zhang.
91  
92 This program is free software: you can redistribute it and/or modify
93 it under the terms of the GNU General Public License as published by
94 the Free Software Foundation, either version 3 of the License, or
95 (at your option) any later version.
96  
97 This program is distributed in the hope that it will be useful,
98 but WITHOUT ANY WARRANTY; without even the implied warranty of
99 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
100 GNU General Public License for more details.
101  
102 You should have received a copy of the GNU General Public License
103 along with this program. If not, see L<http://www.gnu.org/licenses/>.
104  
105  
106 =cut
107  
108 3 1; # End of Bio::CUA::CUB
« script/build_tai_param.pl ↑ Summary