Bio::Search::Processor::ProcessorI - Abstract Interface for Processor Objects


use Bio::Search::Processor

my $processor = new Bio::Search::Processor -file => 'mysearchrun', -algorithm => 'Blast';

while ($result = $processor->next_result()) {

    $id = $result->get_query_id();
    $lib = $result->get_library_name();
    $size = $result->get_library_size();

    foreach $hit ( $result->get_hits() ) {
        $matchid = $hit->get_id();
        $matchdesc = $hit->get_desc();
        # etc, etc, do stuff.


A Processor object is used to generate Bio::Search::Result::* objects, given a source of Search data (a file or filehandle). The Processor object works very much like the SeqIO system: once initialized with the new() method, the Processor object will continue to yield as many Result objects as are available from the data source (for single "runs" this is often only one Result object).


Mailing Lists

User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to one of the Bioperl mailing lists. Your participation is much appreciated.          - General discussion     - Technically-oriented discussion             - About the mailing lists

Reporting Bugs

Report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via email or the web:

AUTHOR - Aaron Mackey



The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _


 Title   : next_result
 Usage   : $result = $processor->next_result()
 Function: Returns the next Bio::Search::Result::* object available from
           the provided data stream or undef if no more are available.
 Returns : Bio::Search::Result object
 Args    : <none>