Question: How to convert PLINK file (map, ped) to haplotype file for XPEHH application
gravatar for Victor
11 months 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 • 533 views
ADD COMMENTlink modified 11 months ago by Wietje190 • written 11 months ago by Victor10
gravatar for Wietje
11 months ago by
Wietje190 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 11 months ago by Wietje190
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: 1364 users visited in the last hour