pg-sui 1.0.2.1__py3-none-any.whl → 1.6.8__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 pg-sui might be problematic. Click here for more details.

Files changed (112) hide show
  1. {pg_sui-1.0.2.1.dist-info → pg_sui-1.6.8.dist-info}/METADATA +51 -70
  2. pg_sui-1.6.8.dist-info/RECORD +78 -0
  3. {pg_sui-1.0.2.1.dist-info → pg_sui-1.6.8.dist-info}/WHEEL +1 -1
  4. pg_sui-1.6.8.dist-info/entry_points.txt +4 -0
  5. pg_sui-1.6.8.dist-info/top_level.txt +1 -0
  6. pgsui/__init__.py +35 -54
  7. pgsui/_version.py +34 -0
  8. pgsui/cli.py +635 -0
  9. pgsui/data_processing/config.py +576 -0
  10. pgsui/data_processing/containers.py +1782 -0
  11. pgsui/data_processing/transformers.py +121 -1103
  12. pgsui/electron/app/__main__.py +5 -0
  13. pgsui/electron/app/icons/icons/1024x1024.png +0 -0
  14. pgsui/electron/app/icons/icons/128x128.png +0 -0
  15. pgsui/electron/app/icons/icons/16x16.png +0 -0
  16. pgsui/electron/app/icons/icons/24x24.png +0 -0
  17. pgsui/electron/app/icons/icons/256x256.png +0 -0
  18. pgsui/electron/app/icons/icons/32x32.png +0 -0
  19. pgsui/electron/app/icons/icons/48x48.png +0 -0
  20. pgsui/electron/app/icons/icons/512x512.png +0 -0
  21. pgsui/electron/app/icons/icons/64x64.png +0 -0
  22. pgsui/electron/app/icons/icons/icon.icns +0 -0
  23. pgsui/electron/app/icons/icons/icon.ico +0 -0
  24. pgsui/electron/app/main.js +189 -0
  25. pgsui/electron/app/package-lock.json +6893 -0
  26. pgsui/electron/app/package.json +50 -0
  27. pgsui/electron/app/preload.js +15 -0
  28. pgsui/electron/app/server.py +146 -0
  29. pgsui/electron/app/ui/logo.png +0 -0
  30. pgsui/electron/app/ui/renderer.js +130 -0
  31. pgsui/electron/app/ui/styles.css +59 -0
  32. pgsui/electron/app/ui/ui_shim.js +72 -0
  33. pgsui/electron/bootstrap.py +43 -0
  34. pgsui/electron/launch.py +59 -0
  35. pgsui/electron/package.json +14 -0
  36. pgsui/example_data/popmaps/{test.popmap → phylogen_nomx.popmap} +185 -99
  37. pgsui/example_data/vcf_files/phylogen_subset14K.vcf.gz +0 -0
  38. pgsui/example_data/vcf_files/phylogen_subset14K.vcf.gz.tbi +0 -0
  39. pgsui/impute/deterministic/imputers/allele_freq.py +691 -0
  40. pgsui/impute/deterministic/imputers/mode.py +679 -0
  41. pgsui/impute/deterministic/imputers/nmf.py +221 -0
  42. pgsui/impute/deterministic/imputers/phylo.py +971 -0
  43. pgsui/impute/deterministic/imputers/ref_allele.py +530 -0
  44. pgsui/impute/supervised/base.py +339 -0
  45. pgsui/impute/supervised/imputers/hist_gradient_boosting.py +293 -0
  46. pgsui/impute/supervised/imputers/random_forest.py +287 -0
  47. pgsui/impute/unsupervised/base.py +924 -0
  48. pgsui/impute/unsupervised/callbacks.py +89 -263
  49. pgsui/impute/unsupervised/imputers/autoencoder.py +972 -0
  50. pgsui/impute/unsupervised/imputers/nlpca.py +1264 -0
  51. pgsui/impute/unsupervised/imputers/ubp.py +1288 -0
  52. pgsui/impute/unsupervised/imputers/vae.py +957 -0
  53. pgsui/impute/unsupervised/loss_functions.py +158 -0
  54. pgsui/impute/unsupervised/models/autoencoder_model.py +208 -558
  55. pgsui/impute/unsupervised/models/nlpca_model.py +149 -468
  56. pgsui/impute/unsupervised/models/ubp_model.py +198 -1317
  57. pgsui/impute/unsupervised/models/vae_model.py +259 -618
  58. pgsui/impute/unsupervised/nn_scorers.py +215 -0
  59. pgsui/utils/classification_viz.py +591 -0
  60. pgsui/utils/misc.py +35 -480
  61. pgsui/utils/plotting.py +514 -824
  62. pgsui/utils/scorers.py +212 -438
  63. pg_sui-1.0.2.1.dist-info/RECORD +0 -75
  64. pg_sui-1.0.2.1.dist-info/top_level.txt +0 -3
  65. pgsui/example_data/phylip_files/test_n10.phy +0 -118
  66. pgsui/example_data/phylip_files/test_n100.phy +0 -118
  67. pgsui/example_data/phylip_files/test_n2.phy +0 -118
  68. pgsui/example_data/phylip_files/test_n500.phy +0 -118
  69. pgsui/example_data/structure_files/test.nopops.1row.10sites.str +0 -117
  70. pgsui/example_data/structure_files/test.nopops.2row.100sites.str +0 -234
  71. pgsui/example_data/structure_files/test.nopops.2row.10sites.str +0 -234
  72. pgsui/example_data/structure_files/test.nopops.2row.30sites.str +0 -234
  73. pgsui/example_data/structure_files/test.nopops.2row.allsites.str +0 -234
  74. pgsui/example_data/structure_files/test.pops.1row.10sites.str +0 -117
  75. pgsui/example_data/structure_files/test.pops.2row.10sites.str +0 -234
  76. pgsui/example_data/trees/test.iqtree +0 -376
  77. pgsui/example_data/trees/test.qmat +0 -5
  78. pgsui/example_data/trees/test.rate +0 -2033
  79. pgsui/example_data/trees/test.tre +0 -1
  80. pgsui/example_data/trees/test_n10.rate +0 -19
  81. pgsui/example_data/trees/test_n100.rate +0 -109
  82. pgsui/example_data/trees/test_n500.rate +0 -509
  83. pgsui/example_data/trees/test_siterates.txt +0 -2024
  84. pgsui/example_data/trees/test_siterates_n10.txt +0 -10
  85. pgsui/example_data/trees/test_siterates_n100.txt +0 -100
  86. pgsui/example_data/trees/test_siterates_n500.txt +0 -500
  87. pgsui/example_data/vcf_files/test.vcf +0 -244
  88. pgsui/example_data/vcf_files/test.vcf.gz +0 -0
  89. pgsui/example_data/vcf_files/test.vcf.gz.tbi +0 -0
  90. pgsui/impute/estimators.py +0 -735
  91. pgsui/impute/impute.py +0 -1486
  92. pgsui/impute/simple_imputers.py +0 -1439
  93. pgsui/impute/supervised/iterative_imputer_fixedparams.py +0 -785
  94. pgsui/impute/supervised/iterative_imputer_gridsearch.py +0 -1027
  95. pgsui/impute/unsupervised/keras_classifiers.py +0 -702
  96. pgsui/impute/unsupervised/models/in_development/cnn_model.py +0 -486
  97. pgsui/impute/unsupervised/neural_network_imputers.py +0 -1424
  98. pgsui/impute/unsupervised/neural_network_methods.py +0 -1549
  99. pgsui/pg_sui.py +0 -261
  100. pgsui/utils/sequence_tools.py +0 -407
  101. simulation/sim_benchmarks.py +0 -333
  102. simulation/sim_treeparams.py +0 -475
  103. test/__init__.py +0 -0
  104. test/pg_sui_simtest.py +0 -215
  105. test/pg_sui_testing.py +0 -523
  106. test/test.py +0 -297
  107. test/test_pgsui.py +0 -374
  108. test/test_tkc.py +0 -214
  109. {pg_sui-1.0.2.1.dist-info → pg_sui-1.6.8.dist-info/licenses}/LICENSE +0 -0
  110. /pgsui/{example_data/trees → electron/app}/__init__.py +0 -0
  111. /pgsui/impute/{unsupervised/models/in_development → supervised/imputers}/__init__.py +0 -0
  112. {simulation → pgsui/impute/unsupervised/imputers}/__init__.py +0 -0
@@ -1,10 +0,0 @@
1
- 0.65244
2
- 0.71905
3
- 0.66729
4
- 2.65438
5
- 0.45287
6
- 0.70798
7
- 0.70532
8
- 0.43881
9
- 0.46221
10
- 0.69352
@@ -1,100 +0,0 @@
1
- 0.65244
2
- 0.71905
3
- 0.66729
4
- 2.65438
5
- 0.45287
6
- 0.70798
7
- 0.70532
8
- 0.43881
9
- 0.46221
10
- 0.69352
11
- 0.72661
12
- 0.59677
13
- 0.45332
14
- 0.45439
15
- 0.58785
16
- 0.41904
17
- 0.41957
18
- 0.45609
19
- 0.46272
20
- 2.78146
21
- 0.46007
22
- 3.10141
23
- 0.65251
24
- 0.41980
25
- 0.45148
26
- 0.42018
27
- 0.46300
28
- 0.41985
29
- 0.45384
30
- 0.64632
31
- 0.57909
32
- 0.45676
33
- 0.42065
34
- 11.38813
35
- 0.57922
36
- 0.41990
37
- 0.45883
38
- 0.46317
39
- 0.42012
40
- 0.45216
41
- 0.45919
42
- 0.66636
43
- 0.45845
44
- 0.46051
45
- 0.64517
46
- 0.42045
47
- 0.44030
48
- 0.46461
49
- 0.71732
50
- 0.59264
51
- 0.64693
52
- 0.66550
53
- 0.60314
54
- 0.43862
55
- 0.46164
56
- 0.44372
57
- 0.45332
58
- 0.72411
59
- 0.46146
60
- 0.46257
61
- 0.45963
62
- 0.41847
63
- 0.45515
64
- 0.45363
65
- 0.42010
66
- 0.46190
67
- 0.42011
68
- 0.45383
69
- 0.44188
70
- 0.41850
71
- 0.42156
72
- 0.45332
73
- 0.71182
74
- 0.42004
75
- 0.70672
76
- 0.69578
77
- 0.46186
78
- 0.72224
79
- 0.45927
80
- 0.41992
81
- 11.44929
82
- 0.45904
83
- 0.45993
84
- 0.66309
85
- 0.43970
86
- 0.42028
87
- 0.45349
88
- 0.41855
89
- 0.65589
90
- 0.42027
91
- 0.44487
92
- 0.45594
93
- 0.42031
94
- 0.41862
95
- 0.65846
96
- 0.46094
97
- 0.45931
98
- 11.47016
99
- 11.47059
100
- 0.41926
@@ -1,500 +0,0 @@
1
- 0.65244
2
- 0.71905
3
- 0.66729
4
- 2.65438
5
- 0.45287
6
- 0.70798
7
- 0.70532
8
- 0.43881
9
- 0.46221
10
- 0.69352
11
- 0.72661
12
- 0.59677
13
- 0.45332
14
- 0.45439
15
- 0.58785
16
- 0.41904
17
- 0.41957
18
- 0.45609
19
- 0.46272
20
- 2.78146
21
- 0.46007
22
- 3.10141
23
- 0.65251
24
- 0.41980
25
- 0.45148
26
- 0.42018
27
- 0.46300
28
- 0.41985
29
- 0.45384
30
- 0.64632
31
- 0.57909
32
- 0.45676
33
- 0.42065
34
- 11.38813
35
- 0.57922
36
- 0.41990
37
- 0.45883
38
- 0.46317
39
- 0.42012
40
- 0.45216
41
- 0.45919
42
- 0.66636
43
- 0.45845
44
- 0.46051
45
- 0.64517
46
- 0.42045
47
- 0.44030
48
- 0.46461
49
- 0.71732
50
- 0.59264
51
- 0.64693
52
- 0.66550
53
- 0.60314
54
- 0.43862
55
- 0.46164
56
- 0.44372
57
- 0.45332
58
- 0.72411
59
- 0.46146
60
- 0.46257
61
- 0.45963
62
- 0.41847
63
- 0.45515
64
- 0.45363
65
- 0.42010
66
- 0.46190
67
- 0.42011
68
- 0.45383
69
- 0.44188
70
- 0.41850
71
- 0.42156
72
- 0.45332
73
- 0.71182
74
- 0.42004
75
- 0.70672
76
- 0.69578
77
- 0.46186
78
- 0.72224
79
- 0.45927
80
- 0.41992
81
- 11.44929
82
- 0.45904
83
- 0.45993
84
- 0.66309
85
- 0.43970
86
- 0.42028
87
- 0.45349
88
- 0.41855
89
- 0.65589
90
- 0.42027
91
- 0.44487
92
- 0.45594
93
- 0.42031
94
- 0.41862
95
- 0.65846
96
- 0.46094
97
- 0.45931
98
- 11.47016
99
- 11.47059
100
- 0.41926
101
- 0.45373
102
- 0.45945
103
- 0.65657
104
- 0.46000
105
- 0.45911
106
- 0.46041
107
- 0.67387
108
- 0.45813
109
- 11.41403
110
- 0.45233
111
- 0.46003
112
- 2.76355
113
- 0.45345
114
- 0.41877
115
- 0.41972
116
- 0.45342
117
- 0.41952
118
- 0.78865
119
- 0.44735
120
- 3.27421
121
- 2.65629
122
- 0.42070
123
- 0.46147
124
- 1.53516
125
- 0.42069
126
- 0.46024
127
- 0.45446
128
- 0.44948
129
- 1.46270
130
- 0.69549
131
- 0.65473
132
- 0.44330
133
- 0.41874
134
- 0.71147
135
- 0.46150
136
- 1.48076
137
- 3.00507
138
- 1.17661
139
- 0.45349
140
- 0.46004
141
- 0.46149
142
- 0.42009
143
- 0.66501
144
- 0.70858
145
- 7.73645
146
- 0.65388
147
- 0.45342
148
- 0.45159
149
- 2.61515
150
- 0.41863
151
- 0.70432
152
- 2.67983
153
- 0.46022
154
- 0.41972
155
- 0.65952
156
- 10.28641
157
- 0.45222
158
- 0.41922
159
- 0.45925
160
- 0.45372
161
- 0.45924
162
- 0.44448
163
- 0.45139
164
- 0.45426
165
- 0.42029
166
- 0.41951
167
- 0.66477
168
- 0.46176
169
- 0.68885
170
- 0.43908
171
- 1.47971
172
- 0.64322
173
- 0.41999
174
- 0.46958
175
- 0.41874
176
- 0.46355
177
- 0.69899
178
- 0.69846
179
- 0.41991
180
- 0.62811
181
- 0.42105
182
- 1.56334
183
- 0.46338
184
- 0.59217
185
- 4.25394
186
- 1.68793
187
- 0.41972
188
- 0.45339
189
- 0.45691
190
- 0.45999
191
- 0.46217
192
- 0.66998
193
- 0.41972
194
- 0.57492
195
- 0.67994
196
- 0.64427
197
- 0.45143
198
- 0.70283
199
- 0.69860
200
- 0.41849
201
- 0.41986
202
- 0.45730
203
- 0.69458
204
- 0.69884
205
- 0.45970
206
- 0.41873
207
- 0.71647
208
- 0.45231
209
- 0.45314
210
- 1.43707
211
- 0.45964
212
- 1.55308
213
- 0.41879
214
- 2.69683
215
- 0.46584
216
- 0.43737
217
- 0.45202
218
- 0.42018
219
- 0.68768
220
- 0.63940
221
- 0.42002
222
- 0.46044
223
- 0.43750
224
- 0.70367
225
- 0.45231
226
- 0.43763
227
- 0.71624
228
- 0.42020
229
- 0.46168
230
- 0.45392
231
- 3.37683
232
- 3.35312
233
- 0.70444
234
- 0.68099
235
- 0.69292
236
- 0.46329
237
- 0.44517
238
- 0.66805
239
- 0.45938
240
- 0.43945
241
- 0.42157
242
- 0.46006
243
- 0.46681
244
- 0.41949
245
- 0.45876
246
- 0.42036
247
- 0.68963
248
- 0.65593
249
- 1.31883
250
- 0.41953
251
- 0.70847
252
- 0.46085
253
- 0.70582
254
- 0.45417
255
- 0.41849
256
- 0.43882
257
- 0.41902
258
- 0.41898
259
- 5.26798
260
- 0.42005
261
- 0.69257
262
- 0.44643
263
- 0.46582
264
- 0.62110
265
- 0.44526
266
- 0.65021
267
- 0.46002
268
- 0.45973
269
- 0.72983
270
- 0.44330
271
- 0.41967
272
- 0.42087
273
- 0.41869
274
- 0.45339
275
- 0.69206
276
- 0.45430
277
- 0.44854
278
- 0.45263
279
- 0.68521
280
- 0.43855
281
- 0.45879
282
- 0.73289
283
- 0.70417
284
- 0.44726
285
- 0.42537
286
- 0.46648
287
- 0.45188
288
- 0.64826
289
- 0.73596
290
- 0.64691
291
- 0.67033
292
- 0.45480
293
- 0.46137
294
- 0.46099
295
- 0.46882
296
- 0.66075
297
- 0.44570
298
- 1.37798
299
- 0.57916
300
- 0.46145
301
- 0.70228
302
- 0.66664
303
- 0.41864
304
- 1.52480
305
- 2.49746
306
- 5.74437
307
- 0.46196
308
- 0.45992
309
- 0.41859
310
- 0.41992
311
- 0.45286
312
- 0.72283
313
- 0.41898
314
- 3.99700
315
- 0.42094
316
- 0.65096
317
- 0.46721
318
- 0.59193
319
- 0.46247
320
- 0.46434
321
- 0.45409
322
- 2.66994
323
- 0.41919
324
- 0.46133
325
- 0.46034
326
- 0.45274
327
- 0.45206
328
- 0.46248
329
- 9.46915
330
- 0.45838
331
- 0.42053
332
- 0.45544
333
- 0.45321
334
- 0.42130
335
- 0.41847
336
- 0.41878
337
- 0.66167
338
- 0.67150
339
- 0.41985
340
- 2.53381
341
- 0.45981
342
- 0.46394
343
- 0.45851
344
- 0.71029
345
- 2.58768
346
- 0.45346
347
- 1.53125
348
- 0.46940
349
- 0.44948
350
- 2.79226
351
- 0.64329
352
- 1.73310
353
- 0.41980
354
- 0.41970
355
- 0.42031
356
- 2.48550
357
- 0.64379
358
- 0.45372
359
- 0.45200
360
- 0.44784
361
- 0.45319
362
- 0.46007
363
- 0.64239
364
- 0.45875
365
- 0.42011
366
- 3.05937
367
- 0.70960
368
- 0.41950
369
- 0.71670
370
- 0.45942
371
- 0.45228
372
- 3.91420
373
- 0.45052
374
- 0.45544
375
- 0.45953
376
- 0.42119
377
- 0.46040
378
- 0.42274
379
- 10.33092
380
- 1.46813
381
- 0.46003
382
- 0.45252
383
- 0.67240
384
- 0.45259
385
- 0.45369
386
- 0.59328
387
- 2.84271
388
- 2.95759
389
- 0.59896
390
- 0.67796
391
- 0.45436
392
- 0.68401
393
- 0.59326
394
- 0.45527
395
- 0.45738
396
- 0.65514
397
- 0.64868
398
- 0.68844
399
- 0.45807
400
- 0.64821
401
- 0.58431
402
- 3.53662
403
- 0.73422
404
- 0.45666
405
- 0.46198
406
- 0.44737
407
- 0.69378
408
- 0.45888
409
- 0.45506
410
- 0.41871
411
- 0.41877
412
- 0.45923
413
- 0.44704
414
- 0.45358
415
- 0.59259
416
- 3.33811
417
- 0.64673
418
- 1.57490
419
- 0.66507
420
- 0.41970
421
- 0.46078
422
- 0.41926
423
- 0.42001
424
- 0.41982
425
- 2.61410
426
- 0.46367
427
- 0.43744
428
- 0.46277
429
- 0.45978
430
- 1.72113
431
- 0.45477
432
- 0.70320
433
- 2.59765
434
- 0.69037
435
- 1.55480
436
- 0.45904
437
- 0.44867
438
- 0.45915
439
- 0.45237
440
- 0.45983
441
- 0.71435
442
- 0.45759
443
- 0.44950
444
- 0.69859
445
- 0.67902
446
- 0.46108
447
- 5.10186
448
- 0.65313
449
- 0.66920
450
- 0.66356
451
- 0.45523
452
- 0.66012
453
- 0.46432
454
- 0.45369
455
- 0.45339
456
- 0.68780
457
- 0.44176
458
- 0.69736
459
- 0.45415
460
- 0.45616
461
- 0.44133
462
- 0.45235
463
- 2.29505
464
- 0.59848
465
- 0.41847
466
- 0.42100
467
- 0.45370
468
- 0.45597
469
- 0.46264
470
- 1.61400
471
- 0.45736
472
- 0.70044
473
- 0.41860
474
- 11.43284
475
- 0.65099
476
- 0.66590
477
- 0.46144
478
- 0.41875
479
- 0.45857
480
- 0.71453
481
- 0.46272
482
- 0.45910
483
- 0.45086
484
- 0.41847
485
- 0.45818
486
- 0.46078
487
- 0.45221
488
- 0.46210
489
- 0.45279
490
- 0.70104
491
- 2.84631
492
- 3.03180
493
- 0.45441
494
- 0.46163
495
- 0.45846
496
- 0.42024
497
- 0.67825
498
- 0.64167
499
- 0.41917
500
- 0.41925