Pedigree file information
1
0
Entering edit mode
8.5 years ago
Mani ▴ 20

Hi,

I have few plink pedigree files with me. I want to retrieve data from the file such as Father, mother and siblings etc.

I understand the data is in the Format;

Family ID, Individual ID, Paternal ID, Maternal ID, sex, Phenotype

Is there any script or tool to draw the pedigree chart upon providing the .ped files as input and also for providing information on the .ped files such as:

FAM001  Individual1  0 0  1  2
FAM001  Individual2  0 0  2  1
FAM001  Individual3  Individual1  Individual2   1 2
FAM001  Individual4  Individual1  Individual2   2 1

Parents:

Individual1
Individual2

Offspring:

Individual3
Individual4

Affected:

Individual1
Individual3

I can do this manually for few files but I have more than 100 files and need to classify them like above. Any help would be appreciated.

~Thanks

plink ped pedigree • 4.6k views
ADD COMMENT
2
Entering edit mode
8.5 years ago

drawing : https://madeline.med.umich.edu/madeline/webservice.php , a awk script Visualizing Pedigrees From Plink Files , ...

"input and also for providing information on the .ped files such as;": use awk? e.g: affected:

awk '($6=="2")' *.ped
ADD COMMENT
0
Entering edit mode

Thank you Pierre Lindenbaum, the plotting part is solved thank to your previous post.

The problem is the above awk statement can give information on people with disease status 2. But I also require the relationship information between the individuals in the family. SO I can directly compare data within the family, ex father and mother data with offspring and vice versa.

ADD REPLY
0
Entering edit mode

put your pedigree in a database (e.g. sqlite3 ).

ADD REPLY

Login before adding your answer.

Traffic: 1930 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