line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Bio::FastParsers::Blast::Xml::Statistics; |
2
|
|
|
|
|
|
|
# ABSTRACT: NCBI BLAST DTD-derived internal class |
3
|
|
|
|
|
|
|
$Bio::FastParsers::Blast::Xml::Statistics::VERSION = '0.201110'; |
4
|
7
|
|
|
7
|
|
5006
|
use Moose; |
|
7
|
|
|
|
|
20
|
|
|
7
|
|
|
|
|
55
|
|
5
|
7
|
|
|
7
|
|
49458
|
use namespace::autoclean; |
|
7
|
|
|
|
|
18
|
|
|
7
|
|
|
|
|
75
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
# AUTOGENERATED CODE! DO NOT MODIFY THIS FILE! |
8
|
|
|
|
|
|
|
|
9
|
7
|
|
|
7
|
|
738
|
use XML::Bare qw(forcearray); |
|
7
|
|
|
|
|
21
|
|
|
7
|
|
|
|
|
2195
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
# private attributes |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
has '_root' => ( |
16
|
|
|
|
|
|
|
is => 'ro', |
17
|
|
|
|
|
|
|
isa => 'HashRef', |
18
|
|
|
|
|
|
|
required => 1, |
19
|
|
|
|
|
|
|
); |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
# public array(s) of composed objects |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
# public composed object(s) |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
# public methods |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
sub db_len { |
32
|
0
|
|
|
0
|
1
|
|
return shift->_root->{'Statistics_db-len'}->{'value'} |
33
|
|
|
|
|
|
|
} |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
sub db_num { |
37
|
0
|
|
|
0
|
1
|
|
return shift->_root->{'Statistics_db-num'}->{'value'} |
38
|
|
|
|
|
|
|
} |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
sub eff_space { |
42
|
0
|
|
|
0
|
1
|
|
return shift->_root->{'Statistics_eff-space'}->{'value'} |
43
|
|
|
|
|
|
|
} |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
sub entropy { |
47
|
0
|
|
|
0
|
1
|
|
return shift->_root->{'Statistics_entropy'}->{'value'} |
48
|
|
|
|
|
|
|
} |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
sub hsp_len { |
52
|
0
|
|
|
0
|
1
|
|
return shift->_root->{'Statistics_hsp-len'}->{'value'} |
53
|
|
|
|
|
|
|
} |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
sub kappa { |
57
|
0
|
|
|
0
|
1
|
|
return shift->_root->{'Statistics_kappa'}->{'value'} |
58
|
|
|
|
|
|
|
} |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
sub lambda { |
62
|
0
|
|
|
0
|
1
|
|
return shift->_root->{'Statistics_lambda'}->{'value'} |
63
|
|
|
|
|
|
|
} |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
# public aliases |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
70
|
|
|
|
|
|
|
1; |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
__END__ |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=pod |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=head1 NAME |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
Bio::FastParsers::Blast::Xml::Statistics - NCBI BLAST DTD-derived internal class |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
=head1 VERSION |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
version 0.201110 |
83
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
=head1 SYNOPSIS |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
# see Bio::FastParsers::Blast::Xml |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=head1 DESCRIPTION |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
This class implements the C<Statistics> level of the XML BLAST parser. |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=head1 METHODS |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=head2 db_len |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
Returns the value of the element C<<Statistics_db-len>>. |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
# $statistics is a Bio::FastParsers::Blast::Xml::Statistics |
99
|
|
|
|
|
|
|
my $db_len = $statistics->db_len; |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
This method does not accept any arguments. |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head2 db_num |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
Returns the value of the element C<<Statistics_db-num>>. |
106
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
# $statistics is a Bio::FastParsers::Blast::Xml::Statistics |
108
|
|
|
|
|
|
|
my $db_num = $statistics->db_num; |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
This method does not accept any arguments. |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
=head2 eff_space |
113
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
Returns the value of the element C<<Statistics_eff-space>>. |
115
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
# $statistics is a Bio::FastParsers::Blast::Xml::Statistics |
117
|
|
|
|
|
|
|
my $eff_space = $statistics->eff_space; |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
This method does not accept any arguments. |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=head2 entropy |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
Returns the value of the element C<<Statistics_entropy>>. |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
# $statistics is a Bio::FastParsers::Blast::Xml::Statistics |
126
|
|
|
|
|
|
|
my $entropy = $statistics->entropy; |
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
This method does not accept any arguments. |
129
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
=head2 hsp_len |
131
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
Returns the value of the element C<<Statistics_hsp-len>>. |
133
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
# $statistics is a Bio::FastParsers::Blast::Xml::Statistics |
135
|
|
|
|
|
|
|
my $hsp_len = $statistics->hsp_len; |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
This method does not accept any arguments. |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
=head2 kappa |
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
Returns the value of the element C<<Statistics_kappa>>. |
142
|
|
|
|
|
|
|
|
143
|
|
|
|
|
|
|
# $statistics is a Bio::FastParsers::Blast::Xml::Statistics |
144
|
|
|
|
|
|
|
my $kappa = $statistics->kappa; |
145
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
This method does not accept any arguments. |
147
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
=head2 lambda |
149
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
Returns the value of the element C<<Statistics_lambda>>. |
151
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
# $statistics is a Bio::FastParsers::Blast::Xml::Statistics |
153
|
|
|
|
|
|
|
my $lambda = $statistics->lambda; |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
This method does not accept any arguments. |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
=head1 AUTHOR |
158
|
|
|
|
|
|
|
|
159
|
|
|
|
|
|
|
Denis BAURAIN <denis.baurain@uliege.be> |
160
|
|
|
|
|
|
|
|
161
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
162
|
|
|
|
|
|
|
|
163
|
|
|
|
|
|
|
This software is copyright (c) 2013 by University of Liege / Unit of Eukaryotic Phylogenomics / Denis BAURAIN. |
164
|
|
|
|
|
|
|
|
165
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
166
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
167
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
=cut |