Adding workflow elements

First, click the Add Element (Image add_plus) button at the bottom (or use the shortcut Shift + Alt + E). This will bring up a dialog that lists the elements and tools, which can be added to a workflow (see figure 34.1).

Alternatively elements can be dragged directly from the Toolbox into the workflow. Not all elements are workflow enabled. This means that only workflow enabled elements can be dropped in the workflow.

Image workflow_add_elements
Figure 34.1: Adding elements in the workflow.

Elements that can be selected in the dialog are mostly tools from the Toolbox. However, there are two special elements on the list; the elements that are used for input and output. These two elements are explained in Input and output.

You can select more than one element in the dialog by pressing Ctrl (Image command_key_web on Mac) while selecting. Click OK when you have selected the relevant tools (you can always add more later on).

You will now see the selected elements in the editor (see figure 34.2).

Image workflow_two_elements
Figure 34.2: Read mapping and variant calling added to the workflow.

Once added, you can move and re-arrange the elements by dragging with the mouse (grab the box with the name of the element).