Bio::S...:hmmer3(3pm)
π NAME π
Bio::SearchIO::hmmer3 β it's the module in the Bioperl family that reads HMMER output and hands it to you as nice tidy objects. This page lives in the User Contributed Perl Documentation (the 3pm crew, you know the vibe β¨).
π¦ SYNOPSIS π¦
use Bio::SearchIO;
my $searchio = Bio::SearchIO->new(
-format => 'hmmer',
-version => 3,
-file => 'hmmsearch.out' );
my $result = $searchio->next_result; my $hit = $result->next_hit; print
$hit->name, $hit->description, $hit->significance,
$hit->score, "\n";
my $hsp = $hit->next_hsp; print $hsp->start('hit'), $hsp->end('hit'),
$hsp->start('query'),
$hsp->end('query'), "\n";
πΈ DESCRIPTION πΈ
Okay so bestie, this is the code that parses output from hmmsearch, hmmscan, phmmer and nhmmer β and it's compatible with both version 2 and version 3 of the HMMER package from <http://hmmer.org>. Both versions. It said what it said π
π«Ά FEEDBACK π«Ά
π Mailing Lists
User feedback is literally 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, no cap.
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. There are so many experienced and responsive experts who'll be able look at the problem and quickly address it. If at all possible, please include a thorough description of the problem with code and data examples. Give them the full picture, they deserve it π
π Reporting Bugs
Report bugs to the Bioperl bug tracking system so we can keep track of the bugs and their resolution. Bug reports can be submitted via the web:
https://github.com/bioperl/bioperl-live/issues
π AUTHOR - Thomas Sharpton π
Email thomas.sharpton@gmail.com
Describe contact details here
π CONTRIBUTORS π
Additional contributors names and emails here
briano at bioteam.net
β APPENDIX β
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _ (iykyk, the underscore ones are the behind-the-scenes girlies).
β¨ next_result
Title : next_result
Usage : my $hit = $searchio->next_result;
Function: Returns the next Result from a search
Returns : Bio::Search::Result::ResultI object
Args : none
β¨ start_element
Title : start_element
Usage : $eventgenerator->start_element
Function: Handles a start event
Returns : none
Args : hashref with at least 2 keys 'Data' and 'Name'
β¨ end_element
Title : end_element
Usage : $eventgeneartor->end_element
Function: Handles and end element event
Returns : none
Args : hashref with at least 2 keys 'Data' and 'Name'
β¨ element
Title : element
Usage : $eventhandler->element({'Name' => $name, 'Data' => $str});
Function: Convenience method that calls start_element, characters, end_element
Returns : none
Args : Hash ref with the keys 'Name' and 'Data'
β¨ get_from_element
Title : get_from_element
Usage : $self->get_from_element('HSP-hit_start');
Function: Convenience method to retrieve data from '_values' hash
Returns : string
Args : key
β¨ characters
Title : characters
Usage : $eventgenerator->characters($str)
Function: Send a character events
Returns : none
Args : string
β¨ within_element
Title : within_element
Usage : if( $eventgenerator->within_element( $element ) ) {}
Function: Test if we are within a particular element
This is different than 'in' because within can be tested for
a whole block
Returns : boolean
Args : string element name
β¨ in_element
Title : in_element
Usage : if( $eventgenerator->in_element( $element ) ) {}
Function: Test if we are in a particular element
This is different than 'within' because 'in' only
tests its immediate parent
Returns : boolean
Args : string element name
β¨ start_document
Title : start_document
Usage : $eventgenerator->start_document
Function: Handle a start document event
Returns : none
Args : none
β¨ end_document
Title : end_document
Usage : $eventgenerator->end_document
Function: Handles an end document event
Returns : Bio::Search::Result::ResultI object
Args : none
β¨ result_count
Title : result_count
Usage : my $count = $searchio->result_count
Function: Returns the number of results processed
Returns : integer
Args : none
okay that's the whole page, you ate it up π this one's perl v5.30.0, dated 2019-10-29, and it's the Bio::SearchIO::hmmer3(3pm) page from the User Contributed Perl Documentation. periodt. πβ¨
π¦ 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