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
;
103 use base
qw(Bio::Root::RootI);
106 # -----------------------------------------------------------------------------
108 =head2 available_categories
110 Usage : $factory->available_categories;
111 Returns : an array reference with the names of
115 The analysis tools may be grouped into categories by their functional
116 similarity, or by the similar data types they deal with. This method
117 shows all available such categories.
121 sub available_categories
{ shift->throw_not_implemented(); }
123 # -----------------------------------------------------------------------------
125 =head2 available_analyses
127 Usage : $factory->available_analyses;
128 $factory->available_analyses ($category);
129 Returns : an array reference with the names of
130 all available analyses, or the analyses
131 available in the given '$category'
132 Args : none || category_name
134 Show available analyses. Their names usually consist of category
135 analysis names, separated by C<::>.
139 sub available_analyses
{ shift->throw_not_implemented(); }
141 # -----------------------------------------------------------------------------
143 =head2 create_analysis
145 Usage : $factory->create_analysis ($name);
146 Returns : a Bio::Tools::Run::Analyis object
149 A real I<factory> method creating an analysis object. The created
150 object gets all access and location information from the factory
155 sub create_analysis
{ shift->throw_not_implemented(); }
157 # -----------------------------------------------------------------------------