masster 0.3.14__py3-none-any.whl → 0.3.15__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 masster might be problematic. Click here for more details.
- masster/_version.py +1 -1
- masster/sample/helpers.py +9 -2
- masster/sample/load.py +11 -7
- masster/sample/plot.py +43 -34
- masster/study/defaults/study_def.py +20 -0
- masster/study/h5.py +120 -23
- masster/study/helpers.py +482 -11
- masster/study/load.py +21 -10
- masster/study/plot.py +9 -2
- masster/study/study.py +24 -13
- masster/study/study5_schema.json +14 -5
- {masster-0.3.14.dist-info → masster-0.3.15.dist-info}/METADATA +1 -1
- {masster-0.3.14.dist-info → masster-0.3.15.dist-info}/RECORD +16 -16
- {masster-0.3.14.dist-info → masster-0.3.15.dist-info}/WHEEL +0 -0
- {masster-0.3.14.dist-info → masster-0.3.15.dist-info}/entry_points.txt +0 -0
- {masster-0.3.14.dist-info → masster-0.3.15.dist-info}/licenses/LICENSE +0 -0
masster/study/study.py
CHANGED
|
@@ -80,14 +80,17 @@ from masster.study.helpers import set_folder
|
|
|
80
80
|
from masster.study.helpers import set_source
|
|
81
81
|
from masster.study.helpers import sample_color
|
|
82
82
|
from masster.study.helpers import sample_color_reset
|
|
83
|
-
from masster.study.helpers import
|
|
84
|
-
from masster.study.helpers import
|
|
83
|
+
from masster.study.helpers import sample_name_replace
|
|
84
|
+
from masster.study.helpers import sample_name_reset
|
|
85
|
+
from masster.study.helpers import samples_select
|
|
86
|
+
from masster.study.helpers import samples_delete
|
|
85
87
|
from masster.study.helpers import features_select
|
|
86
88
|
from masster.study.helpers import features_filter
|
|
87
89
|
from masster.study.helpers import features_delete
|
|
88
90
|
from masster.study.helpers import consensus_select
|
|
89
91
|
from masster.study.helpers import consensus_filter
|
|
90
92
|
from masster.study.helpers import consensus_delete
|
|
93
|
+
from masster.study.helpers import migrate_map_id_to_index
|
|
91
94
|
from masster.study.load import add
|
|
92
95
|
from masster.study.load import add_sample
|
|
93
96
|
from masster.study.load import fill_single
|
|
@@ -279,24 +282,30 @@ class Study:
|
|
|
279
282
|
"sample_name": [],
|
|
280
283
|
"sample_path": [],
|
|
281
284
|
"sample_type": [],
|
|
282
|
-
"size": [],
|
|
283
285
|
"map_id": [],
|
|
284
|
-
"
|
|
285
|
-
"ms1": [],
|
|
286
|
-
"ms2": [],
|
|
286
|
+
"sample_source": [],
|
|
287
287
|
"sample_color": [],
|
|
288
|
+
"sample_group": [],
|
|
289
|
+
"sample_batch": [],
|
|
290
|
+
"sample_sequence": [],
|
|
291
|
+
"num_features": [],
|
|
292
|
+
"num_ms1": [],
|
|
293
|
+
"num_ms2": [],
|
|
288
294
|
},
|
|
289
295
|
schema={
|
|
290
296
|
"sample_uid": pl.Int64,
|
|
291
297
|
"sample_name": pl.Utf8,
|
|
292
298
|
"sample_path": pl.Utf8,
|
|
293
299
|
"sample_type": pl.Utf8,
|
|
294
|
-
"
|
|
295
|
-
"
|
|
296
|
-
"file_source": pl.Utf8,
|
|
297
|
-
"ms1": pl.Int64,
|
|
298
|
-
"ms2": pl.Int64,
|
|
300
|
+
"map_id": pl.Int64,
|
|
301
|
+
"sample_source": pl.Utf8,
|
|
299
302
|
"sample_color": pl.Utf8,
|
|
303
|
+
"sample_group": pl.Utf8,
|
|
304
|
+
"sample_batch": pl.Int64,
|
|
305
|
+
"sample_sequence": pl.Int64,
|
|
306
|
+
"num_features": pl.Int64,
|
|
307
|
+
"num_ms1": pl.Int64,
|
|
308
|
+
"num_ms2": pl.Int64,
|
|
300
309
|
},
|
|
301
310
|
)
|
|
302
311
|
self.features_maps = []
|
|
@@ -369,8 +378,10 @@ class Study:
|
|
|
369
378
|
set_source = set_source
|
|
370
379
|
sample_color = sample_color
|
|
371
380
|
sample_color_reset = sample_color_reset
|
|
372
|
-
name_replace =
|
|
373
|
-
name_reset =
|
|
381
|
+
name_replace = sample_name_replace
|
|
382
|
+
name_reset = sample_name_reset
|
|
383
|
+
samples_select = samples_select
|
|
384
|
+
samples_delete = samples_delete
|
|
374
385
|
features_select = features_select
|
|
375
386
|
features_filter = features_filter
|
|
376
387
|
features_delete = features_delete
|
masster/study/study5_schema.json
CHANGED
|
@@ -225,9 +225,9 @@
|
|
|
225
225
|
"dtype": "pl.Int64"
|
|
226
226
|
},
|
|
227
227
|
"map_id": {
|
|
228
|
-
"dtype": "pl.
|
|
228
|
+
"dtype": "pl.Int64"
|
|
229
229
|
},
|
|
230
|
-
"
|
|
230
|
+
"sample_source": {
|
|
231
231
|
"dtype": "pl.Utf8"
|
|
232
232
|
},
|
|
233
233
|
"sample_name": {
|
|
@@ -239,13 +239,22 @@
|
|
|
239
239
|
"sample_type": {
|
|
240
240
|
"dtype": "pl.Utf8"
|
|
241
241
|
},
|
|
242
|
-
"
|
|
242
|
+
"sample_group": {
|
|
243
|
+
"dtype": "pl.Utf8"
|
|
244
|
+
},
|
|
245
|
+
"sample_batch": {
|
|
246
|
+
"dtype": "pl.Int64"
|
|
247
|
+
},
|
|
248
|
+
"sample_sequence": {
|
|
249
|
+
"dtype": "pl.Int64"
|
|
250
|
+
},
|
|
251
|
+
"num_features": {
|
|
243
252
|
"dtype": "pl.Int64"
|
|
244
253
|
},
|
|
245
|
-
"
|
|
254
|
+
"num_ms1": {
|
|
246
255
|
"dtype": "pl.Int64"
|
|
247
256
|
},
|
|
248
|
-
"
|
|
257
|
+
"num_ms2": {
|
|
249
258
|
"dtype": "pl.Int64"
|
|
250
259
|
}
|
|
251
260
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
masster/__init__.py,sha256=G7hbKO8F_o1wFwQlvO25M8JYGka_YSAVU2_O__2rjlI,697
|
|
2
|
-
masster/_version.py,sha256=
|
|
2
|
+
masster/_version.py,sha256=ioQa4W_2pWdKSoU7hw7Pn6WMBm3nMuuLKfSR4f8171A,256
|
|
3
3
|
masster/chromatogram.py,sha256=NgPr1uLGJHjRu6PWZZGOrS3pCl7sye1yQCJjlRi9ZSY,19305
|
|
4
4
|
masster/logger.py,sha256=W50V_uh8RSYwGxDrDFhOuj5jpu2tKJyt_16lMw9kQwA,14755
|
|
5
5
|
masster/spectrum.py,sha256=LuDa7qP_JInctzkmxC9c5468opHOholy321KpUgyW2U,47550
|
|
@@ -10,11 +10,11 @@ masster/data/examples/2025_01_14_VW_7600_LpMx_DBS_CID_2min_TOP15_030msecMS1_005m
|
|
|
10
10
|
masster/data/examples/2025_01_14_VW_7600_LpMx_DBS_CID_2min_TOP15_030msecMS1_005msecReac_CE35_DBS-ON_3.wiff2,sha256=TFB0HW4Agkig6yht7FtgjUdbXax8jjKaHpSZSvuU5vs,3252224
|
|
11
11
|
masster/sample/__init__.py,sha256=HL0m1ept0PMAYUCQtDDnkdOS12IFl6oLAq4TZQz83uY,170
|
|
12
12
|
masster/sample/h5.py,sha256=IdfbdkDgKcij-jMQTxnjW-gsBhb6vwi8w1XXL795yEs,63793
|
|
13
|
-
masster/sample/helpers.py,sha256=
|
|
13
|
+
masster/sample/helpers.py,sha256=ThmabX_-gXxLFyok-mYMNOr5JErIO_zcrIHwqovXE1c,36541
|
|
14
14
|
masster/sample/lib.py,sha256=l5YdU9TxEWJI0kJxXxrRCxgDDwbzO5zBf1_Qi_HY87w,33556
|
|
15
|
-
masster/sample/load.py,sha256=
|
|
15
|
+
masster/sample/load.py,sha256=jeGP-f4nYDJlDt4MoqVEYXJ7ZQEwV8ZtM34S1ATEaNc,47774
|
|
16
16
|
masster/sample/parameters.py,sha256=Gg2KcuNbV_wZ_Wwv93QlM5J19ji0oSIvZLPV1NoBmq0,4456
|
|
17
|
-
masster/sample/plot.py,sha256=
|
|
17
|
+
masster/sample/plot.py,sha256=mXrQbgBfMhXtfat_xAuliyXNTanW_kezq4hmWQYtFiQ,78445
|
|
18
18
|
masster/sample/processing.py,sha256=-H93MEUysA-B9PB4nU31WFjtaU_flqbu2gY35ce4vVs,57827
|
|
19
19
|
masster/sample/quant.py,sha256=tHNjvUFTdehKR31BXBZnVsBxMD9XJHgaltITOjr71uE,7562
|
|
20
20
|
masster/sample/sample.py,sha256=QxKjXPO5lWRrIq5eDsYzNQPjp0zI_vuPdPlRQe1y3uI,16925
|
|
@@ -29,16 +29,16 @@ masster/sample/defaults/get_spectrum_def.py,sha256=o62p31PhGd-LiIkTOzKQhwPtnO2At
|
|
|
29
29
|
masster/sample/defaults/sample_def.py,sha256=keoXyMyrm_iLgbYqfIbqCpJ3XHBVlNwCNmb5iMQL0iY,14579
|
|
30
30
|
masster/study/__init__.py,sha256=Zspv6U8jFqjkHGYdNdDy1rfUnCSolCzUdgSSg98PRgE,166
|
|
31
31
|
masster/study/export.py,sha256=9Bhz8wpO3ZHdwV0iWSX0E38GS3UfqfAFlW9VN8ht2-Y,28845
|
|
32
|
-
masster/study/h5.py,sha256=
|
|
33
|
-
masster/study/helpers.py,sha256=
|
|
32
|
+
masster/study/h5.py,sha256=Tl_jdV75yOZ5PH76jvMvTdOJdhiup6uINPC04DhcDX0,71815
|
|
33
|
+
masster/study/helpers.py,sha256=PZ0Lb3eFSnEmPQ3sFzHn-cYr_OehHGzTOogfo3r5K-0,133432
|
|
34
34
|
masster/study/helpers_optimized.py,sha256=sd87kNPIEPdMijekXzZWSyeZzJ_DTAW8HQjAry-jVyY,13922
|
|
35
|
-
masster/study/load.py,sha256=
|
|
35
|
+
masster/study/load.py,sha256=xh-5CX7rCiw_AIY8Wwe_jr4n6BPRSAUIoRr6x6EG8Cs,50192
|
|
36
36
|
masster/study/parameters.py,sha256=0elaF7YspTsB7qyajWAbRNL2VfKlGz5GJLifmO8IGkk,3276
|
|
37
|
-
masster/study/plot.py,sha256
|
|
37
|
+
masster/study/plot.py,sha256=RZ-ko0ocsXzaPtsa5QzBDX4FIwQkx4lYf5RPLJAH5Ss,76147
|
|
38
38
|
masster/study/processing.py,sha256=ijLaVKZlPJQpcQh_u-Cj6acrSEOaB3vKMNzS9alXdzg,52661
|
|
39
39
|
masster/study/save.py,sha256=YjFEiuiB4OFLVvW_AX4-kgnsbjCWrYZeqF85VNEtbdw,6560
|
|
40
|
-
masster/study/study.py,sha256=
|
|
41
|
-
masster/study/study5_schema.json,sha256=
|
|
40
|
+
masster/study/study.py,sha256=IrgkZPFwdgRFyAFrm0KpA7pRXuhvtwzHuVq2ee-3Hj8,31292
|
|
41
|
+
masster/study/study5_schema.json,sha256=k1D6LhHWVioe4GY9-Xg0ro2wp9Z_Oc1MbZ4lBkrAkys,5316
|
|
42
42
|
masster/study/defaults/__init__.py,sha256=m3Z5KXGqsTdh7GjYzZoENERt39yRg0ceVRV1DeCt1P0,610
|
|
43
43
|
masster/study/defaults/align_def.py,sha256=QSJXfe5kAtYp_IN8LUuXjq61IkxT74ml84k5kmmRjqM,19846
|
|
44
44
|
masster/study/defaults/export_def.py,sha256=eXl3h4aoLX88XkHTpqahLd-QZ2gjUqrmjq8IJULXeWo,1203
|
|
@@ -49,9 +49,9 @@ masster/study/defaults/find_ms2_def.py,sha256=RL0DFG41wQ05U8UQKUGr3vzSl3mU0m0knQ
|
|
|
49
49
|
masster/study/defaults/integrate_chrom_def.py,sha256=0MNIWGTjty-Zu-NTQsIweuj3UVqEY3x1x8pK0mPwYak,7264
|
|
50
50
|
masster/study/defaults/integrate_def.py,sha256=Vf4SAzdBfnsSZ3IRaF0qZvWu3gMDPHdgPfMYoPKeWv8,7246
|
|
51
51
|
masster/study/defaults/merge_def.py,sha256=EBsKE3hsAkTEzN9dpdRD5W3_suTKy_WZ_96rwS0uBuE,8572
|
|
52
|
-
masster/study/defaults/study_def.py,sha256=
|
|
53
|
-
masster-0.3.
|
|
54
|
-
masster-0.3.
|
|
55
|
-
masster-0.3.
|
|
56
|
-
masster-0.3.
|
|
57
|
-
masster-0.3.
|
|
52
|
+
masster/study/defaults/study_def.py,sha256=v2V5i5y288gydhMOM78m8u_GaWC2XdjLM5nJP6e17sI,10476
|
|
53
|
+
masster-0.3.15.dist-info/METADATA,sha256=RZMq52mkrHMq9vTYpMRwAcZ-hZkCYkYaZDMm68tcYw0,44320
|
|
54
|
+
masster-0.3.15.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
55
|
+
masster-0.3.15.dist-info/entry_points.txt,sha256=ZHguQ_vPmdbpqq2uGtmEOLJfgP-DQ1T0c07Lxh30wc8,58
|
|
56
|
+
masster-0.3.15.dist-info/licenses/LICENSE,sha256=bx5iLIKjgAdYQ7sISn7DsfHRKkoCUm1154sJJKhgqnU,35184
|
|
57
|
+
masster-0.3.15.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|