Question: How to build a family ID?
0
gravatar for mm
22 months ago by
mm20
mm20 wrote:

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 • 722 views
ADD COMMENTlink modified 22 months ago by WouterDeCoster32k • written 22 months ago by mm20
1
gravatar for WouterDeCoster
22 months ago by
Belgium
WouterDeCoster32k wrote:

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 COMMENTlink written 22 months ago by WouterDeCoster32k

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

ADD REPLYlink written 22 months ago by mm20

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 REPLYlink written 22 months ago by WouterDeCoster32k

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 REPLYlink modified 22 months ago by WouterDeCoster32k • written 22 months ago by mm20

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

ADD REPLYlink written 22 months ago by WouterDeCoster32k

Is that an example my data!

ADD REPLYlink written 22 months ago by mm20

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

ADD REPLYlink written 22 months ago by WouterDeCoster32k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1318 users visited in the last hour