PG-SUI 0.0.0__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.
Files changed (117) hide show
  1. pg_sui-0.0.0.dist-info/METADATA +301 -0
  2. pg_sui-0.0.0.dist-info/RECORD +117 -0
  3. pg_sui-0.0.0.dist-info/WHEEL +5 -0
  4. pg_sui-0.0.0.dist-info/entry_points.txt +4 -0
  5. pg_sui-0.0.0.dist-info/licenses/LICENSE +674 -0
  6. pg_sui-0.0.0.dist-info/top_level.txt +1 -0
  7. pgsui/__init__.py +47 -0
  8. pgsui/cli.py +635 -0
  9. pgsui/data_processing/__init__.py +0 -0
  10. pgsui/data_processing/config.py +576 -0
  11. pgsui/data_processing/containers.py +1782 -0
  12. pgsui/data_processing/transformers.py +183 -0
  13. pgsui/electron/app/__init__.py +0 -0
  14. pgsui/electron/app/__main__.py +5 -0
  15. pgsui/electron/app/icons/icons/1024x1024.png +0 -0
  16. pgsui/electron/app/icons/icons/128x128.png +0 -0
  17. pgsui/electron/app/icons/icons/16x16.png +0 -0
  18. pgsui/electron/app/icons/icons/24x24.png +0 -0
  19. pgsui/electron/app/icons/icons/256x256.png +0 -0
  20. pgsui/electron/app/icons/icons/32x32.png +0 -0
  21. pgsui/electron/app/icons/icons/48x48.png +0 -0
  22. pgsui/electron/app/icons/icons/512x512.png +0 -0
  23. pgsui/electron/app/icons/icons/64x64.png +0 -0
  24. pgsui/electron/app/icons/icons/icon.icns +0 -0
  25. pgsui/electron/app/icons/icons/icon.ico +0 -0
  26. pgsui/electron/app/main.js +189 -0
  27. pgsui/electron/app/package-lock.json +6893 -0
  28. pgsui/electron/app/package.json +50 -0
  29. pgsui/electron/app/preload.js +15 -0
  30. pgsui/electron/app/server.py +146 -0
  31. pgsui/electron/app/ui/logo.png +0 -0
  32. pgsui/electron/app/ui/renderer.js +130 -0
  33. pgsui/electron/app/ui/styles.css +59 -0
  34. pgsui/electron/app/ui/ui_shim.js +72 -0
  35. pgsui/electron/bootstrap.py +43 -0
  36. pgsui/electron/launch.py +59 -0
  37. pgsui/example_data/__init__.py +0 -0
  38. pgsui/example_data/phylip_files/__init__.py +0 -0
  39. pgsui/example_data/phylip_files/test.phy +118 -0
  40. pgsui/example_data/phylip_files/test_n10.phy +118 -0
  41. pgsui/example_data/phylip_files/test_n100.phy +118 -0
  42. pgsui/example_data/phylip_files/test_n2.phy +118 -0
  43. pgsui/example_data/phylip_files/test_n500.phy +118 -0
  44. pgsui/example_data/popmaps/__init__.py +0 -0
  45. pgsui/example_data/popmaps/phylogen_nomx.popmap +203 -0
  46. pgsui/example_data/popmaps/test.popmap +117 -0
  47. pgsui/example_data/popmaps/test.popmap.rearr.txt +117 -0
  48. pgsui/example_data/structure_files/__init__.py +0 -0
  49. pgsui/example_data/structure_files/test.nopops.1row.10sites.str +117 -0
  50. pgsui/example_data/structure_files/test.nopops.2row.100sites.str +234 -0
  51. pgsui/example_data/structure_files/test.nopops.2row.10sites.str +234 -0
  52. pgsui/example_data/structure_files/test.nopops.2row.30sites.str +234 -0
  53. pgsui/example_data/structure_files/test.nopops.2row.allsites.str +234 -0
  54. pgsui/example_data/structure_files/test.pops.1row.10sites.str +117 -0
  55. pgsui/example_data/structure_files/test.pops.2row.10sites.str +234 -0
  56. pgsui/example_data/structure_files/test.pops.2row.allsites.str +234 -0
  57. pgsui/example_data/trees/__init__.py +0 -0
  58. pgsui/example_data/trees/copy_rates.sh +29 -0
  59. pgsui/example_data/trees/test.iqtree +376 -0
  60. pgsui/example_data/trees/test.qmat +5 -0
  61. pgsui/example_data/trees/test.rate +2033 -0
  62. pgsui/example_data/trees/test.tre +1 -0
  63. pgsui/example_data/trees/test14K.rate +14009 -0
  64. pgsui/example_data/trees/test_n10.rate +19 -0
  65. pgsui/example_data/trees/test_n100.rate +109 -0
  66. pgsui/example_data/trees/test_n500.rate +509 -0
  67. pgsui/example_data/trees/test_siterates.txt +2024 -0
  68. pgsui/example_data/trees/test_siterates_n10.txt +10 -0
  69. pgsui/example_data/trees/test_siterates_n100.txt +100 -0
  70. pgsui/example_data/trees/test_siterates_n500.txt +500 -0
  71. pgsui/example_data/vcf_files/phylogen_subset14K.vcf.gz +0 -0
  72. pgsui/example_data/vcf_files/phylogen_subset14K.vcf.gz.tbi +0 -0
  73. pgsui/example_data/vcf_files/phylogen_subset14K.vcf_sorted.vcf +0 -0
  74. pgsui/example_data/vcf_files/phylogen_subset14K.vcf_sorted.vcf.gz +0 -0
  75. pgsui/example_data/vcf_files/phylogen_subset14K.vcf_sorted.vcf.gz.tbi +0 -0
  76. pgsui/example_data/vcf_files/phylogen_subset14K.vcf_sorted.vcf.tbi +0 -0
  77. pgsui/example_data/vcf_files/test.vcf +4 -0
  78. pgsui/example_data/vcf_files/test.vcf.gz +0 -0
  79. pgsui/example_data/vcf_files/test.vcf.gz.tbi +0 -0
  80. pgsui/impute/__init__.py +0 -0
  81. pgsui/impute/deterministic/imputers/allele_freq.py +691 -0
  82. pgsui/impute/deterministic/imputers/mode.py +679 -0
  83. pgsui/impute/deterministic/imputers/nmf.py +221 -0
  84. pgsui/impute/deterministic/imputers/phylo.py +971 -0
  85. pgsui/impute/deterministic/imputers/ref_allele.py +530 -0
  86. pgsui/impute/supervised/__init__.py +0 -0
  87. pgsui/impute/supervised/base.py +339 -0
  88. pgsui/impute/supervised/imputers/__init__.py +0 -0
  89. pgsui/impute/supervised/imputers/hist_gradient_boosting.py +293 -0
  90. pgsui/impute/supervised/imputers/random_forest.py +287 -0
  91. pgsui/impute/unsupervised/__init__.py +0 -0
  92. pgsui/impute/unsupervised/base.py +924 -0
  93. pgsui/impute/unsupervised/callbacks.py +112 -0
  94. pgsui/impute/unsupervised/imputers/__init__.py +0 -0
  95. pgsui/impute/unsupervised/imputers/autoencoder.py +972 -0
  96. pgsui/impute/unsupervised/imputers/nlpca.py +1264 -0
  97. pgsui/impute/unsupervised/imputers/ubp.py +1288 -0
  98. pgsui/impute/unsupervised/imputers/vae.py +957 -0
  99. pgsui/impute/unsupervised/loss_functions.py +158 -0
  100. pgsui/impute/unsupervised/models/__init__.py +0 -0
  101. pgsui/impute/unsupervised/models/autoencoder_model.py +284 -0
  102. pgsui/impute/unsupervised/models/nlpca_model.py +204 -0
  103. pgsui/impute/unsupervised/models/ubp_model.py +221 -0
  104. pgsui/impute/unsupervised/models/vae_model.py +348 -0
  105. pgsui/impute/unsupervised/nn_scorers.py +215 -0
  106. pgsui/training_data/concatenateNexus_tkc.py +426 -0
  107. pgsui/training_data/count_seq_filetypes.py +69 -0
  108. pgsui/training_data/datadryad_data_final.py +102 -0
  109. pgsui/training_data/datadryad_data_final_metadata.py +252 -0
  110. pgsui/training_data/datadryad_data_final_speciesdelimitation.py +90 -0
  111. pgsui/training_data/parse_dryad_data.py +134 -0
  112. pgsui/training_data/separate_file_types.py +119 -0
  113. pgsui/utils/__init__.py +0 -0
  114. pgsui/utils/classification_viz.py +591 -0
  115. pgsui/utils/misc.py +73 -0
  116. pgsui/utils/plotting.py +610 -0
  117. pgsui/utils/scorers.py +282 -0
@@ -0,0 +1,301 @@
1
+ Metadata-Version: 2.4
2
+ Name: pg-sui
3
+ Version: 0.0.0
4
+ Summary: Python machine and deep learning API to impute missing genotypes
5
+ Author-email: "Drs. Bradley T. Martin and Tyler K. Chafin" <evobio721@gmail.com>
6
+ Maintainer-email: "Dr. Bradley T. Martin" <evobio721@gmail.com>
7
+ License: GNU General Public License v3 (GPLv3)
8
+ Project-URL: Homepage, https://github.com/btmartin721/PG-SUI
9
+ Project-URL: Documentation, https://pg-sui.readthedocs.io/en/latest/
10
+ Project-URL: Source, https://github.com/btmartin721/PG-SUI.git
11
+ Project-URL: BugTracker, https://github.com/btmartin721/PG-SUI/issues
12
+ Keywords: impute,imputation,AI,deep learning,machine learning,neural network,vae,autoencoder,ubp,nlpca,population genetics,unsupervised,supervised,bioinformatics,snp,genomics,genotype,missing data,data analysis,data science,statistics,data visualization,python
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Programming Language :: Python :: 3.12
16
+ Classifier: Development Status :: 4 - Beta
17
+ Classifier: Environment :: Console
18
+ Classifier: Intended Audience :: Science/Research
19
+ Classifier: Intended Audience :: Developers
20
+ Classifier: Intended Audience :: Education
21
+ Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
22
+ Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
23
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
24
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
25
+ Classifier: Topic :: Scientific/Engineering :: Visualization
26
+ Classifier: Operating System :: MacOS
27
+ Classifier: Operating System :: MacOS :: MacOS X
28
+ Classifier: Operating System :: Unix
29
+ Classifier: Operating System :: POSIX
30
+ Classifier: Natural Language :: English
31
+ Requires-Python: >=3.11
32
+ Description-Content-Type: text/markdown
33
+ License-File: LICENSE
34
+ Requires-Dist: matplotlib
35
+ Requires-Dist: numpy>=2.1
36
+ Requires-Dist: pandas>=2.2.2
37
+ Requires-Dist: scikit-learn>=1.4
38
+ Requires-Dist: scipy
39
+ Requires-Dist: seaborn
40
+ Requires-Dist: torch
41
+ Requires-Dist: tqdm
42
+ Requires-Dist: toytree
43
+ Requires-Dist: optuna
44
+ Requires-Dist: snpio
45
+ Provides-Extra: intel
46
+ Requires-Dist: scikit-learn-intelex; extra == "intel"
47
+ Provides-Extra: docs
48
+ Requires-Dist: sphinx; extra == "docs"
49
+ Requires-Dist: sphinx-rtd-theme; extra == "docs"
50
+ Requires-Dist: sphinx_autodoc_typehints; extra == "docs"
51
+ Requires-Dist: sphinxcontrib-napoleon; extra == "docs"
52
+ Requires-Dist: sphinxcontrib-programoutput; extra == "docs"
53
+ Provides-Extra: dev
54
+ Requires-Dist: twine; extra == "dev"
55
+ Requires-Dist: wheel; extra == "dev"
56
+ Requires-Dist: pytest; extra == "dev"
57
+ Requires-Dist: sphinx; extra == "dev"
58
+ Requires-Dist: sphinx-rtd-theme; extra == "dev"
59
+ Requires-Dist: sphinx-autodoc-typehints; extra == "dev"
60
+ Requires-Dist: sphinxcontrib-napoleon; extra == "dev"
61
+ Requires-Dist: sphinxcontrib-programoutput; extra == "dev"
62
+ Requires-Dist: requests; extra == "dev"
63
+ Requires-Dist: PyObjC; extra == "dev"
64
+ Provides-Extra: optional
65
+ Requires-Dist: PyObjC; extra == "optional"
66
+ Provides-Extra: gui
67
+ Dynamic: license-file
68
+
69
+
70
+ <img src="https://github.com/btmartin721/PG-SUI/blob/master/img/pgsui-logo-faded.png" alt="PG-SUI Logo" width="50%" height="50%">
71
+
72
+
73
+ # PG-SUI
74
+
75
+ Population Genomic Supervised and Unsupervised Imputation.
76
+
77
+ ## About PG-SUI
78
+
79
+ PG-SUI is a Python 3 API that uses machine learning to impute missing values from population genomic SNP data. There are several supervised and unsupervised machine learning algorithms available to impute missing data, as well as some non-machine learning imputers that are useful.
80
+
81
+ Below is some general information and a basic tutorial. For more detailed information, see our [API Documentation](https://pg-sui.readthedocs.io/en/latest/).
82
+
83
+ ### Supervised Imputation Methods
84
+
85
+ Supervised methods utilze the scikit-learn's IterativeImputer, which is based on the MICE (Multivariate Imputation by Chained Equations) algorithm ([1](#1)), and iterates over each SNP site (i.e., feature) while uses the N nearest neighbor features to inform the imputation. The number of nearest features can be adjusted by users. IterativeImputer currently works with any of the following scikit-learn classifiers:
86
+
87
+ + K-Nearest Neighbors
88
+ + Random Forest
89
+ + XGBoost
90
+
91
+ See the scikit-learn documentation (https://scikit-learn.org) for more information on IterativeImputer and each of the classifiers.
92
+
93
+ ### Unsupervised Imputation Methods
94
+
95
+ Unsupervised imputers include three custom neural network models:
96
+
97
+ + Variational Autoencoder (VAE) ([2](#2))
98
+ + Standard Autoencoder (SAE) ([3](#3))
99
+ + Non-linear Principal Component Analysis (NLPCA) ([4](#4))
100
+ + Unsupervised Backpropagation (UBP) ([5](#5))
101
+
102
+ VAE models train themselves to reconstruct their input (i.e., the genotypes). To use VAE for imputation, the missing values are masked and the VAE model gets trained to reconstruct only on known values. Once the model is trained, it is then used to predict the missing values.
103
+
104
+ SAE is a standard autoencoder that trains the input to predict itself. As with VAE, missing values are masked and the model gets trained only on known values. Predictions are then made on the missing values.
105
+
106
+ NLPCA initializes random, reduced-dimensional input, then trains itself by using the known values (i.e., genotypes) as targets and refining the random input until it accurately predicts the genotype output. The trained model can then predict the missing values.
107
+
108
+ UBP is an extension of NLPCA that runs over three phases. Phase 1 refines the randomly generated, reduced-dimensional input in a single layer perceptron neural network to obtain good initial input values. Phase 2 uses the refined reduced-dimensional input from phase 1 as input into a multi-layer perceptron (MLP), but in Phase 2 only the neural network weights are refined. Phase three uses an MLP to refine both the weights and the reduced-dimensional input. Once the model is trained, it can be used to predict the missing values.
109
+
110
+ ### Non-Machine Learning Methods
111
+
112
+ We also include several non-machine learning options for imputing missing data, including:
113
+
114
+ + Per-population mode per SNP site
115
+ + Global mode per SNP site
116
+ + Using a phylogeny as input to inform the imputation
117
+ + Matrix Factorization
118
+
119
+ These four "simple" imputation methods can be used as standalone imputers, as the initial imputation strategy for IterativeImputer (at least one method is required to be chosen), and to validate the accuracy of both IterativeImputer and the neural network models.
120
+
121
+ ## Installing PG-SUI
122
+
123
+ The easiest way to install PG-SUI is to use pip:
124
+
125
+ ```
126
+ pip install pg-sui
127
+ ```
128
+
129
+ If you have an Intel CPU and want to use the sklearn-genetic-intelex package to speed up scikit-learn computations, you can do:
130
+
131
+ ```
132
+ pip install pg-sui[intel]
133
+ ```
134
+
135
+ ## Manual Installation
136
+
137
+ ### Dependencies
138
+
139
+ + python >= 3.11
140
+ + pandas
141
+ + numpy
142
+ + scipy
143
+ + matplotlib
144
+ + seaborn
145
+ + plotly
146
+ + kaleido
147
+ + tqdm
148
+ + toytree
149
+ + scikit-learn
150
+ + xgboost
151
+ + snpio
152
+ + optuna
153
+
154
+ #### Installation troubleshooting
155
+
156
+ ##### "use_2to3 is invalid" error
157
+
158
+ Users running setuptools v58 may encounter this error during the last step of installation, using pip to install sklearn-genetic-opt:
159
+
160
+ ```
161
+ ERROR: Command errored out with exit status 1:
162
+ command: /Users/tyler/miniforge3/envs/pg-sui/bin/python3.8 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/6x/t6g4kn711z5cxmc2_tvq0mlw0000gn/T/pip-install-6y5g_mhs/deap_1d32f65d60a44056bd7031f3aad44571/setup.py'"'"'; __file__='"'"'/private/var/folders/6x/t6g4kn711z5cxmc2_tvq0mlw0000gn/T/pip-install-6y5g_mhs/deap_1d32f65d60a44056bd7031f3aad44571/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/6x/t6g4kn711z5cxmc2_tvq0mlw0000gn/T/pip-pip-egg-info-7hg3hcq2
163
+ cwd: /private/var/folders/6x/t6g4kn711z5cxmc2_tvq0mlw0000gn/T/pip-install-6y5g_mhs/deap_1d32f65d60a44056bd7031f3aad44571/
164
+ Complete output (1 lines):
165
+ error in deap setup command: use_2to3 is invalid.
166
+ ```
167
+
168
+ This occurs during the installation of DEAP, one of the dependencies for sklearn-genetic-opt. As a workaround, first downgrade setuptools, and then proceed with the installation as normal:
169
+ ```
170
+ pip install setuptools==57
171
+ pip install sklearn-genetic-opt[all]
172
+
173
+ ```
174
+
175
+ ##### Mac ARM architecture
176
+
177
+ PG-SUI has been tested on the new Mac M1 chips and is working fine, but some changes to the installation process were necessary as of 9-December-21. Installation was successful using the following:
178
+
179
+ ```
180
+ ### Install Miniforge3 instead of Miniconda3
181
+ ### Download: https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-arm64.sh
182
+ bash ~/Downloads/Miniforge3-MacOSX-arm64.sh
183
+
184
+ # Close and re-open terminal #
185
+
186
+ #create and activate conda environment
187
+ conda create -n pg-sui python
188
+
189
+ #activate environment
190
+ conda activate pg-sui
191
+
192
+ #install packages
193
+ conda install -c conda-forge matplotlib seaborn jupyterlab scikit-learn tqdm pandas numpy scipy xgboost lightgbm tensorflow keras sklearn-genetic-opt toytree
194
+ conda install -c bioconda pyvolve
195
+
196
+ #downgrade setuptools (may or may not be necessary)
197
+ pip install setuptools==57
198
+
199
+ #install sklearn-genetic-opt and mlflow
200
+ pip install sklearn-genetic-opt mlflow
201
+
202
+ ```
203
+
204
+ Any other problems we run into testing on the Mac ARM architecture will be adjusted here. Note that the step installing scikit-learn-intelex was skipped here. PG-SUI will automatically detect the CPU architecture you are running, and forgo importing this package (which will only work on Intel processors)
205
+
206
+ ## Input Data
207
+
208
+ You can read your input files as a GenotypeData object from the [SNPio](https://snpio.readthedocs.io/en/latest/) package:
209
+
210
+ ```
211
+
212
+ # Import snpio. Automatically installed with pgsui when using pip.
213
+ from snpio import GenotypeData
214
+
215
+ # Read in PHYLIP, VCF, or STRUCTURE-formatted alignments.
216
+ data = GenotypeData(
217
+ filename="example_data/phylip_files/phylogen_nomx.u.snps.phy",
218
+ popmapfile="example_data/popmaps/phylogen_nomx.popmap",
219
+ force_popmap=True,
220
+ filetype="auto",
221
+ qmatrix_iqtree="example_data/trees/test.qmat",
222
+ siterates_iqtree="example_data/trees/test.rate",
223
+ guidetree="example_data/trees/test.tre",
224
+ include_pops=["EA", "TT", "GU"], # Only include these populations. There's also an exclude_pops option that will exclude the provided populations.
225
+ )
226
+ ```
227
+
228
+ ## Supported Imputation Methods
229
+
230
+ There are numerous supported algorithms to impute missing data. Each one can be run by calling the corresponding class. You must provide a GenotypeData instance as the first positional argument.
231
+
232
+ You can import all the supported methods with:
233
+
234
+ ```
235
+ from pgsui import *
236
+ ```
237
+
238
+ Or you can import them one at a time.
239
+
240
+ ```
241
+ from pgsui import ImputeVAE
242
+ ```
243
+
244
+ ### Supervised Imputers
245
+
246
+ Various supervised imputation options are supported:
247
+
248
+ ```
249
+ # Supervised IterativeImputer classifiers
250
+ knn = ImputeKNN(data) # K-Nearest Neighbors
251
+ rf = ImputeRandomForest(data) # Random Forest or Extra Trees
252
+ xgb = ImputeXGBoost(data) # XGBoost
253
+ ```
254
+
255
+ ### Non-machine learning methods
256
+
257
+ Use phylogeny to inform imputation:
258
+
259
+ ```
260
+ phylo = ImputePhylo(data)
261
+ ```
262
+
263
+ Use by-population or global allele frequency to inform imputation
264
+
265
+ ```
266
+ pop_af = ImputeAlleleFreq(data, by_populations=True)
267
+ global_af = ImputeAlleleFreq(data, by_populations=False)
268
+ ref_af = ImputeRefAllele(data)
269
+ ```
270
+
271
+ Non-matrix factorization:
272
+
273
+ ```
274
+ mf = ImputeMF(*args) # Matrix factorization
275
+ ```
276
+
277
+ ### Unsupervised Neural Networks
278
+
279
+ ```
280
+ vae = ImputeVAE(data) # Variational autoencoder
281
+ nlpca = ImputeNLPCA(data) # Nonlinear PCA
282
+ ubp = ImputeUBP(data) # Unsupervised backpropagation
283
+ sae = ImputeStandardAutoEncoder(data) # standard autoencoder
284
+ ```
285
+
286
+ ## To-Dos
287
+
288
+ - simulations
289
+ - Documentation
290
+
291
+ ## References:
292
+
293
+ <a name="1">1. </a>Stef van Buuren, Karin Groothuis-Oudshoorn (2011). mice: Multivariate Imputation by Chained Equations in R. Journal of Statistical Software 45: 1-67.
294
+
295
+ <a name="2">2. </a>Kingma, D.P. & Welling, M. (2013). Auto-encoding variational bayes. In: Proceedings of the International Conference on Learning Representations (ICLR). arXiv:1312.6114 [stat.ML].
296
+
297
+ <a name="3">3. </a>Hinton, G.E., & Salakhutdinov, R.R. (2006). Reducing the dimensionality of data with neural networks. Science, 313(5786), 504-507.
298
+
299
+ <a name="4">4. </a>Scholz, M., Kaplan, F., Guy, C. L., Kopka, J., & Selbig, J. (2005). Non-linear PCA: a missing data approach. Bioinformatics, 21(20), 3887-3895.
300
+
301
+ <a name="5">5. </a>Gashler, M. S., Smith, M. R., Morris, R., & Martinez, T. (2016). Missing value imputation with unsupervised backpropagation. Computational Intelligence, 32(2), 196-215.
@@ -0,0 +1,117 @@
1
+ pg_sui-0.0.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
2
+ pgsui/__init__.py,sha256=wqTelrAC3lvH8XK3dQaHC53cCBDR-x9iwVUbCmJPB4g,1556
3
+ pgsui/cli.py,sha256=fj2_pHQJHF8K6GFKD6IacZal1YX5uqIW2yVvzdE7PbM,20683
4
+ pgsui/data_processing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ pgsui/data_processing/config.py,sha256=1GzbuJnJaway5WVrn82H7aTMpfPgq9hfIq9eusWfR1I,20845
6
+ pgsui/data_processing/containers.py,sha256=1Mg_aq_-15MD82fecTVWCt8ZWvR5sCACBjHhSwZDgYU,71184
7
+ pgsui/data_processing/transformers.py,sha256=mWx8yLqep4osAgtN3Bf1ga2FyOTXoANv3NvFmaYnPjg,6370
8
+ pgsui/electron/bootstrap.py,sha256=wnrXgX-hiqrMMFE9WGoD-UC8zeK2ZP6Kupu68PodVWI,1185
9
+ pgsui/electron/launch.py,sha256=iZ_58udTNtoPkKAulYDAuIjDqKCdtNu56LChp9C0-hg,1828
10
+ pgsui/electron/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ pgsui/electron/app/__main__.py,sha256=rF7tIpuy4OvMnzLms-fAUNfqYINEyR0Iofh1KKu5RI0,103
12
+ pgsui/electron/app/main.js,sha256=fV9dqIRK_wmTHIVjncr0v10xpkUsL1YaxxrE9kvZrEs,6961
13
+ pgsui/electron/app/package-lock.json,sha256=TRMdxenHpcuBv-3qG2_Tcm_eraKCKT-5382dkeVtb1s,246677
14
+ pgsui/electron/app/package.json,sha256=3DDyKLer5Vo0bpbMgMHFOqTQkdw6wsXNbaZucNce6C8,1229
15
+ pgsui/electron/app/preload.js,sha256=L3lPsTGfgiGXLmQFwktW11En1YSb01hWlJD6kzzmbhE,803
16
+ pgsui/electron/app/server.py,sha256=7-vi23p369bHGc5oo_zbTUdFbjpEl-aTZ5YrDo9xf8Q,4202
17
+ pgsui/electron/app/icons/icons/1024x1024.png,sha256=psZk62iG308QN9XP7sDCifGAHwG7__W-e2EUrF9hss0,42270
18
+ pgsui/electron/app/icons/icons/128x128.png,sha256=R9Za6fj289L432EdwAX7pUj4p4qy7iTMzghrrQzocCg,4705
19
+ pgsui/electron/app/icons/icons/16x16.png,sha256=TaVFFA8V4LQX_KwZCjko_eRPibmYEy1JSkuPicUZ0oQ,704
20
+ pgsui/electron/app/icons/icons/24x24.png,sha256=vMmSBmnTPhaVBfV_oCK_r3wykBq9JneyQu4TlHUVjBU,1094
21
+ pgsui/electron/app/icons/icons/256x256.png,sha256=D97Y8KYOg_RcsR8pNDcxyxtRz6X3qKkKw-oChy29tuY,9044
22
+ pgsui/electron/app/icons/icons/32x32.png,sha256=ah-Z-WybnXG801UV2xwAdvUNmQmy1C29EWLNlTgN8kI,1355
23
+ pgsui/electron/app/icons/icons/48x48.png,sha256=WYVea1_leKVpowEQCrbmV1zG5aMBRh-aMKpiziTKWYc,1995
24
+ pgsui/electron/app/icons/icons/512x512.png,sha256=A1YP6sKNFZEdVl7vVlIAUjunSzFhtXS0_e7bxRiadOQ,17784
25
+ pgsui/electron/app/icons/icons/64x64.png,sha256=tH4qDy3My1DPZz4QzSyz4P6_eel_3t246xKhtm1xKwg,2610
26
+ pgsui/electron/app/icons/icons/icon.icns,sha256=qaJExjDDJQk-uSbTIyPFn6a1hb8JRxs5HQmYdzZdb0c,108937
27
+ pgsui/electron/app/icons/icons/icon.ico,sha256=ljjD98wBOVfUSV3gPlMzXZ4FAprRdrAQENCZ76KTFmo,361102
28
+ pgsui/electron/app/ui/logo.png,sha256=uHhtVMYQsSCkcpeS8JPo-DVsAqwg3G4t-0lYuT4AP6E,38243
29
+ pgsui/electron/app/ui/renderer.js,sha256=5jKMZZbmAQLSffU_l2IlACo_jtC_XxuqJUwMK2uueUE,5298
30
+ pgsui/electron/app/ui/styles.css,sha256=NQPGczGXxw8XjrLbqKZtEQD-SICvciFuUfgtKm_FuHk,2675
31
+ pgsui/electron/app/ui/ui_shim.js,sha256=4qu_9qpMc_p-Boih0o8I2OAVL9TMS4DUUk7BRQIfCeM,2513
32
+ pgsui/example_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
+ pgsui/example_data/phylip_files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
34
+ pgsui/example_data/phylip_files/test.phy,sha256=LEq2Q3hjmPVDP2uF1Ai8OH2If5Y58ny-GRfuXa3l61c,238537
35
+ pgsui/example_data/phylip_files/test_n10.phy,sha256=sgrpekxj0wIlbJymWjULqoPdrY5ehKW5nzHnK710NkU,2897
36
+ pgsui/example_data/phylip_files/test_n100.phy,sha256=LqXLINViOlDpmer2QWyu_Rd_GrCxAnsg6NgogKatnY4,13428
37
+ pgsui/example_data/phylip_files/test_n2.phy,sha256=cQxEWCeiuxQluvAt1xG-G06UcNgJH2ibaabJJMD019o,1960
38
+ pgsui/example_data/phylip_files/test_n500.phy,sha256=C1_y8CxP6Z5vYfY4nwckxdOL2pXKjLEoYmB_FIPW0xY,60228
39
+ pgsui/example_data/popmaps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
40
+ pgsui/example_data/popmaps/phylogen_nomx.popmap,sha256=JR84kJ5jVjJ45k4kpvGVt2JNJHApQg1xNs2pKPt-V4k,3310
41
+ pgsui/example_data/popmaps/test.popmap,sha256=20sFUh3toDNO5wnNuv3FUEBUDkHosMeSclECCDtW354,1954
42
+ pgsui/example_data/popmaps/test.popmap.rearr.txt,sha256=5z0OyjQlAVc5gXZ0jA6Lv-eO1AcremmIrlyecXcSRO8,1954
43
+ pgsui/example_data/structure_files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
44
+ pgsui/example_data/structure_files/test.nopops.1row.10sites.str,sha256=BxlTqWRXjVJFAkA3mnmicMK69AjoBY57R2gkDDo2dwQ,6375
45
+ pgsui/example_data/structure_files/test.nopops.2row.100sites.str,sha256=BzYura7k1O1Qv_FPz57IuuiWMwPV5DU6RPkJhKYdbhs,50808
46
+ pgsui/example_data/structure_files/test.nopops.2row.10sites.str,sha256=q0fkZJN9vvHbUsUnTaNLWA4eEYqcZo_4VRNDAhEqACg,7978
47
+ pgsui/example_data/structure_files/test.nopops.2row.30sites.str,sha256=OIkbvM9GDvp9ZVbmRS6QE1xkTLjsP6NlWALy9u4nCDo,17512
48
+ pgsui/example_data/structure_files/test.nopops.2row.allsites.str,sha256=A4oa4lNQicJmmLpsIwEFCOxJ08_jVusHQjEjIBot7ks,967410
49
+ pgsui/example_data/structure_files/test.pops.1row.10sites.str,sha256=bg3n0oMIj8eXTbZn4T89kv0Jb6mWDIHB5jQIrwVGbZA,6609
50
+ pgsui/example_data/structure_files/test.pops.2row.10sites.str,sha256=DDTnKtLVIJzaUL9ufab4cw1OySnkQ0-4nQD_x051OeI,8446
51
+ pgsui/example_data/structure_files/test.pops.2row.allsites.str,sha256=fbmLcOUQSKyy71A77NPtJJMLSOkquPky0WiPlV4qHhA,967878
52
+ pgsui/example_data/trees/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
53
+ pgsui/example_data/trees/copy_rates.sh,sha256=Itb4WrQxNEsakqEaQyjZ1mbT7MFqtacQv0vYWE2lm9Y,802
54
+ pgsui/example_data/trees/test.iqtree,sha256=qMhbOZle9Gq42F-JeBJYrrrCev3p5RFsYRGfBidQFB4,25951
55
+ pgsui/example_data/trees/test.qmat,sha256=YJDr_6BRyRF_EfhlYF96vp3OlmQXlArvkgKtK_tQdJM,139
56
+ pgsui/example_data/trees/test.rate,sha256=c8G-n2RKCFTlXpI1OfX4jday6nQJ4EXJiPJLEfwkKnA,48046
57
+ pgsui/example_data/trees/test.tre,sha256=X5DqAIP6vuP1fj1rP0Sc0EWZorNHdkKHNyveYGjo3Pk,4697
58
+ pgsui/example_data/trees/test14K.rate,sha256=qBL1Wova3eYmLghNzzqISUw706LWD4nrk2AKRwYb7Jk,329362
59
+ pgsui/example_data/trees/test_n10.rate,sha256=i8XPZRwDy6Pkqvnzzp6Sl4sanWOblmUrG46qsCGLMSA,697
60
+ pgsui/example_data/trees/test_n100.rate,sha256=otOiD7tI4hAWvndOwrCuLQkI-lhz2WQ8SgGUdOTzIY0,2686
61
+ pgsui/example_data/trees/test_n500.rate,sha256=pgFIa1aAariI4VSAjulj6CpucCKZzqvtKCLfwL3ZqCY,11896
62
+ pgsui/example_data/trees/test_siterates.txt,sha256=riiZ8EjIvODpfGO6D1J5tggDxnfaqiJ43uhHWTXF43g,18259
63
+ pgsui/example_data/trees/test_siterates_n10.txt,sha256=-3sylrauNb81MDlZIFR34ZWjjRjPZ9Je-vZHlAIbrf0,90
64
+ pgsui/example_data/trees/test_siterates_n100.txt,sha256=6uHUXLu85XW7jtcFFFu62oIBhdrEyrz1zNrIzoOEYqM,904
65
+ pgsui/example_data/trees/test_siterates_n500.txt,sha256=iTvU6oVJgRnFkp5VHj_uVt08zQ3znz4q5zJdtV1U6sc,4508
66
+ pgsui/example_data/vcf_files/phylogen_subset14K.vcf.gz,sha256=B9sxdIGPSbw4m4MTX_B1VHDx5cDicMNn83AFJy7SEAU,8053540
67
+ pgsui/example_data/vcf_files/phylogen_subset14K.vcf.gz.tbi,sha256=0gHDvboDAEZLQbXdYfUOiJL3oDOr1mOlaQxdlcz_erg,106087
68
+ pgsui/example_data/vcf_files/phylogen_subset14K.vcf_sorted.vcf,sha256=bqdtmVmzFeN0KNMeEivBCdWUFfoP5lsWXeodnjJ96qU,7412705
69
+ pgsui/example_data/vcf_files/phylogen_subset14K.vcf_sorted.vcf.gz,sha256=bqdtmVmzFeN0KNMeEivBCdWUFfoP5lsWXeodnjJ96qU,7412705
70
+ pgsui/example_data/vcf_files/phylogen_subset14K.vcf_sorted.vcf.gz.tbi,sha256=Pr3JUp0V19UzxBOoRfhVvjAK_1b4NfA-V5Ybw9jkVGI,106151
71
+ pgsui/example_data/vcf_files/phylogen_subset14K.vcf_sorted.vcf.tbi,sha256=Pr3JUp0V19UzxBOoRfhVvjAK_1b4NfA-V5Ybw9jkVGI,106151
72
+ pgsui/example_data/vcf_files/test.vcf,sha256=ctbxuQjki-59DYHhspdLQ9i3CeEveY1X1pqsq1HwnhY,47870532
73
+ pgsui/example_data/vcf_files/test.vcf.gz,sha256=g49C0ycJ4HAjT7oqlq9sV2q1NmZdCYkp5jT33RRveio,72705
74
+ pgsui/example_data/vcf_files/test.vcf.gz.tbi,sha256=zxitJWi7Vw1AdO4yiX5y-3NCRxiTUi0TfOcxR8RVzpI,2581
75
+ pgsui/impute/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
76
+ pgsui/impute/deterministic/imputers/allele_freq.py,sha256=u7hLBrVnUdLGTi2xRVF3QVe9nBbW9FJ7hAsoJxyOHWI,28050
77
+ pgsui/impute/deterministic/imputers/mode.py,sha256=Pbje8UMXLuzwdz780r4FvVYXReOVKQ6KGgdNiqe3_i0,28369
78
+ pgsui/impute/deterministic/imputers/nmf.py,sha256=171_TTDZAe1NFjbmKQTOlPDe_rA1aO8q2Th5z0w2RU8,8086
79
+ pgsui/impute/deterministic/imputers/phylo.py,sha256=RSSD6F4XLZDcEPAnydJsQqk7d2OiNlOV1Rc6OU3axWY,38857
80
+ pgsui/impute/deterministic/imputers/ref_allele.py,sha256=bYTjsfF5VifshrwFxvuCEmK_JrCEcJdA7l7QYRX0Byw,22191
81
+ pgsui/impute/supervised/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
82
+ pgsui/impute/supervised/base.py,sha256=RB8JBXqH9AHybhLrCS1Rl3Q4_CkW2bUhbX-yl21YL7E,12674
83
+ pgsui/impute/supervised/imputers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
84
+ pgsui/impute/supervised/imputers/hist_gradient_boosting.py,sha256=PKp43dICsTwwuEqGNkB1e_hEw_lwuPijlkG66GLTg6o,10693
85
+ pgsui/impute/supervised/imputers/random_forest.py,sha256=iTBuuwuknjQGkdjPO_uvfyxDmgjl7fNukMb2TdWR-88,10204
86
+ pgsui/impute/unsupervised/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
87
+ pgsui/impute/unsupervised/base.py,sha256=uaKHulSwRXSS7JIkuDzzKBdyrsezYeXUxGovBBNm3dI,38710
88
+ pgsui/impute/unsupervised/callbacks.py,sha256=_7g8gf6nnKV0Tx7wbeInwtaZvrZLwJgEqgS4P-GyT90,4863
89
+ pgsui/impute/unsupervised/loss_functions.py,sha256=OAB9RXQmvBeC1TEa6sa4yU9M4J2hisT8C_rfv6b_iho,6319
90
+ pgsui/impute/unsupervised/nn_scorers.py,sha256=PymgTR9ZolmmpitOAu9QcwCD6G4ji3xiGg_d3Av-aK0,8261
91
+ pgsui/impute/unsupervised/imputers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
92
+ pgsui/impute/unsupervised/imputers/autoencoder.py,sha256=fplUcZmkPVv9hrVYE9hVePMm5Wrp9yi3UUmzY5rMnaU,40768
93
+ pgsui/impute/unsupervised/imputers/nlpca.py,sha256=omawKbwQI34GQUY_e5QAcjruDxR_fnS1Fyv_tBHjHQU,53049
94
+ pgsui/impute/unsupervised/imputers/ubp.py,sha256=RHW2YVa7pp7_gMg8ThqeBZkusHJWZ9ArbvQJB9fLIHg,55732
95
+ pgsui/impute/unsupervised/imputers/vae.py,sha256=bokbPuxjhD9EMokwNvjvFoZWLi5zLO36KTTtDyielnY,39259
96
+ pgsui/impute/unsupervised/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
97
+ pgsui/impute/unsupervised/models/autoencoder_model.py,sha256=lFvl5n6OhIb5oZ8Cpe-H8uiVAMKKLZdqZk6Aod1-urE,12055
98
+ pgsui/impute/unsupervised/models/nlpca_model.py,sha256=mwxmeinRoL5YKVXjb0EqWNN-Txhjx2MrOhoRhs8kRdY,8634
99
+ pgsui/impute/unsupervised/models/ubp_model.py,sha256=NcSE-V_gvZOdDBRGTgrtyo78WUiGC5h2NsOgkjqKQOc,9304
100
+ pgsui/impute/unsupervised/models/vae_model.py,sha256=u3god3VQ-S8jiIRIy0Tg95MBMViK2-WUPHK09zf5aw8,15478
101
+ pgsui/training_data/concatenateNexus_tkc.py,sha256=ht3a0WH52zfkLRWQ0sjRzt6-4kGZqnDlH-oXdazKU1Q,11505
102
+ pgsui/training_data/count_seq_filetypes.py,sha256=vY33nQebJcjo3Ch5h7nSnPEWdN5YGaU7-PKjteAJZ5M,1710
103
+ pgsui/training_data/datadryad_data_final.py,sha256=Uyjs-YF0dCpTlwrIXgB4bsR8Urk85YO1H7OkVw6Fhqc,2289
104
+ pgsui/training_data/datadryad_data_final_metadata.py,sha256=xyV4IyLwAB4w2ABMn9oncPuYXQ9w6KqIZlz2Bv7MMxM,6863
105
+ pgsui/training_data/datadryad_data_final_speciesdelimitation.py,sha256=8vogrQezyTdRO-gitFbkvuwh8NZHIKVIaKrAbnjmIYI,1975
106
+ pgsui/training_data/parse_dryad_data.py,sha256=KL_Wv62ad6HONg-GOMUcsyftGMcX3K3OsSyeM75gLzc,3672
107
+ pgsui/training_data/separate_file_types.py,sha256=2uajDYg0ZmcU8-t-5s7_lu58NG23T1e1aCMG3BhSwnA,3689
108
+ pgsui/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
109
+ pgsui/utils/classification_viz.py,sha256=cUYsTKVyOlnlc7Carz1bBTwXxDIPgs8xX8K1sHnsEmQ,21389
110
+ pgsui/utils/misc.py,sha256=uBAci3NQjFrFxecPmIj2_v0IjF74KhUJKyHzRU4khYo,3014
111
+ pgsui/utils/plotting.py,sha256=PtFfR50u9rCd8NPu_qB1iD1vxttkDcUIf_i5nQMzbzY,23219
112
+ pgsui/utils/scorers.py,sha256=z3ol6Z-EONO1QRVWQOvSSOwtS2XFbdDn6LBCb_vc0-c,11897
113
+ pg_sui-0.0.0.dist-info/METADATA,sha256=KXBllA-usGEskU5A0qtB8uvNtwQOwKAgguxPOWRP9Ns,12688
114
+ pg_sui-0.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
115
+ pg_sui-0.0.0.dist-info/entry_points.txt,sha256=xidyl6yqQv7oj3XSzZC6Vv9l7aNgbHi_pjv-dJjGJds,129
116
+ pg_sui-0.0.0.dist-info/top_level.txt,sha256=87-oDpfY6sDY_uN-OM2lcnrgPesifhzwqFOajp9ukz0,6
117
+ pg_sui-0.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,4 @@
1
+ [console_scripts]
2
+ pg-sui = pgsui.cli:main
3
+ pgsui-gui = pgsui.electron.launch:main
4
+ pgsui-gui-setup = pgsui.electron.bootstrap:main