My data only includes parents. What should I do to continue?
Hello. I want to do Plink and I need to make ped my first family ID in Linux file creation. How to build a family ID?
1 answer
The family ID is just a value/string in the first field of the .ped file, which is the same for every member of that family. Say that you have a small dataset with a family with father, mother, son, daugher, their dog (adopted) and furthermore unrelated 2 neighbours with their wife your first two fields could look like:
FAM1 father
FAM1 mother
FAM1 son
FAM1 daughter
FAM2 dog
FAM3 neighbour1m
FAM3 neighbour1f
FAM4 neighbour2m
FAM4 neighbour2f
My data only includes parents.
I'm not sure that I understood that correctly. If nobody in your dataset is genetically related everyone will have his own family ID. It's most convenient to have that family ID be the same as the individual ID, as you don't have to generate new names.
My data is as follows:
SNP Chip ID,Animal ID,Paternal ID,Maternal ID,Breed,Phenotype,YOB,Sex
R950E03,111006,930226,910008,Perendale,Resistant,1995,M
R950E06,110917,950085,910043,Perendale,Resistant,1997,F
R950C09,110892,950085,910125,Perendale,Resistant,1997,F
R949B05,111101,870141,840409,Perendale,Resistant,1989,F
R949F06,111089,880042,840492,Perendale,Resistant,1990,F
Log in to answer this question.