Basic configuration of workflow elements

When an element is first added to a workflow, it has a default name, default values for any configurable settings, and usually, all settings are locked, meaning that their values cannot be changed when the workflow is launched. All these aspects are configurable.

Beyond affecting what is displayed in the editor, these changes can affect what is seen when launching the workflow and the settings used by default when the workflow is run.

This section covers:

Opening a workflow element for configuration

A configuration dialog for editing settings in a workflow element can be opened by:

These settings can also be edited in the Workflow Configuration view.

There are three main types of configuration that can be done in this dialog, each described in more detail below:

  1. Specifying whether a setting should be configurable when launching the workflow (locked/unlocked status)
  2. Updating default values for workflow settings
  3. Updating setting labels

Note: Clicking the Reset button in a workflow element configuration dialog sets all name and value changes in that particular configuration step back to the defaults. It has no effect on the locked/unlocked status of the settings.

Specifying whether a setting should be configurable when launching the workflow

Beside each setting is a lock symbol. Values for locked (Image lockclosed_16_n_p) settings cannot be changed when launching the workflow. Values of unlocked (Image lockopen_16_n_p) settings can be changed when launching the workflow.

Click on a lock icon to change it from locked (Image lockclosed_16_n_p) to unlocked (Image lockopen_16_n_p), or vice versa.

Image workflow_lock_unlock
Figure 14.28: Four settings in the Create Alignment element have been unlocked. These will be presented and configurable in the workflow launch wizard.

Locked settings can be listed in the launch wizard, but are not shown by default (figure 14.29).

Image workflow_wizard_locked_params
Figure 14.29: The workflow launch wizard for the Create Alignment step of the workflow shown in figure 14.28. The configurable (unlocked) settings are in the top section. The "Locked Settings" section has been expanded, revealing the settings for this tool that cannot be changed when launching this workflow.

Updating default values for workflow settings

When analysis elements are added to a workflow, the default settings are the same as the defaults for the corresponding tool when run from the Tools menu. Changes to these settings can be made in the configuration dialog, thereby updating the default values the workflow will use when it is run.

Settings in control flow elements affect the flow of data through a workflow, and in many cases, especially when working with Fork or Branching elements, configuration will be needed.

Updating setting labels

Updating a setting's label changes what is displayed in the workflow launch wizard.

To update a setting name, click on the edit icon (Image pencil_16_n_p) beside its name (figure 14.30).

Image workflow_update_parameter_name
Figure 14.30: The "Gap open score" setting has been renamed "Gap opening score" in the element configuration dialog.

Using a template data element to support configuration

Certain settings in some workflow elements support the use of a data element as a template to support configuration. Where this is supported, a Template element field will be present in the configuration wizard.

Information in a template data element is used to populate a list from which the relevant values can be selected. A case where this can be helpful is when providing column or attribute names, where picking from a list may be faster and less error prone.

To supply a data element to use as a template, click the browse (Image browse) button next to the Template element field and select the data element to use. Once selected, click the Load button to populate the drop-down list with values (figure 14.31).

Image wf_tempate_element_example-1
Figure 14.31: Split Sequence List is being configured to split based on attribute values. A template element has been loaded, thereby populating a drop-down list with all its attributes. The attribute to use can then be selected from the list.

We recommend selecting a small element for use as a template, as loading large data elements can take a long time.

When configuring column or attribute names, the use of a template data element is usually optional. They can be typed in manually instead. For other purposes, such as when configuring Extract Table from Report, specifying a template data element to populate the list of possible values is required.

Renaming workflow elements

Understanding a workflow is aided by tailoring element names to reflect their intended use.

To rename an element, right click its name, choose the option "Rename Element..." (figure 14.32), and enter the desired name in the dialog that opens.

Image rename-wf-element
Figure 14.32: To rename a workflow element, right-click its name and select "Rename Element...".

Element names within a workflow must be unique. Thus, when an element is added to a workflow, if its name is not unique, it will be automatically renamed by adding a numeric extension such as "-1", "-2", etc.

Workflow element names are visible in various places:

Image new-element-names-wfeditor
Figure 14.33: Create Alignment elements were renamed to "Aign All" and "Align E. Coli", reflecting their intended function within the workflow. The Filter on Custom Criteria element was renamed "Filter for E. coli".

Image new-element-names-wfconfigurationview
Figure 14.34: When an element's name has been updated, the Workflow Configuration view shows both the current and the original element names. Here, "Create", a term in the original names of two elements, was used to filter the list of elements shown in the view.

Image new-element-names-launchwizard
Figure 14.35: Launch wizard steps for the workflow shown in figure 14.33. The naming makes clear which alignment the settings will be applied to.

Image new-element-names-wflog
Figure 14.36: An analysis log generated by running the workflow shown in figure 14.33.

Image new-element-names-resulthistory
Figure 14.37: The History view of an alignment created using the workflow shown in figure 14.33.