-
Notifications
You must be signed in to change notification settings - Fork 0
Understanding Filtering: Learn to harness FAT's DSL to Power Filtering Schemes
Matthew Mosior edited this page Mar 5, 2021
·
20 revisions
Filtering Analysis Tool (FAT) uses a DSL to define the filtering scheme to apply to the input tab-delimited (tsv) file.
The DSL FAT uses to apply filtering is made up of several operators.
The following arithmetic operators are supported by the DSL:
- + : Addition
- - : Subtraction
- / : Division
- | : Null (do nothing)
A multiplication operator is slated to be added in the next release.
The following relational operators are supported by the DSL:
- >= : Greater than or equal to
- <= : Less than or equal to
- == : Equal to
- /= : Not equal to
- =~ : Regex
Strict less than and greater than operators are slated to be added in the next release.
Data in the following structures are supported by the DSL:
- x,y : This structure should be used for two-piece data (i.e. 32,54)
- y,x : This structure should be used for two-piece data, but will treat the second element first. (i.e. 54,32)
- x,_ : This structure should be used for two-piece data, but will ignore the second element. (i.e. 32,54 -> 32)
- _,y : This structure should be used for two-piece data, but will ignore the first element. (i.e. 32,54 -> 54)
- x : This structure should be used for one-piece data (2.241 or missense)
Other structures can be added and supported, please create an issue for this request.