labsquare/cutevariant

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

antonylebechec opened this issue · 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"