276
edits
Changes
From Gramps
m
legend-char-height=12
no edit summary
* Create an Association for one person (Person A) with another Person (Person B) of the type DNA.
* Add a Citation to the Association to reference the vendor which provided the segment info. This is not used by the gramplet, but is useful since different vendors will produce slightly different segment info. And some Associated Persons might have data from multiple vendors. In these cases, having a second Association is useful.
* Create a Note in the Association or attached to a Citation in the Association with the shared DNA segment data. By default the config ''include-citation-notes'' is True (1) and both the Association Note and the Citation Note may contain DNA segment data. If this config is set to False (0), then only the Association Note will be read for DNA segment data.** The format of the Note is a comma separated list or a tab separated list in the order below. If the list contains tabs, but cannot be parsed to these fields, the line is ignored: <code>[https://wikipedia.org/wiki/Chromosome#Human_chromosomes Chromosome Number], Start Segment, End Segment, shared length in [[Genealogy_Glossary#centimorgan|centiMorgans]] (cMs), [https://wikipedia.org/wiki/Single-nucleotide_polymorphism SNP] (optional), M or P or U (unknown) to override the Maternal Paternal chromosome as determined by the closest genetic connection in the tree (optional). </code>.
** For Example: <code>3,56950055,64247327,10.9,1404</code> Which means; Chromosome Number: 3, Start Segment: 56950055, End Segment: 64247327, shared length in cMs: 10.9, matching SNPs: 1404</code>
** Valid entries for each are:
* The chromosome segment side (Paternal or Maternal) is determined from the Most Recent Common Ancestor. If there is no common ancestor, both sides are used.
* The color code for each associated person in the DNA segment map is consistent but not user-specified. The first Association will always be the same color.
* To change the location or size of the Legend, edit the config file parameters:
<pre>
legend-single-chromosome-y-offset=250
legend-swatch-offset-y=0
</pre>
[map]
;;chromosome-build=37
;;chromosome-x-scale=1.4;;chromosome-y-scale=2;;include-citation-notes=10
;;legend-char-height=12
;;legend-single-chromosome-y-offset=250
;;legend-swatch-offset-y=0
;;maternal-background=(0.926996, 0.8258, 0.92941, 1.0);;paternal-background=(0.833722, 0.845808, 0.92902, 1.0);;show-centromere=01;;show_associate_id=10
</pre>
* Chromosome Build: choose the specific build for the chromosomes. Options are 36, 37, 38.
* Chromosome X Scale: multiplier for width of drawing area* Chromosome Y Scale: multiplier for height of drawing area* Include Citation Notes: whether to use the Association's Citation Notes for DNA segment data. Default is true (1). If set to false (0), then only the Association Note will be parsed for DNA segment data.* Legend Character Char Height: size height of the lines in the legend block. Default is 12. To make the legend include more lines, lower this number. 6 is still very readable.
* Legend Single Chromosome Y offset: Adjust the height of the legend for the single chromosome view. This may be needed if more than 12 people share the chromosome.
* Legend Swatch Offset: Offset for the color swatch in the legend. Should be 5 for Windows systems. 0 works for Linux and Mac
</pre>
To view hide the centromere for all chromosomes, edit the config file to change this option:
<pre>
show-centromere=10
</pre>
== To Do ==