add_dna_match
Record a DNA match as evidence, cited to the test that found it. Validates shared segments before saving, so matches without DNA are not stored.
Instructions
Record a DNA match as evidence, cited to the test that found it.
Stored as Gramps Web stores a match, so its interface and get_dna_matches read it back. Nothing is written unless the segments parse: unreadable data would otherwise record a match sharing no DNA.
A match proves the two share DNA, not how they are related. Record any relationship separately, with its own evidence.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match | Yes | Handle or gramps_id of the matching person. Add them first if they are not in the tree. | |
| person | Yes | Handle or gramps_id of the tested person, whose results list the match. | |
| citation | Yes | The test the match came from: source or source_title naming the company and kit, page for where the match is shown, confidence in the match itself. A new citation is always minted. | |
| segments | Yes | The shared segments as the testing company exports them: rows of chromosome, start, stop, centiMorgans, SNPs, comma- or tab-separated, with an optional side of M, P or U. A header row is tolerated. |