Menu

QuickIBD

Guobo Chen
Attachments
Fig1_IBD.jpeg (36185 bytes)
ibdtest.zip (16269 bytes)

Quick IBD algorithm/Parent of origin IBD for nuclear families

It is a method to calculate parent of origin IBD given high dense markers. As recombination events are rare along a chromosome, with few informative loci, whose IBD information is known, it is easy to infer the IBD for a region given the known IBD at the flanking regions.

Command
quick-ibd

Example

gear --quick-ibd --bfile test --out test

Donwload example files

Two files will be generated.
One is test.ibd.raw, which only gives the parent specific ibd for informative loci.
The other is test.ibd, which gives the inferred ibd for all loci.

Format for test.ibd.raw
The first and the second fields are family id and individual id for sibling 1, and the third and the forth fields are family id and individual id for sibling 2. Since the fifth column on, each column represents the ibd for a locus. -1 means not ibd, 0 for unknown, and 1 for ibd. Each pair of full sibling will show in two rows, for which the first is for paternal ibd and the second for maternal ibd.

10000 10004 10000 10003 0.0 0.0 0.0 0.0 -1.0 0.0 0.0 0.0 0.0 0.0 1.0 0.0 -1.0 0.0 0.0 0.0 1.0 -1.0 0.0 1.0
10000 10004 10000 10003 1.0 0.0 0.0 -1.0 0.0 1.0 0.0 0.0 1.0 1.0 1.0 0.0 0.0 -1.0 0.0 0.0 0.0 -1.0 0.0 0.0

Format for test.ibd
In this file, the first four columns are the same as the test.ibd.raw. However, in this file the loci whose IBD are unknown (with value 0 in ibd.raw) is inferred with flanking ibd known loci.

10000 10004 10000 10003 -1.0 -1.0 -1.0 -1.0 -1.0 -0.6666666666666667 -0.3333333333333333 0.0 0.3333333333333333 0.6666666666666667 1.0 0.0 -1.0 -0.5 0.0 0.5 1.0 -1.0 0.0 1.0 
10000 10004 10000 10003 1.0 0.3333333333333333 -0.3333333333333333 -1.0 0.0 1.0 1.0 1.0 1.0 1.0 1.0 0.3333333333333333 -0.3333333333333333 -1.0 -1.0 -1.0 -1.0 -1.0 0.0 0.0 

Illustrated example
The left panel is for paternal IBD for a pair of siblings over 200 markers. From top to bottom are IBD as from informative markers (from .ibd.raw), inferred from flanking markers (from .ibd), and real IBD.
The right panel is for maternal IBD.
Illustration


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.