repare 0.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of repare might be problematic. Click here for more details.
- repare/__init__.py +4 -0
- repare/main.py +64 -0
- repare/pedigree.py +1214 -0
- repare/pedigree_reconstructor.py +874 -0
- repare-0.0.2.dist-info/METADATA +35 -0
- repare-0.0.2.dist-info/RECORD +10 -0
- repare-0.0.2.dist-info/WHEEL +5 -0
- repare-0.0.2.dist-info/entry_points.txt +2 -0
- repare-0.0.2.dist-info/licenses/LICENSE +7 -0
- repare-0.0.2.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: repare
|
|
3
|
+
Version: 0.0.2
|
|
4
|
+
Summary: Reconstruct ancient pedigrees.
|
|
5
|
+
Author-email: Edward Huang <edwardhuang02@gmail.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Requires-Python: >=3.10
|
|
8
|
+
Description-Content-Type: text/markdown
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Dist: matplotlib
|
|
11
|
+
Requires-Dist: networkx
|
|
12
|
+
Requires-Dist: pandas
|
|
13
|
+
Requires-Dist: tqdm
|
|
14
|
+
Provides-Extra: benchmark
|
|
15
|
+
Requires-Dist: scikit-learn; extra == "benchmark"
|
|
16
|
+
Requires-Dist: seaborn; extra == "benchmark"
|
|
17
|
+
Provides-Extra: plot
|
|
18
|
+
Requires-Dist: pygraphviz; extra == "plot"
|
|
19
|
+
Dynamic: license-file
|
|
20
|
+
|
|
21
|
+
**repare** is a Python package for (ancient) pedigree reconstruction.
|
|
22
|
+
|
|
23
|
+
## Installation
|
|
24
|
+
|
|
25
|
+
### Recommended
|
|
26
|
+
```
|
|
27
|
+
conda create -n "repare" -c conda-forge python=3.13 pygraphviz
|
|
28
|
+
conda activate repare
|
|
29
|
+
pip install repare
|
|
30
|
+
```
|
|
31
|
+
repare uses PyGraphviz to plot reconstructed pedigrees. Since PyGraphviz relies on Graphviz which cannot be installed using `pip`, we recommend installing repare and its dependencies in a fresh conda environment.
|
|
32
|
+
|
|
33
|
+
If you don't need to plot reconstructed pedigrees, you can install repare directly with `pip install repare`. If you need to plot reconstructed pedigrees and have your own Graphviz installation, you can install repare and Pygraphviz with `pip install repare[plot]`.
|
|
34
|
+
|
|
35
|
+
To install conda, see [this page](https://www.anaconda.com/docs/getting-started/miniconda/install). To install PyGraphviz and Graphviz (yourself), see [this page](https://pygraphviz.github.io/documentation/stable/install.html).
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
repare/__init__.py,sha256=esYDcCYXwJUJVVpWQFFpocPwCZzL5xo_Hxihbknfunc,138
|
|
2
|
+
repare/main.py,sha256=N33DO2NggJIuJ1-LrZZNiyd--niou7DJqiq30MFT-OY,2387
|
|
3
|
+
repare/pedigree.py,sha256=zPWmyzE1SheAnRxz_0ZWFMvm0fCcV1ng0fHED3aqtdU,60347
|
|
4
|
+
repare/pedigree_reconstructor.py,sha256=6SGdHyyI8uLsA1xmRg4L9Jb-h79R1JLQFRHUiY8R3DQ,42047
|
|
5
|
+
repare-0.0.2.dist-info/licenses/LICENSE,sha256=uqhB_C7lgd3rOQU5SLtWeu_tVc_L0zGGdN488GCrtmY,1063
|
|
6
|
+
repare-0.0.2.dist-info/METADATA,sha256=fDGofIvoNkr1tweFsI1NkzqxNZsBRBvYFVHVkX40yM8,1478
|
|
7
|
+
repare-0.0.2.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
8
|
+
repare-0.0.2.dist-info/entry_points.txt,sha256=tWRppCTqmNN8n4hJ_ShCgO8dJFU4PKTQsexMZS-PFHw,44
|
|
9
|
+
repare-0.0.2.dist-info/top_level.txt,sha256=MBgnP6OarsEmlqLXjKcPqKFIMIdpwADg5vt6eMPVA0M,7
|
|
10
|
+
repare-0.0.2.dist-info/RECORD,,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Copyright 2024 (c) Edward Huang
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
+
|
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
repare
|