using simple expressions gff_filter_by_attribute.py $input $out_file1 "$attribute_type" "$attribute_name" "$cond" .. class:: warningmark Double equal signs, ==, must be used as *"equal to"* (e.g., **c1 == 'chr22'**) .. class:: infomark **TIP:** Attempting to apply a filtering condition may throw exceptions if the data type (e.g., string, integer) in every line of the attribute being filtered is not appropriate for the condition (e.g., attempting certain numerical calculations on strings). If an exception is thrown when applying the condition to a line, that line is skipped as invalid for the filter condition. The number of invalid skipped lines is documented in the resulting history item as a "Condition/data issue". .. class:: infomark **TIP:** If your data is not TAB delimited, use *Text Manipulation->Convert* ----- **Syntax** The filter tool allows you to restrict the dataset using simple conditional statements. - Make sure that multi-character operators contain no white space ( e.g., **<=** is valid while **< =** is not valid ) - When using 'equal-to' operator **double equal sign '==' must be used** ( e.g., **attribute_name=='chr1'** ) - Non-numerical values must be included in single or double quotes ( e.g., **attribute_name=='XX22'** )