Requirement failed: called altAllele on a non-biallelic varia nt

Hi Team,

I know this error is pretty old with Hail. Is thier some update on this ? Or some other way to handle this error?

java.lang.IllegalArgumentException: requirement failed: called altAllele on a non-biallelic varia
nt

I don’t think this is a bug – calling altAllele on a variant with more than 1 alternate allele is an undefined behavior. You can access the array of alternate allele objects with v.altAlleles()

1 Like

This is a bad error message, though, for sure.