Haplotype and Repeat Separation in Long Reads