Convert .Pre Files To .Ped And .Map Files For Plink
1
1
Entering edit mode
11.9 years ago
NB ▴ 960

Hello,

For association studies, I have the genotype data in .pre, .dat and .map (pre make-ped format) and I would like to convert it to plink format (.ped, .map or .bam .bim. fam).

Is there any way of doing this ? I tried using "makeped" but I ended up getting errors :

ERROR: Ped: 70855 Per: 1 - No family

Thank you.

plink • 7.5k views
ADD COMMENT
2
Entering edit mode

Here's a tutorial that uses .pre and .map-files as entry for PLINK and shows how to convert them, maybe that helps: http://www.vipbg.vcu.edu/~sarahme/eg/c16/practicals_C16.pdf

ADD REPLY
0
Entering edit mode

Thank you. The .pdf was very useful.

The .pre files is pretty much like the .ped format

FAM001 1 0 0 1 2 A A G G A C

FAM001 2 0 0 1 2 A A A G A C

I also tried to just change the extension by .pre to .ped and PLINK accepted that.

Also some of my markers contain more than 2 alleles which is not acceptable by PLINK - is there any way of dealing with this ?

ADD REPLY
2
Entering edit mode

So you have something like rs1214214 with A, T and G? Sounds dodgy.

I'd just skip markers having more than 2 alleles, I hope you don't have many of these...

ADD REPLY
0
Entering edit mode
ADD REPLY
0
Entering edit mode
9.7 years ago
dweeks.pitt ▴ 40

The Mega2 program can convert from pre-makeped LINKAGE format to PLINK format.

See: http://watson.hgen.pitt.edu/docs/conversions/linkage_plink.html

ADD COMMENT

Login before adding your answer.

Traffic: 3119 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