Bio::SearchIO
SearchWriterI
Summary
Bio::SearchIO::SearchWriterI - Interface for outputting parsed Search results
Package variables
No package variables defined.
Included modules
Inherit
Synopsis
Bio::SearchIO::SearchWriterI objects cannot be instantiated since this
module defines a pure interface.
Given an object that implements the
Bio::SearchIO::SearchWriterI interface,
you can do the following things with it:
print $writer->to_string( $result_obj, @args );
Description
This module defines abstract methods that all subclasses must implement
to be used for outputting results from
Bio::Search::Result::ResultIobjects.
Methods
Methods description
Purpose : Produces data for each Search::Result::ResultI in a string.
: This is an abstract method. For some useful implementations,
: see ResultTableWriter.pm, HitTableWriter.pm,
: and HSPTableWriter.pm.
Usage : print $writer->to_string( $result_obj, @args );
Argument : $result_obj = A Bio::Search::Result::ResultI object
: @args = any additional arguments used by your implementation.
Returns : String containing data for each search Result or any of its
: sub-objects (Hits and HSPs).
Throws : n/a |
Methods code
sub to_string
{ my ($self, $result, @args) = @_;
$self->throw_not_implemented;} |
General documentation
Steve Chervitz <sac@bioperl.org>
This software is provided "as is" without warranty of any kind.
The rest of the documentation details each of the object methods.