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


#1

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


#2

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()


#3

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