Entering edit mode
6.6 years ago
meri.kaustio
•
0
Hi,
I got some genotype data as .map and .raw files, so I don't have the original ped-file. Is there some easy way to convert back to .ped format? I found that his question had been asked here before but there wasn't really an answer.
If there is no way to convert back to ped-format, would anyone be able to tell me or stear me towards information on what to do with the -raw file or how to handle it in R? I'd like to be able to find genotypes for specific snps at least, but I'm not familiar with R or this file format and don't really know where to start...
Cheers, Meri
From what I can see, in PLINK, the raw file is just a phenotype file that has the following format:
If you only have that plus the MAP file, then you won't have any genotype information and you therefore will not be able to create a PED file.
Can you run the BASH
head()
command on your raw file?See Plink Raw Format To Ped Format and How to convert plink.raw to map and ped files in any software for further information