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 32.1).

Alternatively elements can be dragged directly from the Toolbox into the workflow. Only workflow enabled elements can be dropped in the workflow.

Image workflow_add_elements
Figure 32.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 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 add more later on if you wish.

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

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

Once added, you can move and re-arrange the elements by dragging them with the mouse. To do this, click on part of the box containing the name of the element and then, keeping the mouse button depressed, drag the element to the desired position.