Hi there,
I am getting the following error:
> Hail version: 0.2.39-ef87446bd1c7
> Error summary: HailException: Only support ploidy == 2 and unphased. Found 1|1.
I was previously provided the code below to ‘hide’ the phased info, but it is currently not working as I am getting the above error after I execute it. Is there something I am missing?
mt.annotate_entries(GT=hl.case()
.when(mt.GT.is_diploid(), hl.call(mt.GT[0], mt.GT[1], phased=False))
.when(mt.GT.is_haploid(), hl.call(mt.GT[0], phased=False))
.default(hl.null(hl.tcall)))
Many thanks,