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