Closed aryarm closed 10 months ago
@mlamkin7 , can you review this? and just double check that the tests are sufficient?
also, can you recall any other reason we hadn't enabled support for biallelic variants in transform
, yet? Is there anything I'm not thinking of?
I'm making this PR for @XimeiWulilyy , who asked recently about whether the
transform
command could accept multiallelic SNPs. Previously, there was a check in place to restrict it to only biallelic variants, since theGenotypesVCF
class could handle only biallelic variants. But then multiallelic support was added to theGenotypesVCF
class in #195.This PR removes the biallelic check in
transform
, adds some tests, and makes some changes toHaplotype.transform
andHaplotypes.transform
to allow them to handleGenotypes
classes with multiallelic variants in them.