Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
laderast committed Aug 9, 2024
1 parent d99f76c commit 37e17b9
Showing 1 changed file with 42 additions and 2 deletions.
44 changes: 42 additions & 2 deletions filtering.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ A secondary purpose of filtering is when you want to view your results in the re

# Filtering Roadmap



```{mermaid}
flowchart TD
A["Results Viewer"] --> B
Expand Down Expand Up @@ -178,6 +176,48 @@ graph TD

Filters can be exported and saved as JSON files for further reuse. They can be applied to a new set of variants in the GUI, or can be applied to result SQLite files on the command line.

Here's an example of what a filter looks like in the JSON format:

```
{
"sample": {
"require": [],
"reject": []
},
"genes": [],
"variant": {
"operator": "and",
"rules": [
{
"operator": "and",
"rules": [
{
"column": "clinvar__sig",
"test": "hasData",
"value": null,
"negate": false
},
{
"column": "clingen__disease",
"test": "hasData",
"value": null,
"negate": false
}
],
"negate": false
}
],
"negate": false
},
"smartfilter": {},
"samplefilter": {
"operator": "and",
"rules": [],
"negate": false
}
}
```

# Applying JSON filters in the GUI


Expand Down

0 comments on commit 37e17b9

Please sign in to comment.