Leeds AutoClustering Tool
Leeds Auto Clustering Tool: Interactive DNA Match Clustering Grid
Organize your autosomal DNA matches into visual ancestral clusters using an automated, browser-based implementation of the Leeds Method. Analyze In-Common-With (ICW) shared match networks, isolate cousin branches, and solve family tree brick walls with complete privacy.
AutoCluster Tool (Manual, ICW-Based)
Build the same kind of cluster grid you'd get from MyHeritage AutoCluster or Genetic Affair — but entirely manually and locally in your browser, based on which matches share each other's "in common with" list (ICW).
How this works
1. Add your matches with their name and shared cM. 2. Set a "too close" threshold — matches above it (parents, siblings, etc.) are excluded, since they share DNA with essentially every line and just add noise. 3. In the ICW grid, tick the boxes where two matches appear on each other's shared-match list at your testing company. This is exactly the kind of data real autocluster tools are built on — not segment overlap. 4. Click "Build cluster grid". The tool groups matches that share a large overlap of ICW connections into a cluster (the same underlying principle as the Leeds Method, but optimized and shown as a grid instead of a list).
On ICW vs. triangulation: ICW means two matches show up on each other's match lists — a strong indicator, but it does not guarantee you actually share the same DNA segment (that requires real segment overlap / triangulation in a chromosome browser). This is nonetheless exactly what AutoCluster and Genetic Affair themselves are built on, since most testing companies don't expose segment data through their APIs. If you've separately confirmed a match via triangulation, you can mark it as "Triangulated" below — it will then get a small marker in the grid so you can see which connections are extra solid.
1. Your matches
Add each match's name, total shared cM, and tick the box if you've separately confirmed segment overlap via triangulation.
| Name | Shared cM | Triangulated |
|---|
2. Settings
The similarity threshold controls how much ICW overlap two matches (or clusters) need to be merged. Higher → fewer, tighter clusters and more "unclustered" matches. Lower → larger, more intertwined clusters.
3. Shared-match grid (ICW)
Tick the box where the row match and column match appear on each other's shared-match list. Only matches at or below the threshold are shown, sorted largest to smallest.
Results — cluster matrix
The cells along the diagonal form "blocks" — filled cells within a block are the actual ICW connections that created the cluster. Small gray dots outside the blocks show ICW connections crossing two clusters (a possible pile-up match, or relatedness on both sides). Rename each cluster once you recognize surnames or known relatives in it.
What is the Leeds Method and How Does Auto-Clustering Work?
When you receive your autosomal DNA results from testing services like AncestryDNA, MyHeritage, or 23andMe, you are presented with thousands of genetic cousins. Without a structured workflow, analyzing a long list of unfamiliar names can feel overwhelming.
The Leeds Method, created by genetic genealogist Dana Leeds, revolutionized match analysis by offering a simple, visual technique to group matches based on shared connections rather than individual family trees. Traditionally performed in a spreadsheet, the method focuses on matches sharing between 90 cM and 400 cM (typically 2nd to 3rd cousins) and assigns each shared-match network a unique color column. In an ideal 4-grandparent family structure, this creates four distinct color blocks representing your four grandparental lines.
Our Leeds Auto Clustering Tool takes this foundational principle and automates it into a 2D cluster matrix (similar to commercial AutoCluster reports from MyHeritage or Genetic Affairs). Instead of manually painting spreadsheet cells, you input your matches and check off who appears on each other's In-Common-With (ICW) shared match list. The tool then applies mathematical clustering algorithms to sort, align, and highlight your ancestral networks instantly.
Step-by-Step Guide: How to Use the Tool
- Gather Your Matches: Open your match list at your testing company (e.g. AncestryDNA or MyHeritage). Identify matches sharing between 40 cM and 400 cM.
- Add Matches to Section 1: Type each match's name and total shared centimorgans (cM). Check "Triangulated" if you have separately confirmed segment-level chromosome overlap in a browser tool.
-
Configure Parameters in Section 2:
- Exclude matches above (cM): Default is 1500 cM. Excludes parents, siblings, aunts, and uncles because close relatives share DNA with almost all your branches, adding noise.
- Number of clusters: Target maximum number of clusters (2 to 12).
- Similarity threshold (%): Controls Jaccard overlap sensitivity. Higher settings produce tighter, smaller clusters; lower settings merge broader networks.
- Populate the ICW Grid in Section 3: Tick the checkbox for every pair of matches that appear on each other's shared-match list.
- Build Cluster Grid: Click "Build cluster grid" to run the local agglomerative clustering algorithm and generate your color-coded cluster matrix.
Interpreting Your Cluster Matrix & Results
The generated cluster matrix provides immediate visual feedback regarding your family's genetic architecture:
- Colored Diagonal Blocks: Matches grouped together along the diagonal form a primary cluster. These matches share a high percentage of mutual connections and typically descend from a single common ancestral couple or branch.
- Off-Diagonal Gray Dots: Small gray dots appearing outside the main cluster blocks indicate ICW connections that span two different clusters. This can signify a "pile-up" region, pedigree collapse, endogamy, or a match related to you through multiple ancestral lines.
- Triangulation Checkmarks (✓): Cells containing a white checkmark indicate connections where both matches have been separately verified as triangulated on a chromosome browser.
- Unclustered Matches: Matches displayed below the grid lacked sufficient ICW ties to join any cluster under your current similarity threshold. These may represent unique ancestral lines or distant matches requiring more data.
Pro-Tip: Once you recognize known relatives or common surnames within a cluster, use the text fields in the legend to rename the cluster (e.g., "Maternal Grandfather: Miller Line").
Methodology, Algorithmic Logic & Scientific Limitations
1. Mathematical Clustering Algorithm
The tool executes Hierarchical Agglomerative Average-Linkage Clustering based on the Jaccard Similarity Index of ICW neighbor sets.
For any match i, let Ni represent its neighbor set comprising match i itself and all matches j where an ICW connection is ticked. For two matches A and B, the pairwise Jaccard similarity is computed as:
J(A, B) = |NA ∩ NB| / |NA ∪ NB|
Clusters are merged iteratively by calculating average linkage across candidate pairs until the cluster count reaches your target threshold or the maximum similarity falls below your similarity threshold.
2. ICW vs. Segment Triangulation
It is vital to distinguish between In-Common-With (ICW) networks and Chromosome Triangulation:
- ICW Networks: ICW means Match A and Match B appear on each other's shared-match list. This indicates a high statistical probability of shared lineage, but does not prove that you, Match A, and Match B inherit the exact same physical DNA segment.
- Chromosome Triangulation: Triangulation requires inspecting segment coordinates in a chromosome browser to verify that all three individuals overlap on the exact same genomic position (Identity by Descent, IBD). Read our Guide to DNA Triangulation for advanced segment mapping strategies.
3. Scientific Limitations (Endogamy & Pedigree Collapse)
In populations affected by endogamy (e.g., Ashkenazi Jewish, Acadian, or isolated valley communities) or pedigree collapse, individuals share multiple background DNA segments across several lines. This inflates ICW connections, causing distinct grandparental clusters to merge together. In such cases, raise the similarity threshold (%) and consult our Understanding cM & Relationships Guide.
Practical Applications & Case Studies
🕵️ Biological Family Research
Individuals researching unknown parentage can cluster their top 15–20 matches (40–400 cM) to isolate 4 distinct grandparent lines without needing prior tree knowledge. Identify common ancestral couples within each cluster to reconstruct biological trees.
🧱 Solving Brick Walls
When a 3rd-great-grandparent remains unidentified, cluster your matches associated with that mystery branch. Focus research exclusively on the family trees of matches within that specific cluster to discover candidate surnames.
Frequently Asked Questions
What is the Leeds Method in genetic genealogy?
The Leeds Method, developed by Dana Leeds, is a visual methodology for grouping autosomal DNA matches (typically sharing 90–400 cM) based on shared-match networks. It helps separate matches into distinct columns corresponding to your four grandparental lines.
How does the Leeds Auto Clustering Tool differ from a manual spreadsheet?
While a manual spreadsheet uses four discrete color columns, this auto-clustering tool converts your ICW entries into a 2D matrix. It uses an agglomerative average-linkage algorithm with Jaccard similarity to automatically group clusters, reveal cross-cluster overlaps, and highlight triangulated connections.
Does this tool upload or store my private DNA data?
No. All calculations run 100% client-side in your web browser. Your match names, centimorgan values, and shared-match connections are never transmitted to any external server or saved in any database.
What is the difference between ICW and true segment triangulation?
In-Common-With (ICW) means two genetic cousins appear on each other's match lists, indicating a shared ancestral line. True segment triangulation requires a chromosome browser to prove that all three people share the exact same physical DNA segment on a specific chromosome (Identity by Descent).
Why do some matches remain unclustered?
Matches remain unclustered if they have too few ICW connections with other matches under your chosen similarity threshold. Lowering the similarity threshold (%) or adding more matches can help incorporate them.
What cM threshold should I use for auto-clustering?
We recommend setting the upper exclusion threshold to 1500 cM to filter out close relatives. Focus your ICW matrix on matches sharing roughly 40 cM to 400 cM.
Continue Your Research on Genetic Voyage
Explore our related tools, guides, and templates to build a complete genetic genealogy research system:
Verified Scientific & Methodological References
- Leeds, Dana. "The Leeds Method." Official Documentation.
- Bettinger, Blaine. "The Shared cM Project." DNA Painter.
- ISOGG Wiki. "Leeds Method." International Society of Genetic Genealogy.
- ISOGG Wiki. "Triangulation." International Society of Genetic Genealogy.
- ISOGG Wiki. "Identical by Descent (IBD)." International Society of Genetic Genealogy.
- Durand, E. Y., et al. (2014). "Reducing the computational cost of statistical phasing." PLoS ONE, 9(3), e93827.
