Thanks for putting that in. I was wondering the same thing. The immediate use of it for me would be to have quality-checking steps at the beginning of the workflow, and to not proceed if the data does not pass. 

If there is any implementation of conditionals in Galaxy I would be interested!

Thanks,
Clare

On Sun, May 22, 2011 at 2:00 PM, Florent Angly <florent.angly@gmail.com> wrote:
I filed an enhancement report since if the workflow conditional facility does not appear to exist in Galaxy:
    https://bitbucket.org/galaxy/galaxy-central/issue/547/conditional-workflow-steps
Best,
Florent



-------- Original Message --------
Subject: Workflows with conditional statements
Date: Wed, 18 May 2011 10:31:21 +1000
From: Florent Angly <florent.angly@gmail.com>
To: galaxy-user@lists.bx.psu.edu <galaxy-user@lists.bx.psu.edu>


Hi all,

I was wondering if there is a way to put conditional statements in a 
Galaxy workflow.

This would be useful, for example, in the case of a workflow that has an 
optional advanced option that the user can click. This advanced option 
would add some extra steps to the data processing.

Another example of how this could be useful is if inside a workflow, the 
data needs to be processed differently based on the results of previous 
workflow steps. Say, you have a worflow that takes some sequences, and 
calculate their average length. Using a conditional statement, the 
workflow would put the data through DeBruijn assembler if the reads are 
small, but through a traditional Overlap-Layout-Consensus assembler if 
the reads are long.

Are conditional statements possible in Galaxy workflows and I just don't 
know how to use them?

Best,

Florent

___________________________________________________________
The Galaxy User list should be used for the discussion of
Galaxy analysis and other features on the public server
at usegalaxy.org.  Please keep all replies on the list by
using "reply all" in your mail client.  For discussion of
local Galaxy instances and the Galaxy source code, please
use the Galaxy Development list:

 http://lists.bx.psu.edu/listinfo/galaxy-dev

To manage your subscriptions to this and other Galaxy lists,
please use the interface at:

 http://lists.bx.psu.edu/