Question: How to convert PLINK file (map, ped) to haplotype file for XPEHH application
gravatar for Victor
2.7 years ago by
Victor10 wrote:


I am the first year PhD student in University .

Basically, I'm new to PLINK (obviously). Sorry for asking quite a silly question.

I am doing the selection signal with canine and try to use the HP-EXX ( to get the haplotype score.

However, I only have Plink files (ped, map). I want to know are there any way to convert my plink files to haplotype format. The software require the input haplotype format is one haplotype per line, with alleles coded as 1 and 0.

Many Thanks

snp genome • 1.4k views
ADD COMMENTlink modified 2.7 years ago by Wietje220 • written 2.7 years ago by Victor10
gravatar for Wietje
2.7 years ago by
Wietje220 wrote:

To define haplotypes you will need to phase your data (e.g. with Beagle or Shapeit); the conversion to 0-1 format can be accomplished in PLINK (--recode 01). you might want to take a closer look at the PLINK manual and the various options.

And maybe check whether your question has popped up before...

ADD COMMENTlink written 2.7 years ago by Wietje220
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1213 users visited in the last hour