Bio::Search Processor
SummaryPackage variablesSynopsisDescriptionGeneral documentationMethods
WebCvsRaw content
Bio::Search::Processor - DESCRIPTION of Object
Package variables
No package variables defined.
Give standard usage here
Describe the object here
Methods description
newcode    nextTop
 Title   : new
Usage : $proc = new Bio::Search::Processor -file => $filename,
-algorithm => 'Algorithm' ;
Function: Used to specify and initialize a data processor of search
algorithm results.
Returns : A processor specific to the algorithm type, if it exists.
Args : -file => filename
-algorithm => algorithm specifier
-fh => filehandle to attach to (file or fh required)
Methods code
sub new {
    my $type = shift;
    my $proc;
    my ($module, $load, $algorithm);

    my %args = @_;

    exists $args{'-algorithm'} or do { 
	print STDERR "Must supply an algorithm!";
	return undef;

    $algorithm = $args{'-algorithm'} || $args{'-ALGORITHM'};

    $module = "_<Bio/Search/Processor/$";
    $load = "Bio/Search/Processor/$";

    unless ( $main::{$module} ) {
	eval { require $load; };
	if ( $@ ) {
	    print STDERR <<"EOF";
$load: $algorithm cannot be found
Exception $@
For more information about the Search/Processor system please see the
Processor docs. This includes ways of checking for processors at
compile time, not run time
return undef; } } $proc = "Bio::Search::Processor::$algorithm"->new(@_); return $proc; } 1;
General documentation
Mailing ListsTop
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 - About the mailing lists
Reporting BugsTop
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 MackeyTop
Describe contact details here
The rest of the documentation details each of the object
methods. Internal methods are usually preceded with a _