@@ -53,30 +53,37 @@ Shared DNA between two or more individuals can be identified with
53
53
:meth: `~lineage.Lineage.find_shared_dna `. One PNG file and up to two CSV files are output when
54
54
``save_output=True ``.
55
55
56
- In the filenames below, ``name1 `` is the name of the first
57
- :class: `~lineage.individual.Individual ` and ``name2 `` is the name of the second
58
- :class: `~lineage.individual.Individual `. (If more individuals are compared, all
59
- :class: `~lineage.individual.Individual ` names will be included in the filenames and plot titles
60
- using the same conventions.) Additionally, ``genetic_map `` corresponds to the genetic map used
61
- in the calculations of shared DNA, specified as a parameter to :meth: `~lineage.Lineage.find_shared_dna `.
56
+ In the filenames below,
57
+
58
+ - ``name1 `` is the name of the first :class: `~lineage.individual.Individual `
59
+ - ``name2 `` is the name of the second :class: `~lineage.individual.Individual `
60
+ - ``cM_threshold `` corresponds to the same named parameter of
61
+ :meth: `~lineage.Lineage.find_shared_dna `; "." is replaced by "p" with precision of 2, e.g., "0p75"
62
+ - ``snp_threshold `` corresponds to the same named parameter of
63
+ :meth: `~lineage.Lineage.find_shared_dna `
64
+ - ``genetic_map `` corresponds to the same named parameter of
65
+ :meth: `~lineage.Lineage.find_shared_dna `.
66
+
67
+ .. note :: If more than two individuals are compared, all :class:`~lineage.individual.Individual`
68
+ names will be included in the filenames and plot titles using the same conventions.
62
69
63
70
.. note :: Genetic maps do not have recombination rates for the Y chromosome since the Y
64
71
chromosome does not recombine. Therefore, shared DNA will not be shown on the Y
65
72
chromosome.
66
73
67
- shared_dna_<name1>_<name2>_<genetic_map>.png
68
- ````````````````````````````````````````````
74
+ shared_dna_<name1>_<name2>_<cM_threshold>cM_<snp_threshold>snps_GRCh37_< genetic_map>.png
75
+ ````````````````````````````````````````````````````````````````````````````````````````
69
76
This plot illustrates shared DNA (i.e., no shared DNA, shared DNA on one chromosome, and shared
70
77
DNA on both chromosomes). The centromere for each chromosome is also detailed. Two examples of
71
78
this plot are shown below.
72
79
73
- .. image :: https://raw.githubusercontent.com/apriha/lineage/master/docs/images/shared_dna_User662_User663_HapMap2 .png
80
+ .. image :: https://raw.githubusercontent.com/apriha/lineage/master/docs/images/shared_dna_User662_User663_0p75cM_1100snps_GRCh37_HapMap2 .png
74
81
75
82
In the above plot, note that the two individuals only share DNA on one chromosome. In this plot,
76
83
the larger regions where "No shared DNA" is indicated are due to SNPs not being available in
77
84
those regions (i.e., SNPs were not tested in those regions).
78
85
79
- .. image :: https://raw.githubusercontent.com/apriha/lineage/master/docs/images/shared_dna_User4583_User4584_CEU .png
86
+ .. image :: https://raw.githubusercontent.com/apriha/lineage/master/docs/images/shared_dna_User4583_User4584_0p75cM_1100snps_GRCh37_CEU .png
80
87
81
88
In the above plot, the areas where "No shared DNA" is indicated are the regions where SNPs were
82
89
not tested or where DNA is not shared. The areas where "One chromosome shared" is indicated are
@@ -86,8 +93,8 @@ shared" is indicated are regions where the individuals share DNA on both chromos
86
93
Note that the regions where DNA is shared on both chromosomes is a subset of the regions where
87
94
one chromosome is shared.
88
95
89
- shared_dna_one_chrom_<name1>_<name2>_GRCh37_ <genetic_map>.csv
90
- `````````````````````````````````````````````````````````````
96
+ shared_dna_one_chrom_<name1>_<name2>_<cM_threshold>cM_<snp_threshold>snps_GRCh37_ <genetic_map>.csv
97
+ ``````````````````````````````````````````````````````````````````````````````````````````````````
91
98
If DNA is shared on one chromosome, a CSV file details the shared segments of DNA.
92
99
93
100
======= ===========
@@ -101,8 +108,8 @@ cMs CentiMorgans of matching DNA segment
101
108
snps Number of SNPs in matching DNA segment
102
109
======= ===========
103
110
104
- shared_dna_two_chroms_<name1>_<name2>_GRCh37_ <genetic_map>.csv
105
- ``````````````````````````````````````````````````````````````
111
+ shared_dna_two_chroms_<name1>_<name2>_<cM_threshold>cM_<snp_threshold>snps_GRCh37_ <genetic_map>.csv
112
+ ```````````````````````````````````````````````````````````````````````````````````````````````````
106
113
If DNA is shared on two chromosomes, a CSV file details the shared segments of DNA.
107
114
108
115
======= ===========
@@ -129,11 +136,11 @@ In the filenames below, ``name1`` is the name of the first
129
136
:class: `~lineage.individual.Individual ` names will be included in the filenames using the same
130
137
convention.)
131
138
132
- shared_genes_one_chrom_<name1>_<name2>_GRCh37_ <genetic_map>.csv
133
- ```````````````````````````````````````````````````````````````
139
+ shared_genes_one_chrom_<name1>_<name2>_<cM_threshold>cM_<snp_threshold>snps_GRCh37_ <genetic_map>.csv
140
+ ````````````````````````````````````````````````````````````````````````````````````````````````````
134
141
If DNA is shared on one chromosome, this file details the genes shared between the individuals
135
142
on at least one chromosome; these genes are located in the shared DNA segments specified in
136
- `shared_dna_one_chrom_<name1>_<name2>_GRCh37_ <genetic_map>.csv `_.
143
+ `shared_dna_one_chrom_<name1>_<name2>_<cM_threshold>cM_<snp_threshold>snps_GRCh37_ <genetic_map>.csv `_.
137
144
138
145
=========== ============
139
146
Column* Description*
@@ -152,10 +159,10 @@ description Description
152
159
\* `UCSC Genome Browser <http://genome.ucsc.edu >`_ /
153
160
`UCSC Table Browser <http://genome.ucsc.edu/cgi-bin/hgTables >`_
154
161
155
- shared_genes_two_chroms_<name1>_<name2>_GRCh37_ <genetic_map>.csv
156
- ````````````````````````````````````````````````````````````````
162
+ shared_genes_two_chroms_<name1>_<name2>_<cM_threshold>cM_<snp_threshold>snps_GRCh37_ <genetic_map>.csv
163
+ `````````````````````````````````````````````````````````````````````````````````````````````````````
157
164
If DNA is shared on both chromosomes in a pair, this file details the genes shared between the
158
165
individuals on both chromosomes; these genes are located in the shared DNA segments specified in
159
- `shared_dna_two_chroms_<name1>_<name2>_GRCh37_ <genetic_map>.csv `_.
166
+ `shared_dna_two_chroms_<name1>_<name2>_<cM_threshold>cM_<snp_threshold>snps_GRCh37_ <genetic_map>.csv `_.
160
167
161
- The file has the same columns as `shared_genes_one_chrom_<name1>_<name2>_GRCh37_ <genetic_map>.csv `_.
168
+ The file has the same columns as `shared_genes_one_chrom_<name1>_<name2>_<cM_threshold>cM_<snp_threshold>snps_GRCh37_ <genetic_map>.csv `_.
0 commit comments