How to convert the VCF file into the haplotype format?
0
0
Entering edit mode
4.3 years ago
r00628112 ▴ 10

Hello~ everyone

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) haplotype figure

figure

VCF haplotype • 830 views
ADD COMMENT
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 2021 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6