Branching elements
Branching elements control the path that data takes through a workflow based on aspects of the data.
Branch on Sequence Count
Branch on Sequence Count () elements are used when downstream handling of sequence lists should depend on the number of sequences in the list.
The sequence list provided as input will flow through the Pass or the Fail output channel depending on whether the number of sequences meets the condition specified in the branching element (figure 13.52).
Figure 13.52: If the sequence list provided as input meets the condition specified in a Branch on Sequence Count element, it will flow through the Pass output channel and be used in the Assemble Sequences step. Otherwise, it will flow through the Fail output channel, where here, it would not be processed further.
In the Branch on Sequence Count configuration dialog (figure 13.53), the configuration options are:
- Comparison The operator to use for the comparison:
>=
,=
or<=
, offered in a drop-down list. - Number of sequences The number of sequences to use in the comparison.
Figure 13.53: Configuration of a Branch on Sequence Count element