Variant size filter
Background
For CNVs, we will need to separate alleles on size. In the filter chains we then need a SizeFilter
. This filter should be made to be run "both ways", both as a filter and as an exception.
Implementation
Suggested config schema:
{
"type": "object",
"properties": {
"name": {
"enum": ["size"]
},
"config": {
"type": "object",
"additionalProperties": false,
"required": ["threshold", "mode"],
"properties": {
"threshold": {
"type": "integer",
"minimum": 0
},
"mode": {
"enum": ["<", ">", ">=", "<=", "=="]
}
}
}
}
}