NAME
Bio::Search::Processor::ProcessorI - Abstract Interface for Processor Objects
SYNOPSIS
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.
}
}
DESCRIPTION
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).
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 one of the Bioperl mailing lists. Your participation is much appreciated.
vsns-bcd-perl@lists.uni-bielefeld.de - General discussion
vsns-bcd-perl-guts@lists.uni-bielefeld.de - Technically-oriented discussion
http://bio.perl.org/MailList.html - 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:
bioperl-bugs@bio.perl.org
http://bio.perl.org/bioperl-bugs/
AUTHOR - Aaron Mackey
Email amackey@virginia.edu
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
next_result
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>