Subsections


Branching elements

Branching elements control the path that data takes through a workflow.

Branch on Item Count

Branch on Item Count (Image branch_on_item_count_16_n_p) controls the flow of elements based on their item count or that of another element. The input element flows through the Pass or Fail output channel, depending on whether the item count meets the defined condition (figure 13.58).

Image branch_on_item_count
Figure 13.58: Sequences that meet the condition specified in the Branch on Item Count element flow through the Pass output channel and continue to the Assemble Sequences step. Sequences that do not meet the condition flow through the Fail output channel and are not processed further.

The following options can be configured (figure 13.59):

Image branch_on_item_count_configure
Figure 13.59: Configuration of a Branch on Item Count element.

Many element types containing countable items can be used with Branch on Item Count. Examples of countable items include sequences in a sequence list (Image seq_list_nucleotide) (Image seq_list_protein) or an alignment (Image alignment), or reads in a stand-alone read mapping (Image contig).