Hail now detects multiallelics on VCF import

If your VCF is entirely biallelic, you’ll no longer need to call split_multi or filter_multi before using biallelic-only functions.

Hi @tpoterba,

Migrating now to Hail 0.2, I don’t see a function such as filter_multi()…How can I get my dataset with only bi-allelic variants?

Thanks

just use filter_rows:

mt = mt.filter_rows(hl.len(mt.alleles) == 2)
1 Like

in 0.2, we no longer store information about whether the dataset is split. Instead, methods that don’t support multiallelics will error if they encounter one.

Many thanks, @tpoterba !!!