Input and output

Besides connecting the elements together, you have to decide what the output of the workflow should be. This is done by right-clicking the output box of any tool and selecting Use as Workflow Output as shown in figure 9.10.

Image workflow_output
Figure 9.10: Selecting a workflow output.

By right-clicking you can enter a name for the output that will also be used for naming the result file that is generated. You can mark several outputs this way throughout the workflow. Note that no intermediate results are saved unless they are marked as workflow output9.1.

In addition to output, you also have to specify where the data should go into the workflow. When the workflow is executed, the user will provide some input data, and this has to be passed to the first element(s) in the workflow. This can be done by right-clicking the input box of the first tool and choose Connect to Workflow Input. By dragging from the workflow input box to other input boxes several tools can use the input data directly. Note that only one kind of input data will be provided as input, so you cannot specify e.g. both a mapping and a sequence list as input.



Footnotes

... output9.1
When the workflow is executed, all the intermediate results are indeed saved temporarily but they are automatically deleted when the workflow is completed. If a part of the workflow fails, the intermediate results are not deleted.