2 # BioPerl module for Bio::Factory::AnalysisI
4 # Please direct questions and support issues to <bioperl-l@bioperl.org>
6 # Cared for by Martin Senger <martin.senger@gmail.com>
7 # For copyright and disclaimer see below.
10 # POD documentation - main docs before the code
14 Bio::Factory::AnalysisI - An interface to analysis tool factory
18 This is an interface module - you do not instantiate it.
19 Use I<Bio::Tools::Run::AnalysisFactory> module:
21 use Bio::Tools::Run::AnalysisFactory;
22 my $list = Bio::Tools::Run::AnalysisFactory->new->available_analyses;
26 This interface contains all public methods for showing available
27 analyses and for creating objects representing them.
33 User feedback is an integral part of the evolution of this and other
34 Bioperl modules. Send your comments and suggestions preferably to
35 the Bioperl mailing list. Your participation is much appreciated.
37 bioperl-l@bioperl.org - General discussion
38 http://bioperl.org/wiki/Mailing_lists - About the mailing lists
42 Please direct usage questions or support issues to the mailing list:
44 I<bioperl-l@bioperl.org>
46 rather than to the module maintainer directly. Many experienced and
47 reponsive experts will be able look at the problem and quickly
48 address it. Please include a thorough description of the problem
49 with code and data examples if at all possible.
53 Report bugs to the Bioperl bug tracking system to help us keep track
54 of the bugs and their resolution. Bug reports can be submitted via the
57 https://github.com/bioperl/bioperl-live/issues
61 Martin Senger (martin.senger@gmail.com)
65 Copyright (c) 2003, Martin Senger and EMBL-EBI.
68 This module is free software; you can redistribute it and/or modify
69 it under the same terms as Perl itself.
73 This software is provided "as is" without warranty of any kind.
81 http://www.ebi.ac.uk/Tools/webservices/soaplab/guide
87 This is actually the main documentation...
89 If you try to call any of these methods directly on this
90 C<Bio::Factory::AnalysisI> object you will get a I<not implemented>
91 error message. You need to call them on a
92 C<Bio::Tools::Run::AnalysisFactory> object instead.
97 # Let the code begin...
99 package Bio
::Factory
::AnalysisI
;
102 use base
qw(Bio::Root::RootI);
105 # -----------------------------------------------------------------------------
107 =head2 available_categories
109 Usage : $factory->available_categories;
110 Returns : an array reference with the names of
114 The analysis tools may be grouped into categories by their functional
115 similarity, or by the similar data types they deal with. This method
116 shows all available such categories.
120 sub available_categories
{ shift->throw_not_implemented(); }
122 # -----------------------------------------------------------------------------
124 =head2 available_analyses
126 Usage : $factory->available_analyses;
127 $factory->available_analyses ($category);
128 Returns : an array reference with the names of
129 all available analyses, or the analyses
130 available in the given '$category'
131 Args : none || category_name
133 Show available analyses. Their names usually consist of category
134 analysis names, separated by C<::>.
138 sub available_analyses
{ shift->throw_not_implemented(); }
140 # -----------------------------------------------------------------------------
142 =head2 create_analysis
144 Usage : $factory->create_analysis ($name);
145 Returns : a Bio::Tools::Run::Analyis object
148 A real I<factory> method creating an analysis object. The created
149 object gets all access and location information from the factory
154 sub create_analysis
{ shift->throw_not_implemented(); }
156 # -----------------------------------------------------------------------------