Phasing genotypes from reads