How filtering works in the Advanced filter operators mode
Learn how Advanced filter operators mode combines filters, condition groups, and logical operators to determine which variants appear in the results.
Include and exclude rules
In Advanced filter operators mode, most filters support two rules: Include and Exclude. Some filters support Include only.
Include: The filter defines conditions that variants must match to be included in the results. This is the default behavior.
Exclude: The filter defines conditions that exclude variants from the results. Variants that match the exclude condition are removed.
Condition groups and nesting
A condition group is a set of filters, nested groups, or both combined under a shared logical operator (AND or OR).
Nesting means placing one condition group inside another condition group. A nested group is the inner group placed inside an outer group. You can nest condition groups up to three levels inside the top-level group.
Condition groups let you express structured logic such as A AND (B OR (C AND D)).
Logical operators
Logical operators define how multiple filters, nested groups, or both are combined within a condition group.
AND: A variant must match all conditions in the group to be included in the results.OR: A variant must match at least one condition in the group to be included in the results.
Logical operators apply at the group level. Each condition group has one operator that applies to all items at that level.
How a query is evaluated
Advanced filter operators mode evaluates a query in stages.
Evaluation starts with individual filters, then moves from the innermost nested groups through each outer group, and ends with the top-level group.
At each stage, the query produces a set of variants that the next stage uses.
Condition group evaluation
A condition group combines the variant sets produced by its filters and any nested groups using the group operator:
ANDreturns variants that match all conditions in the group.ORreturns variants that match at least one condition in the group.
Filters applied with Exclude remove matching variants from the current group’s result.
When a condition group contains another condition group, the inner group is evaluated first. Its result is a set of variants. The outer group then combines that set with the results from its own filters and any other nested groups using the outer group’s operator.
Result: The top-level group returns the final set of variants shown in the variant table.
Query example

Query structure
Query: A AND B AND (C OR (D AND E))
A variant appears in the results only if it matches A, B, and either C or both D and E.
Filtering conditions:
A: Quality is
HighorModerateB: Variant Type is
SNVorIndelC: Curate is
PathogenicorLikely PathogenicD: gnomAD Combined AF is ≤
0.01E: Main Severity is
HighorModerate
Query evaluation
Last updated
Was this helpful?

