Entering edit mode
12.5 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.
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
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...
Sample data would be helpful. http://pngu.mgh.harvard.edu/~purcell/plink/data.shtml#ped