The parentheses are not needed if there is only one condition.
Combine multiple conditions with either <em>and</em> or <em>or</em> (but not a mixture).
<br>Each condition is written as:
- <pre>Label|Score|AttributeName condition [value]</pre>
- where <em>condition</em> is not case sensitive, and should be one of
+ <pre>Label <em>or</em> Score <em>or</em> AttributeName condition [value]</pre>
+ where either the label (description), (numeric) score, or (text or numeric) attribute is tested against the condition.
+ <br><em>condition</em> is not case sensitive, and should be one of
<ul>
- <li><em>Contains</em> - value should contain the given text (not case sensitive); example <em>clinical_significance contains Pathogenic</em></li>
- <li><em>NotContains</em> - value should not contain the given text</li>
- <li><em>Matches</em> - value should match the given text (not case sensitive)</li>
- <li><em>NotMatches</em> - value should not match the given text (not case sensitive)</li>
- <li><em>Present</em> - specified attribute is present on the feature (no value required); example <em>CSQ:SIFT present</em></li>
- <li><em>NotPresent</em> - specified attribute is not present on the feature (no value required)</li>
+ <li><em>Contains</em> - description (or attribute) should contain the given value (not case sensitive); example <em>clinical_significance contains Pathogenic</em></li>
+ <li><em>NotContains</em> - description (or attribute) should not contain the given value</li>
+ <li><em>Matches</em> - description (or attribute) should match the given value (not case sensitive)</li>
+ <li><em>NotMatches</em> - description (or attribute) should not match the given value (not case sensitive)</li>
+ <li><em>Present</em> - attribute is present on the feature (no value required); example <em>CSQ:SIFT present</em></li>
+ <li><em>NotPresent</em> - attribute is not present on the feature (no value required)</li>
<li><em>EQ</em> - feature score, or specified attribute, is equal to the (numeric) value</li>
<li><em>NE, LT, LE, GT, GE</em> - tests for not equal to / less than / less than or equal to / greater than / greater than or equal to the value</li>
</ul>
A non-numeric value always fails a numeric test.<br>If either attribute name, or value to compare, contains spaces, then enclose in single quotes:
<em>'mutagenesis site' contains 'decreased affinity'</em>
- <br>Tip: to see examples of valid syntax, first configure colours and filters in Jalview, then <em>File | Export Features</em> to Textbox in Jalview Format.
+ <br>Tip: some examples of filter syntax are given below; or to see more, first configure colours and filters in Jalview, then <em>File | Export Features</em> to Textbox in Jalview Format.
<br><em>Feature filters were added in Jalview 2.11</em>
</p>