How to build a family ID?
1
0
Entering edit mode
8.1 years ago
mm ▴ 20

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?

linux • 2.4k views
ADD COMMENT
1
Entering edit mode
8.1 years ago

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
ADD COMMENT
0
Entering edit mode

My data only includes parents. What should I do to continue?

ADD REPLY
0
Entering edit mode

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.

ADD REPLY
0
Entering edit mode

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
ADD REPLY
0
Entering edit mode

So what's the question? Is that an example or the entire dataset?

ADD REPLY
0
Entering edit mode

Is that an example my data!

ADD REPLY
0
Entering edit mode

Can you rephrase? I don't understand what you want to say.

ADD REPLY

Login before adding your answer.

Traffic: 1989 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6