NAME
Bio::Search::Hit::HMMERHit - A Hit module for HMMER hits
SYNOPSIS
use Bio::Search::Hit::HMMERHit;my $hit = Bio::Search::Hit::HMMERHit->new();# use it in the same way as Bio::Search::Hit::GenericHit
DESCRIPTION
This is a specialization of Bio::Search::Hit::GenericHit. There are a few news methods next_domain and domains. Note that bits and iteration make no sense for this object and will return 0.
FEEDBACK
Mailing Lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the Bioperl mailing list. Your participation is much appreciated.
[email protected] - General discussionhttp://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support
Please direct usage questions or support issues to the mailing list:
rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible.
Reporting Bugs
Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via the web:
https://github.com/bioperl/bioperl-live/issues
AUTHOR - Jason Stajich
Email [email protected]
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
new
Title : newUsage : my $obj = Bio::Search::Hit::HMMERHit->new();Function: Builds a new Bio::Search::Hit::HMMERHit objectReturns : Bio::Search::Hit::HMMERHitArgs :Plus the Bio::Search::Hit::GenericHit inherited params-name => Name of Hit (required)-description => Description (optional)-accession => Accession number (optional)-length => Length of the Hit (optional)-score => Raw Score for the Hit (optional)-significance => Significance value for the Hit (optional)-algorithm => Algorithm used (BLASTP, FASTX, etc...)-hsps => Array ref of HSPs for this Hit.
next_domain
Title : next_domainUsage : my $domain = $hit->next_domain();Function: An alias for L<next_hsp()>, this will return the next HSPReturns : L<Bio::Search::HSP::HSPI> objectArgs : none
domains
Title : domainsUsage : my @domains = $hit->domains();Function: An alias for L<hsps()>, this will return the full list of hspsReturns : array of L<Bio::Search::HSP::HSPI> objectsArgs : none
inherited Bio::Search::Hit::GenericHit methods
add_hsp
Title : add_hspUsage : $hit->add_hsp($hsp)Function: Add a HSP to the collection of HSPs for a HitReturns : number of HSPs in the HitArgs : Bio::Search::HSP::HSPI object
Bio::Search::Hit::HitI methods
name
Title : nameUsage : $hit_name = $hit->name();Function: returns the name of the Hit sequenceReturns : a scalar stringArgs : [optional] scalar string to set the name
accession
Title : accessionUsage : $acc = $hit->accession();Function: Retrieve the accession (if available) for the hitReturns : a scalar string (empty string if not set)Args : none
description
Title : descriptionUsage : $desc = $hit->description();Function: Retrieve the description for the hitReturns : a scalar stringArgs : [optional] scalar string to set the description
length
Title : lengthUsage : my $len = $hit->lengthFunction: Returns the length of the hitReturns : integerArgs : [optional] integer to set the length
algorithm
Title : algorithmUsage : $alg = $hit->algorithm();Function: Gets the algorithm specification that was used to obtain the hitFor BLAST, the algorithm denotes what type of sequence was alignedagainst what (BLASTN: dna-dna, BLASTP prt-prt, BLASTX translateddna-prt, TBLASTN prt-translated dna, TBLASTX translateddna-translated dna).Returns : a scalar stringArgs : [optional] scalar string to set the algorithm
raw_score
Title : raw_scoreUsage : $score = $hit->raw_score();Function: Gets the "raw score" generated by the algorithm. Whatthis score is exactly will vary from algorithm to algorithm,returning undef if unavailable.Returns : a scalar valueArgs : [optional] scalar value to set the raw score
significance
Title : significanceUsage : $significance = $hit->significance();Function: Used to obtain the E or P value of a hit, i.e. the probability thatthis particular hit was obtained purely by random chance. Ifinformation is not available (nor calculatable from otherinformation sources), return undef.Returns : a scalar value or undef if unavailableArgs : [optional] scalar value to set the significance
bits
Usage : $hit_object->bits();Purpose : Gets the bit score of the best HSP for the current hit.Example : $bits = $hit_object->bits();Returns : Integer or undef if bit score is not setArgument : n/a
See Also : score()
next_hsp
Title : next_hspUsage : while( $hsp = $obj->next_hsp()) { ... }Function : Returns the next available High Scoring PairExample :Returns : Bio::Search::HSP::HSPI object or null if finishedArgs : none
hsps
Usage : $hit_object->hsps();Purpose : Get a list containing all HSP objects.: Get the numbers of HSPs for the current hit.Example : @hsps = $hit_object->hsps();: $num = $hit_object->hsps(); # alternatively, use num_hsps()Returns : Array context : list of Bio::Search::HSP::BlastHSP.pm objects.: Scalar context: integer (number of HSPs).: (Equivalent to num_hsps()).Argument : n/a. Relies on wantarrayThrows : Exception if the HSPs have not been collected.
See Also : hsp(), num_hsps()
num_hsps
Usage : $hit_object->num_hsps();Purpose : Get the number of HSPs for the present Blast hit.Example : $nhsps = $hit_object->num_hsps();Returns : IntegerArgument : n/aThrows : Exception if the HSPs have not been collected.
See Also : hsps()
rewind
Title : rewindUsage : $hit->rewind;Function: Allow one to reset the HSP iteration to the beginningSince this is an in-memory implementationReturns : noneArgs : none
iteration
Title : iterationUsage : $obj->iteration($newval)Function: PSI-BLAST iterationReturns : value of iterationArgs : newvalue (optional)