This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Convert .Pre Files To .Ped And .Map Files For Plink

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

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 ?

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...

1 answer

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

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

Log in to answer this question.