File Coverage

blib/lib/Bio/FastParsers/Blast/Xml/Parameters.pm
Criterion Covered Total %
statement 11 20 55.0
branch n/a
condition n/a
subroutine 5 14 35.7
pod 11 11 100.0
total 27 45 60.0


line stmt bran cond sub pod time code
1             # ABSTRACT: NCBI BLAST DTD-derived internal class
2             $Bio::FastParsers::Blast::Xml::Parameters::VERSION = '0.221230';
3             use Moose;
4 7     7   3956 use namespace::autoclean;
  7         18  
  7         42  
5 7     7   40438  
  7         16  
  7         52  
6             # AUTOGENERATED CODE! DO NOT MODIFY THIS FILE!
7              
8             use XML::Bare qw(forcearray);
9 7     7   569  
  7         14  
  7         2710  
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->{'Parameters_entrez-query'}->{'value'}
38             }
39 0     0 1 0  
40              
41             return shift->_root->{'Parameters_expect'}->{'value'}
42             }
43              
44 10     10 1 281  
45             return shift->_root->{'Parameters_filter'}->{'value'}
46             }
47              
48              
49 0     0 1 0 return shift->_root->{'Parameters_gap-extend'}->{'value'}
50             }
51              
52              
53             return shift->_root->{'Parameters_gap-open'}->{'value'}
54 0     0 1 0 }
55              
56              
57             return shift->_root->{'Parameters_include'}->{'value'}
58             }
59 0     0 1 0  
60              
61             return shift->_root->{'Parameters_matrix'}->{'value'}
62             }
63              
64 0     0 1 0  
65             return shift->_root->{'Parameters_pattern'}->{'value'}
66             }
67              
68              
69 5     5 1 127 return shift->_root->{'Parameters_sc-match'}->{'value'}
70             }
71              
72              
73             return shift->_root->{'Parameters_sc-mismatch'}->{'value'}
74 0     0 1   }
75              
76              
77             # public aliases
78              
79 0     0 1    
80             return shift->expect
81             }
82              
83              
84 0     0 1   __PACKAGE__->meta->make_immutable;
85             1;
86              
87              
88             =pod
89              
90             =head1 NAME
91              
92             Bio::FastParsers::Blast::Xml::Parameters - NCBI BLAST DTD-derived internal class
93 0     0 1    
94             =head1 VERSION
95              
96             version 0.221230
97              
98             =head1 SYNOPSIS
99              
100             # see Bio::FastParsers::Blast::Xml
101              
102             =head1 DESCRIPTION
103              
104             This class implements the C<Parameters> level of the XML BLAST parser.
105              
106             =head1 METHODS
107              
108             =head2 entrez_query
109              
110             Returns the value of the element C<<Parameters_entrez-query>>.
111              
112             # $parameters is a Bio::FastParsers::Blast::Xml::Parameters
113             my $entrez_query = $parameters->entrez_query;
114              
115             This method does not accept any arguments.
116              
117             =head2 expect
118              
119             Returns the value of the element C<<Parameters_expect>>.
120              
121             # $parameters is a Bio::FastParsers::Blast::Xml::Parameters
122             my $expect = $parameters->expect;
123              
124             This method does not accept any arguments.
125              
126             =head2 filter
127              
128             Returns the value of the element C<<Parameters_filter>>.
129              
130             # $parameters is a Bio::FastParsers::Blast::Xml::Parameters
131             my $filter = $parameters->filter;
132              
133             This method does not accept any arguments.
134              
135             =head2 gap_extend
136              
137             Returns the value of the element C<<Parameters_gap-extend>>.
138              
139             # $parameters is a Bio::FastParsers::Blast::Xml::Parameters
140             my $gap_extend = $parameters->gap_extend;
141              
142             This method does not accept any arguments.
143              
144             =head2 gap_open
145              
146             Returns the value of the element C<<Parameters_gap-open>>.
147              
148             # $parameters is a Bio::FastParsers::Blast::Xml::Parameters
149             my $gap_open = $parameters->gap_open;
150              
151             This method does not accept any arguments.
152              
153             =head2 include
154              
155             Returns the value of the element C<<Parameters_include>>.
156              
157             # $parameters is a Bio::FastParsers::Blast::Xml::Parameters
158             my $include = $parameters->include;
159              
160             This method does not accept any arguments.
161              
162             =head2 matrix
163              
164             Returns the value of the element C<<Parameters_matrix>>.
165              
166             # $parameters is a Bio::FastParsers::Blast::Xml::Parameters
167             my $matrix = $parameters->matrix;
168              
169             This method does not accept any arguments.
170              
171             =head2 pattern
172              
173             Returns the value of the element C<<Parameters_pattern>>.
174              
175             # $parameters is a Bio::FastParsers::Blast::Xml::Parameters
176             my $pattern = $parameters->pattern;
177              
178             This method does not accept any arguments.
179              
180             =head2 sc_match
181              
182             Returns the value of the element C<<Parameters_sc-match>>.
183              
184             # $parameters is a Bio::FastParsers::Blast::Xml::Parameters
185             my $sc_match = $parameters->sc_match;
186              
187             This method does not accept any arguments.
188              
189             =head2 sc_mismatch
190              
191             Returns the value of the element C<<Parameters_sc-mismatch>>.
192              
193             # $parameters is a Bio::FastParsers::Blast::Xml::Parameters
194             my $sc_mismatch = $parameters->sc_mismatch;
195              
196             This method does not accept any arguments.
197              
198             =head1 ALIASES
199              
200             =head2 evalue
201              
202             Alias for C<expect> method. For API consistency.
203              
204             =head1 AUTHOR
205              
206             Denis BAURAIN <denis.baurain@uliege.be>
207              
208             =head1 COPYRIGHT AND LICENSE
209              
210             This software is copyright (c) 2013 by University of Liege / Unit of Eukaryotic Phylogenomics / Denis BAURAIN.
211              
212             This is free software; you can redistribute it and/or modify it under
213             the same terms as the Perl 5 programming language system itself.
214              
215             =cut