[Bioperl-l] general Analysis client added
Martin Senger
senger at ebi.ac.uk
Mon Mar 3 22:28:41 EST 2003
>
> $service = new Bio::Tools::Run::AnalysisFactory
> ->create_analysis ('edit::seqret');
> can be more a problem to change. In Pise it's:
>
> my $factory = Bio::Tools::Run::AnalysisFactory::Pise->new();
> $service = $factory->program('toppred');
>
> and this type of code has really begun to be used (several jobs every days,
> and sometimes hundreds of them from several place apparently, and on
> various programs).
>
I have not looked yet in the details into the Pise package - but for
sure the current packages (it's the same with Heikii's EMBOSS.pm) are
using different method names, and even more they either provide richer or
sometimes lesser functionality than the AnalysisI + Factory::AnalysisI
expect. Thus I expected to write some "wrappers" that can hide the
differences. And case by case, to use only these wrappers and deprecate
the original packages, or to use them both - exactly as you suggested in
your mail. I am quite sure that we find optimal solution. Just let me look
at the Pise in more details...
>
> Another point: you can apparently use the Bio::Tools::Run::AnalysisFactory
> without instantiating it?
>
Actually, I think I do instantiate it. But in fact, it is not the
object Bio::Tools::Run::AnalysisFactor who is instantiated (by new()
method) but the access-related module, such as
Bio::Tools::Run::AnalysisFactory::soap.
Did I answer your question?
Martin
--
Martin Senger
EMBL Outstation - Hinxton Senger at EBI.ac.uk
European Bioinformatics Institute Phone: (+44) 1223 494636
Wellcome Trust Genome Campus (Switchboard: 494444)
Hinxton Fax : (+44) 1223 494468
Cambridge CB10 1SD
United Kingdom http://industry.ebi.ac.uk/~senger
More information about the Bioperl-l
mailing list