|
NAMEBio::AnalysisParserI - Generic analysis output parser interfaceSYNOPSIS# get a AnalysisParserI somehow. # Eventually, there may be an Bio::Factory::AnalysisParserFactory. # For now a SearchIO object, an implementation of AnalysisParserI, can be created # directly, as in the following: my $parser = Bio::SearchIO->new( '-file' => 'inputfile', '-format' => 'blast'); while( my $result = $parser->next_result() ) { print "Result: ", $result->analysis_method, ", Query: ", $result->query_name, "\n"; while( my $feature = $result->next_feature() ) { print "Feature from ", $feature->start, " to ", $feature->end, "\n"; } } DESCRIPTIONAnalysisParserI is a interface for describing generic analysis result parsers. This module makes no assumption about the nature of analysis being parsed, only that zero or more result sets can be obtained from the input source.This module was derived from Bio::SeqAnalysisParserI, the differences being
Rationale (copied from Bio::SeqAnalysisParserI)The concept behind this interface is to have a generic interface in sequence annotation pipelines (as used e.g. in high-throughput automated sequence annotation). This interface enables plug-and-play for new analysis methods and their corresponding parsers without the necessity for modifying the core of the annotation pipeline. In this concept the annotation pipeline has to rely on only a list of methods for which to process the results, and a factory from which it can obtain the corresponding parser implementing this interface.TODOCreate Bio::Factory::AnalysisParserFactoryI and Bio::Factory::AnalysisParserFactory for interface and an implementation. Note that this factory could return Bio::SearchIO-derived objects.FEEDBACKMailing ListsUser 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.bioperl-l@bioperl.org - General discussion http://bioperl.org/wiki/Mailing_lists - About the mailing lists SupportPlease direct usage questions or support issues to the mailing list:bioperl-l@bioperl.org rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible. Reporting BugsReport bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via the web:https://github.com/bioperl/bioperl-live/issues AUTHOR - Steve Chervitz, Jason Stajich, Hilmar LappEmail sac@bioperl.orgAuthors of Bio::SeqAnalysisParserI on which this module is based: Email jason@bioperl.org Email hlapp@gmx.net COPYRIGHTCopyright (c) 2001 Steve Chervitz. All Rights Reserved.DISCLAIMERThis software is provided "as is" without warranty of any kind.APPENDIXThe rest of the documentation details each of the object methods. Internal methods are usually preceded with a _next_resultTitle : next_result Usage : $result = $obj->next_result(); Function: Returns the next result available from the input, or undef if there are no more results. Example : Returns : A Bio::Search::Result::ResultI implementing object, or undef if there are no more results. Args : none
Visit the GSP FreeBSD Man Page Interface. |