As the title mentioned, does anyone know how to convert the VCF file into this kind of haplotype format as the attached figure(https://www.dropbox.com/s/8o2yt6gbikocjo2/200123-haplotype.png?dl=0)
This is untested but you may be able to do it with SHAPEIT, like this:
shapeit -convert \
--input-vcf in.vcf \
--output-haps out.haps ;
Let me know if that works, in which case, I will move this to an answer
Login before adding your answer.
Use of this site constitutes acceptance of our User Agreement and Privacy