HelpDatabase Reference › MH_Triangulate

MH_Triangulate Table

The MH_Triangulate table stores triangulated DNA segments — regions where you and two of your MyHeritage matches all overlap on the same chromosome. Each row is one such intersected segment, recorded from the perspective of one of your kits (kitid) and a pair of matches (guid1, guid2).

Gathering status: MyHeritage gathering is currently unavailable in the Client and is expected to return in a future update. This page documents the schema as it exists for data already in your database.

Column Reference

ColumnTypeDescription
Idint (PK)Auto-incrementing primary key
kitidstringYour kit ID — the test whose matches are being triangulated. Indexed.
guid1stringFirst of the two matches in the triangulated pair
guid2stringSecond of the two matches in the triangulated pair
chromosomeintChromosome number the triangulated segment is on
cmdecimalLength of the triangulated segment in centimorgans
startintStart physical position of the segment (base-pair coordinate)
endintEnd physical position of the segment (base-pair coordinate)
snpsintNumber of SNPs spanned by the segment
startrsstringRSID at the segment’s start boundary
endrsstringRSID at the segment’s end boundary

How It’s Populated

Rows are written by AddMH_Triangulation during the triangulation gather stage. For each intersected segment between two matches, the code stores kitid (your kit), the two match IDs, and the segment details (chromosome, cM, positions, SNP count, and boundary RSIDs). Each segment is stored both ways — once as (guid1, guid2) and once reversed as (guid2, guid1) — so a lookup from either match finds it. Inserts are de-duplicated on the combination of kitid, guid1, guid2, chromosome, and start. A schema migration prefixes legacy kitid values with “D-” so they match the ID format used elsewhere.

Related Tables

  • MH_Matchkitid, guid1, and guid2 correspond to the ID values stored on match rows.
  • MH_ICW — the triSegments count there is summarised from triangulated segments like these.
  • MH_Chromo — the two-person shared segments that triangulation intersects.