Adding workflow elements
First, click the Add Element () button at the top (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 9.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.
Figure 9.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 ( 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 9.2).
Figure 9.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).