1 # $Id: bioperl.lisp 15559 2009-02-23 12:11:20Z maj $
3 # BioPerl module for Bio::Search::Hit::hmmer3Hit
5 # Please direct questions and support issues to <bioperl-l@bioperl.org>
7 # Cared for by Thomas Sharpton <thomas.sharpton@gmail.com>
9 # Copyright Thomas Sharpton
11 # You may distribute this module under the same terms as perl itself
13 # POD documentation - main docs before the code
17 Bio::Search::Hit::hmmer3Hit - DESCRIPTION of Object
21 Give standard usage here
25 Describe the object here
31 User feedback is an integral part of the evolution of this and other
32 Bioperl modules. Send your comments and suggestions preferably to
33 the Bioperl mailing list. Your participation is much appreciated.
35 bioperl-l@bioperl.org - General discussion
36 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
40 Please direct usage questions or support issues to the mailing list:
42 L<bioperl-l@bioperl.org>
44 rather than to the module maintainer directly. Many experienced and
45 reponsive experts will be able look at the problem and quickly
46 address it. Please include a thorough description of the problem
47 with code and data examples if at all possible.
51 Report bugs to the Bioperl bug tracking system to help us keep track
52 of the bugs and their resolution. Bug reports can be submitted via
55 https://github.com/bioperl/bioperl-live/issues
57 =head1 AUTHOR - Thomas Sharpton
59 Email thomas.sharpton@gmail.com
61 Describe contact details here
65 Additional contributors names and emails here
69 The rest of the documentation details each of the object methods.
70 Internal methods are usually preceded with a _
75 # Let the code begin...
78 package Bio
::Search
::Hit
::hmmer3Hit
;
82 use base
qw(Bio::Search::Hit::GenericHit);
87 Usage : my $obj = Bio::Search::Hit::HMMERHit->new();
88 Function: Builds a new Bio::Search::Hit::HMMERHit object
89 Returns : Bio::Search::Hit::HMMERHit
92 Plus the Bio::Search::Hit::GenericHit inherited params
93 -name => Name of Hit (required)
94 -description => Description (optional)
95 -accession => Accession number (optional)
96 -length => Length of the Hit (optional)
97 -score => Raw Score for the Hit (optional)
98 -significance => Significance value for the Hit (optional)
99 -algorithm => Algorithm used (BLASTP, FASTX, etc...)
100 -hsps => Array ref of HSPs for this Hit.
109 Usage : my $domain = $hit->next_domain();
110 Function: An alias for L<next_hsp()>, this will return the next HSP
111 Returns : L<Bio::Search::HSP::HSPI> object
117 sub next_domain
{ shift->next_hsp }
122 Usage : my @domains = $hit->domains();
123 Function: An alias for L<hsps()>, this will return the full list of hsps
124 Returns : array of L<Bio::Search::HSP::HSPI> objects
130 sub domains
{ shift->hsps() }
134 Usage : $hit_object->bits();
135 Purpose : Gets the bit score of the best HSP for the current hit.
136 Example : $bits = $hit_object->bits();
137 Returns : Integer or undef if bit score is not set
140 See Also : L<score()|score>
144 sub bits
{ return 0 }
149 Usage : $obj->iteration($newval)
150 Function: PSI-BLAST iteration
151 Returns : value of iteration
152 Args : newvalue (optional)
157 sub iteration
{ return 0 }