@@ -13,7 +13,7 @@ Capabilities
13
13
- Compute centiMorgans (cMs) of shared DNA using a variety of genetic maps (e.g., HapMap Phase II, 1000 Genomes Project)
14
14
- Plot shared DNA between individuals
15
15
- Find discordant SNPs between child and parent(s)
16
- - Read, write, merge, and remaps SNPs for an individual via the `snps <https://github.com/apriha/snps >`_ package
16
+ - Read, write, merge, and remap SNPs for an individual via the `snps <https://github.com/apriha/snps >`_ package
17
17
18
18
Supported Genotype Files
19
19
------------------------
@@ -27,7 +27,7 @@ Python dependencies) via ``pip``::
27
27
28
28
$ pip install lineage
29
29
30
- Also see the `installation documentation <https://lineage.readthedocs.io/en/latest /installation.html >`_.
30
+ Also see the `installation documentation <https://lineage.readthedocs.io/en/stable /installation.html >`_.
31
31
32
32
Dependencies
33
33
------------
@@ -91,7 +91,7 @@ files for this individual. Specifically:
91
91
151 SNP genotypes were found to be discrepant.
92
92
93
93
``user662 `` is represented by an ``Individual `` object, which inherits from ``snps.SNPs ``.
94
- Therefore, all of the `properties and methods <https://snps.readthedocs.io/en/latest /snps.html >`_
94
+ Therefore, all of the `properties and methods <https://snps.readthedocs.io/en/stable /snps.html >`_
95
95
available to a ``SNPs `` object are available here; for example:
96
96
97
97
>>> len (user662.discrepant_merge_genotypes)
@@ -117,15 +117,15 @@ Loading SNPs('resources/663.23andme.305.txt.gz')
117
117
118
118
Now we can perform some analysis between the ``User662 `` and ``User663 `` datasets.
119
119
120
- `Find Discordant SNPs <https://lineage.readthedocs.io/en/latest /lineage.html#lineage.Lineage.find_discordant_snps >`_
120
+ `Find Discordant SNPs <https://lineage.readthedocs.io/en/stable /lineage.html#lineage.Lineage.find_discordant_snps >`_
121
121
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
122
122
First, let's find discordant SNPs (i.e., SNP data that is not consistent with Mendelian
123
123
inheritance):
124
124
125
125
>>> discordant_snps = l.find_discordant_snps(user662, user663, save_output = True )
126
126
Saving output/discordant_snps_User662_User663_GRCh37.csv
127
127
128
- All `output files <https://lineage.readthedocs.io/en/latest /output_files.html >`_ are saved to
128
+ All `output files <https://lineage.readthedocs.io/en/stable /output_files.html >`_ are saved to
129
129
the output directory (a parameter to ``Lineage ``).
130
130
131
131
This method also returns a ``pandas.DataFrame ``, and it can be inspected interactively at
@@ -136,7 +136,7 @@ the prompt, although the same output is available in the CSV file.
136
136
137
137
Not counting mtDNA SNPs, there are 37 discordant SNPs between these two datasets.
138
138
139
- `Find Shared DNA <https://lineage.readthedocs.io/en/latest /lineage.html#lineage.Lineage.find_shared_dna >`_
139
+ `Find Shared DNA <https://lineage.readthedocs.io/en/stable /lineage.html#lineage.Lineage.find_shared_dna >`_
140
140
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
141
141
``lineage `` uses the probabilistic recombination rates throughout the human genome from the
142
142
`International HapMap Project <https://www.genome.gov/10001688/international-hapmap-project/ >`_
@@ -173,14 +173,14 @@ In this example, there are 27 segments of shared DNA:
173
173
>>> len (results[' one_chrom_shared_dna' ])
174
174
27
175
175
176
- Also, `output files <https://lineage.readthedocs.io/en/latest /output_files.html >`_ are
176
+ Also, `output files <https://lineage.readthedocs.io/en/stable /output_files.html >`_ are
177
177
created; these files are detailed in the documentation and their generation can be disabled with a
178
178
``save_output=False `` argument. In this example, the output files consist of a CSV file that
179
179
details the shared segments of DNA on one chromosome and a plot that illustrates the shared DNA:
180
180
181
181
.. image :: https://raw.githubusercontent.com/apriha/lineage/master/docs/images/shared_dna_User662_User663_HapMap2.png
182
182
183
- `Find Shared Genes <https://lineage.readthedocs.io/en/latest /lineage.html#lineage.Lineage.find_shared_dna >`_
183
+ `Find Shared Genes <https://lineage.readthedocs.io/en/stable /lineage.html#lineage.Lineage.find_shared_dna >`_
184
184
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
185
185
The `Central Dogma of Molecular Biology <https://en.wikipedia.org/wiki/Central_dogma_of_molecular_biology >`_
186
186
states that genetic information flows from DNA to mRNA to proteins: DNA is transcribed into
@@ -251,7 +251,7 @@ Thanks to Whit Athey, Ryan Dale, Binh Bui, Jeff Gill, Gopal Vashishtha,
251
251
:target: https://github.com/apriha/lineage/actions/workflows/ci.yml
252
252
.. |codecov | image :: https://codecov.io/gh/apriha/lineage/branch/master/graph/badge.svg
253
253
:target: https://codecov.io/gh/apriha/lineage
254
- .. |docs | image :: https://readthedocs.org/projects/lineage/badge/?version=latest
254
+ .. |docs | image :: https://readthedocs.org/projects/lineage/badge/?version=stable
255
255
:target: https://lineage.readthedocs.io/
256
256
.. |pypi | image :: https://img.shields.io/pypi/v/lineage.svg
257
257
:target: https://pypi.python.org/pypi/lineage
0 commit comments