Ancestral haplotype reconstruction in endogamous populations using identity-by-descent
Fig 6
Grouping algorithm illustration.
Each horizontal line represents one IBD segment that we placed within a specific individual (highlighted in the pedigree inset). Each vertical line indicates a difference (heterozygous site) between groups. In this case, the orange IBD segment conflicts with both the blue and green groups, so we would reject its source and attempt to find a new one in the next iteration.