Hi all, I am trying to obtain a subset of my MatrixTable that has been annotated with VEP.
It is accessed by: vep_most_severe_consequence = mt.most_severe_consequence
and it is a string expression
I tried:
In general, for boolean conditions, in Hail, you must do: (xx == yy) | (zz == aa) the | is or and the parentheses are required due to precedence issues.
That works too! Just to check, would it be similar to:
mt.filter_rows(mt.most_severe_consequence == ‘frameshift_variant’ | mt.most_severe_consequence == ‘stop_gained’ ))