Anfonwch hwn fel neges destun: A general approach for haplotype phasing across the full spectrum of relatedness