UPDATE: Never mind, I needed to compare [“STRING”] instead of just “STRING”. Simple mistake.
I’ve applied VEP annotations to a MatrixTable mt and am interested in filtering the rows of the table by the consequence_terms.
Running mt.vep.transcript_consequences.consequence_terms.show()
shows me that the consequence_terms are of type array<array<str>>
.
I’ve tried to do mt.filter_rows(mt.vep.transcript_consequences.consequence_terms.contains("protein_altering_variant")).show()
but get hail.utils.java.FatalError: HailException: no conversion found for contains(, array<array<str>>, str) => bool
.