I remember this being mentioned in a project called Tavaxy http://www.biomedcentral.com/1471-2105/13/77, but it's a separate piece of software (using Galaxy) and I don't know if it's been updated in a while so it may not be as useful for you.  Not sure if anybody else had any experience with it?

It would be pretty cool to have conditionals and loops within workflows though.

Aaron


On Wed, Mar 5, 2014 at 9:05 PM, Michael E. Cotterell <mepcotterell@gmail.com> wrote:
Is there a way to have conditionals and loops for the various steps in a Galaxy workflow?

For example, a conditional might be used to branch to various steps based on the previous steps. Also, a step may need to be repeated until it produces a particular output.

Here is an actual use case: We are invoking a web service in one of our workflows. The first step returns a unique identifier that you need to use later in order to get the actual results (since the web service operation is asynchronous). Later, using another operation, you can check on the status of the job being performed. Sometimes, this operation/step will inform us that the results are not ready. We would like to be able to loop on that second operation/step until it says the job is done, and then move on to a third operation/step to actually get the results.

Any ideas?

Sincerely,
Michael E. Cotterell

Ph.D. Student in Computer Science, University of Georgia
Instructor of Record, Graduate RA & TA, University of Georgia
Department Liaison, CS Graduate Student Association, University of Georgia
mepcotterell@gmail.com (mailto:mepcotterell@gmail.com)
mepcott@uga.edu (mailto:mepcott@uga.edu)
mec@cs.uga.edu (mailto:mec@cs.uga.edu)
http://michaelcotterell.com/


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  http://lists.bx.psu.edu/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/mailinglists/