Question: Workflows With Conditional Statements
0
Florent Angly • 370 wrote:
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