.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Bio::Search::Hit::HMMERHit 3pm" .TH Bio::Search::Hit::HMMERHit 3pm "2019-10-29" "perl v5.30.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" Bio::Search::Hit::HMMERHit \- A Hit module for HMMER hits .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 3 \& use Bio::Search::Hit::HMMERHit; \& my $hit = Bio::Search::Hit::HMMERHit\->new(); \& # use it in the same way as Bio::Search::Hit::GenericHit .Ve .SH "DESCRIPTION" .IX Header "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. .SH "FEEDBACK" .IX Header "FEEDBACK" .SS "Mailing Lists" .IX Subsection "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. .PP .Vb 2 \& bioperl\-l@bioperl.org \- General discussion \& http://bioperl.org/wiki/Mailing_lists \- About the mailing lists .Ve .SS "Support" .IX Subsection "Support" Please direct usage questions or support issues to the mailing list: .PP \&\fIbioperl\-l@bioperl.org\fR .PP 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. .SS "Reporting Bugs" .IX Subsection "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: .PP .Vb 1 \& https://github.com/bioperl/bioperl\-live/issues .Ve .SH "AUTHOR \- Jason Stajich" .IX Header "AUTHOR - Jason Stajich" Email jason@bioperl.org .SH "APPENDIX" .IX Header "APPENDIX" The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ .SS "new" .IX Subsection "new" .Vb 5 \& Title : new \& Usage : my $obj = Bio::Search::Hit::HMMERHit\->new(); \& Function: Builds a new Bio::Search::Hit::HMMERHit object \& Returns : Bio::Search::Hit::HMMERHit \& Args : \& \& 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. .Ve .SS "next_domain" .IX Subsection "next_domain" .Vb 5 \& Title : next_domain \& Usage : my $domain = $hit\->next_domain(); \& Function: An alias for L, this will return the next HSP \& Returns : L object \& Args : none .Ve .SS "domains" .IX Subsection "domains" .Vb 5 \& Title : domains \& Usage : my @domains = $hit\->domains(); \& Function: An alias for L, this will return the full list of hsps \& Returns : array of L objects \& Args : none .Ve .SS "inherited Bio::Search::Hit::GenericHit methods" .IX Subsection "inherited Bio::Search::Hit::GenericHit methods" .SS "add_hsp" .IX Subsection "add_hsp" .Vb 5 \& Title : add_hsp \& Usage : $hit\->add_hsp($hsp) \& Function: Add a HSP to the collection of HSPs for a Hit \& Returns : number of HSPs in the Hit \& Args : Bio::Search::HSP::HSPI object .Ve .SS "Bio::Search::Hit::HitI methods" .IX Subsection "Bio::Search::Hit::HitI methods" .SS "name" .IX Subsection "name" .Vb 5 \& Title : name \& Usage : $hit_name = $hit\->name(); \& Function: returns the name of the Hit sequence \& Returns : a scalar string \& Args : [optional] scalar string to set the name .Ve .SS "accession" .IX Subsection "accession" .Vb 5 \& Title : accession \& Usage : $acc = $hit\->accession(); \& Function: Retrieve the accession (if available) for the hit \& Returns : a scalar string (empty string if not set) \& Args : none .Ve .SS "description" .IX Subsection "description" .Vb 5 \& Title : description \& Usage : $desc = $hit\->description(); \& Function: Retrieve the description for the hit \& Returns : a scalar string \& Args : [optional] scalar string to set the description .Ve .SS "length" .IX Subsection "length" .Vb 5 \& Title : length \& Usage : my $len = $hit\->length \& Function: Returns the length of the hit \& Returns : integer \& Args : [optional] integer to set the length .Ve .SS "algorithm" .IX Subsection "algorithm" .Vb 9 \& Title : algorithm \& Usage : $alg = $hit\->algorithm(); \& Function: Gets the algorithm specification that was used to obtain the hit \& For BLAST, the algorithm denotes what type of sequence was aligned \& against what (BLASTN: dna\-dna, BLASTP prt\-prt, BLASTX translated \& dna\-prt, TBLASTN prt\-translated dna, TBLASTX translated \& dna\-translated dna). \& Returns : a scalar string \& Args : [optional] scalar string to set the algorithm .Ve .SS "raw_score" .IX Subsection "raw_score" .Vb 7 \& Title : raw_score \& Usage : $score = $hit\->raw_score(); \& Function: Gets the "raw score" generated by the algorithm. What \& this score is exactly will vary from algorithm to algorithm, \& returning undef if unavailable. \& Returns : a scalar value \& Args : [optional] scalar value to set the raw score .Ve .SS "significance" .IX Subsection "significance" .Vb 8 \& Title : significance \& Usage : $significance = $hit\->significance(); \& Function: Used to obtain the E or P value of a hit, i.e. the probability that \& this particular hit was obtained purely by random chance. If \& information is not available (nor calculatable from other \& information sources), return undef. \& Returns : a scalar value or undef if unavailable \& Args : [optional] scalar value to set the significance .Ve .SS "bits" .IX Subsection "bits" .Vb 5 \& 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 set \& Argument : n/a .Ve .PP See Also : \fBscore()\fR .SS "next_hsp" .IX Subsection "next_hsp" .Vb 6 \& Title : next_hsp \& Usage : while( $hsp = $obj\->next_hsp()) { ... } \& Function : Returns the next available High Scoring Pair \& Example : \& Returns : Bio::Search::HSP::HSPI object or null if finished \& Args : none .Ve .SS "hsps" .IX Subsection "hsps" .Vb 10 \& 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 wantarray \& Throws : Exception if the HSPs have not been collected. .Ve .PP See Also : \fBhsp()\fR, \fBnum_hsps()\fR .SS "num_hsps" .IX Subsection "num_hsps" .Vb 6 \& Usage : $hit_object\->num_hsps(); \& Purpose : Get the number of HSPs for the present Blast hit. \& Example : $nhsps = $hit_object\->num_hsps(); \& Returns : Integer \& Argument : n/a \& Throws : Exception if the HSPs have not been collected. .Ve .PP See Also : \fBhsps()\fR .SS "rewind" .IX Subsection "rewind" .Vb 6 \& Title : rewind \& Usage : $hit\->rewind; \& Function: Allow one to reset the HSP iteration to the beginning \& Since this is an in\-memory implementation \& Returns : none \& Args : none .Ve .SS "iteration" .IX Subsection "iteration" .Vb 5 \& Title : iteration \& Usage : $obj\->iteration($newval) \& Function: PSI\-BLAST iteration \& Returns : value of iteration \& Args : newvalue (optional) .Ve