Bio::S...famHSP(3pm)
π NAME π
So bestie, this is the page for Bio::Search::HSP::HmmpfamHSP β a parser and HSP object for hmmpfam hsps. It ships with User Contributed Perl Documentation, and yes it's a Perl module page, we're doing this π
π¦ SYNOPSIS π¦
# generally we use Bio::SearchIO to build these objects
use Bio::SearchIO;
my $in = Bio::SearchIO->new(-format => 'hmmer_pull',
-file => 'result.hmmer');
while (my $result = $in->next_result) {
while (my $hit = $result->next_hit) {
print $hit->name, "\n";
print $hit->score, "\n";
print $hit->significance, "\n";
while (my $hsp = $hit->next_hsp) {
# process HSPI objects
}
}
}
πΈ DESCRIPTION πΈ
This object implements a parser for hmmpfam hsp output, which is a program in the HMMER package. That's the whole vibe. It parses, it objects, it serves π
π«Ά 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, fr fr π₯Ί
bioperl-l@bioperl.org - General discussion
http://bioperl.org/wiki/Mailing_lists - About the mailing lists
π Support
Please direct usage questions or support issues to the mailing list:
bioperl-l@bioperl.org
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. (Yes, "reponsive" β that's the original typo and I'm not touching it, iconic of it honestly π)
π 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 - Sendu Bala π
Email bix@sendu.me.uk
π APPENDIX π
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
π new π
- Title :
new - Usage :
my $obj = Bio::Search::HSP::HmmpfamHSP->new(); - Function: Builds a new Bio::Search::HSP::HmmpfamHSP object.
- Returns : Bio::Search::HSP::HmmpfamHSP
- Args :
-chunk => [Bio::Root::IO, $start, $end] (required if no -parent)
-parent => Bio::PullParserI object (required if no -chunk)
-hsp_data => array ref with [rank query_start query_end hit_start
hit_end score evalue]
where the array ref provided to -chunk contains an IO object for a filehandle to something representing the raw data of the hsp, and $start and $end define the tell() position within the filehandle that the hsp data starts and ends (optional; defaults to start and end of the entire thing described by the filehandle).
π query π
- Title :
query - Usage :
my $query = $hsp->query - Function: Returns a SeqFeature representing the query in the HSP
- Returns : L<Bio::SeqFeature::Similarity>
- Args : none
β hit β
- Title :
hit - Usage :
my $hit = $hsp->hit - Function: Returns a SeqFeature representing the hit in the HSP
- Returns : L<Bio::SeqFeature::Similarity>
- Args : [optional] new value to set
π§ gaps π§
- Title :
gaps - Usage :
my $gaps = $hsp->gaps( ['query'|'hit'|'total'] ); - Function : Get the number of gaps in the query, hit, or total alignment.
- Returns : Integer, number of gaps or
0if none - Args :
'query'= num conserved / length of query seq (without gaps)'hit'= num conserved / length of hit seq (without gaps)'total'= num conserved / length of alignment (with gaps)- default =
'total'
π pvalue π
- Title :
pvalue - Usage :
my $pvalue = $hsp->pvalue(); - Function: Returns the P-value for this HSP
- Returns :
undef(Hmmpfam reports do not have p-values) - Args : none
and that's the whole page bestie, no notes πβ¨π¦
This little legend was brought to you by perl v5.30.0, dated 2019-10-29, on page Bio::Search::HSP::HmmpfamHSP(3pm) β go parse something iconic, mwah π π
π¦ where this page comes from
- debian bookworm: libbio-searchio-hmmer-perl 1.7.3-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libbio-searchio-hmmer-perl 1.7.3-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libbio-searchio-hmmer-perl 1.7.3-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libbio-searchio-hmmer-perl 1.7.3-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms