Entering edit mode
8.0 years ago
BlackHole
•
0
I am trying to convert a .txt and b.txt file to a1.ped and b1.map file using plink or R. I have read some manuals, but it seems that no one specifically mentions how to convert txt to ped and map.
Can somebody help me out? P.S If there is another way (non-plink) of doing that, please do share it.
You'll need to do some data reformating. For that, found out how your files should look and look what you have. Probably some rearrangements have to be made. Also, by just mentioning ".txt" we have no idea how your file is structured...
i have two files that look like : map.txt
and ped.txt
I made its according to Plink (http://www.gwaspi.org/?page_id=145). I use the package in which the files with the extension .ped and .map and I would like to know whether it is possible to convert its.
Your ped.txt has weird genotypes, all are 'D'? All your samples are unaffected and have no gender?
For the rest I think those match with the format specified. So then what's the problem?