What is the currently recommended method for importing pseudoautosomal XY data into hail? I am using the UKBB imputed data in bgen format for the XY chromosome. I note that if you try to load the data as XY, it errors with:
Hail version: 0.2-961f76d14f1e
Error summary: HailException: Invalid locus XY:60014' found. Contig
XY’ is not in the reference genome `GRCh37’.
If you translate the bgen so that XY is just coded as X instead, it errors with:
Hail version: 0.2-961f76d14f1e
Error summary: HailException: Hail only supports diploid genotypes. Found min ploidy 1' and max ploidy
2’.
If you translate the bgen so that XY is coded as chr 1 just to see what happens, it errors with:
Hail version: 0.2-961f76d14f1e
Error summary: HailException: Hail only supports 8-bit probabilities, found 16.
I am guessing that there are some specific genotypes in the XY file that it doesn’t like, but I’m not sure what I am looking for.