[MOBY-dev] Executing Moby Workflow straight from java
Sergio Ramirez Ramirez
serr at ac.uma.es
Thu Sep 11 14:38:49 UTC 2008
Hello Jerzy
I had the same problem that you.
I have got it to work by browsing deep in the Taverna code. I cannot
give you many sample code because I'm trying to organize all the code
tries and examples that I have.
But I can give you some comments:
For build a workflow model the class is:
org.embl.ebi.escience.scufl.ScuflModel, just do ScuflModel model = new
ScuflModel();
This class contains the methods that you mention addProcessor ...
For run I'm using freeflow, because taverna classes and raven are a
"little" tricky. The classes:
uk.ac.soton.itinnovation.freefluo.main.Engine or
org.embl.ebi.escience.scufl.enactor.implementation.FreefluoEnactorProxy
can help you.
I hope this little details help you to begin. If you have more detailed
questions I will be very happy of help you.
Best regards,
Sergio
Jerzy Orlowski wrote:
> Hi
>
> I have several hundreds of workflows made up of BioMoby Services and
> want to execute them all without opening any GUI.
>
> I was looking for some solution over the internet and the think I came
> across was using Taverna plugin and try to execute it programaticaly.
> I have a few questions:
>
> 1. Is it the only way?
>
> 2. I found several tutorial tutorials on running saved workflow saved
> in scufl language.
> http://www.mygrid.org.uk/usermanual1.7/executeworkflowprogram_source.html
>
> How do you one make a workflow step by step? like:
>
> workflow.addProcesor(...)
> workflow.addConnector(...)
> ...
> workflow.execute()
>
> and especially, how do one add BioMoby objects this way? Is there any
> tutorial or do I have go though the API?
>
> Best
>
> Jerzy Orlowski
>
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-dev
>
--
Sergio Ramírez Ramírez
Instituto Nacional de Bioinformática (INB)
Integrated Bioinformatics Node (GNV-5)
Dpto. de Arquitectura de Computadores
Campus Universitario de Teatinos, despacho 2.3.9a
29071 Málaga (Spain) +34 95 213 3387
"Short-term decisions tend to fail in the long-term."
Frank Herbert, God Emperor of Dune
More information about the MOBY-dev
mailing list