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