(As requested, starting a new thread from this one.)
@GaryGriffin, it would also be nice if the data used by your DNA Segment gramplet could also be used for other visualizations. I’m thinking particularly of a “DNA pedigree chart” such as the examples that I’ve mocked up and pasted below. I’ve used Ahnentafel numbers for these illustrations, but the actual chart could show names, dates, whatever.
The bars would be scaled according to the percent of DNA that each ancestor (number 4 and beyond) is known to have contributed to the active person’s genome, based on match data entered and the relationships derived. The gaps (in the first example) and different bar heights (in the second example) would change over time as more match relationships are determined. In more distant generation, some ancestors would not appear unless/until there is match data to support them.
Maybe there could also be the option of filtering on a particular chromosome.
Of course, it could also just be a fan chart in which each ancestor’s wedge is shaded accordingly and possibly annotated with a percentage in the tooltip. That way all ancestors would appear, but some would lack any shading.
I don’t know if these would easier to implement as gramplets or as new views in the Charts category. The fan chart view already has some shading options, if that helps.
Now some notes about calculations:
By “percent of DNA” I mean adding up the lengths (end position minus start position, plus 1) of an ancestor’s segments across all chromosomes and dividing by the total length of all chromosomes. (Or if filtering on a particular chromosome, then the lengths of those segments and the total length of that chromosome.)
Obviously, the entirety of all my paternal segments count for my father (2) even if I don’t know which portions of them are attributable to which of his parents (4 and 5). Same goes for my mother (3) and her parents (6 and 7).
As I am male, I can attribute the entire length of my paternal 23rd chromosome (Y) to ancestors 2, 4, 8, 16, etc. That does not need to be in the match data, but can just be assumed and factored into the calculations. The Y has a shorter length than the X, so my bars for 2 and 3 would not be exactly equal. My X is entirely attributable to my mother (3). More about the X later.
If, for a particular matching segment, the common ancestral couple is my great-great-grandparents (Ahnentafel numbers 22 and 23), I may not know which of them is the source, but I do know that I inherited it from their daughter, my great-grandmother (11), so the segment counts as hers, and also counts for her daughter, my grandmother (5).
Meanwhile, I may have another segment where the common ancestral couple is (10 and 11), and so that one is also attributable to (5). To the extent that it overlaps with the one mentioned in the previous paragraph, it must not be double-counted. (Users may have entered many overlapping segments from different generations.)
If there are no segments attributable to a particular ancestor, they would simply not appear in the chart (except in the fan chart version, where their wedge would have no shading). And if there is a chromosome-specific version (not saying there should be; not sure if it’s worth the trouble) then more ancestors may drop off if they are not represented on a particular chromosome. This is especially to be expected on the X chromosome, based on its inheritance pattern.
In the version with vertical bars, the gaps do not represent specific positions on chromosomes, but rather the percent of the total chromosome lengths that is so far unaccounted for in the match data (or present bu “unknown”). I spaced them so that each gap is between the pair of ancestors who may eventually be attributed to some portion of that gap.
I will stop now and wait for questions in case I have been unclear or illogical.