cutevariant icon indicating copy to clipboard operation
cutevariant copied to clipboard

[VQL] enable "value" in filters as à column

Open antonylebechec opened this issue 2 years ago • 0 comments

In order to be able to create VQL with column comparison, enable "value" as a column. Example: SELECT chr,pos,ref,alt FROM variant WHERE ref = alt

Suggestion:

  • add in sql.txt: "ValueIdentifier: (NUMBER|STRING|BOOL|Tuple|WordSetIdentifier|"NULL"|FieldIdentifier);"
  • add in sql.py a detection of field in tables "variants, "annotations" and "sample_has_variant"

antonylebechec avatar May 08 '22 14:05 antonylebechec