masster 0.5.7__py3-none-any.whl → 0.5.9__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/logger.py +58 -43
- masster/sample/h5.py +1 -1
- masster/sample/plot.py +4 -4
- masster/sample/processing.py +3 -3
- masster/sample/save.py +5 -5
- masster/study/h5.py +1 -1
- masster/study/helpers.py +150 -5
- masster/study/id.py +4 -4
- masster/study/merge.py +565 -162
- masster/study/processing.py +2 -2
- masster/study/study.py +2 -1
- {masster-0.5.7.dist-info → masster-0.5.9.dist-info}/METADATA +1 -1
- {masster-0.5.7.dist-info → masster-0.5.9.dist-info}/RECORD +17 -17
- {masster-0.5.7.dist-info → masster-0.5.9.dist-info}/WHEEL +0 -0
- {masster-0.5.7.dist-info → masster-0.5.9.dist-info}/entry_points.txt +0 -0
- {masster-0.5.7.dist-info → masster-0.5.9.dist-info}/licenses/LICENSE +0 -0
masster/study/processing.py
CHANGED
|
@@ -290,7 +290,7 @@ def filter_consensus(
|
|
|
290
290
|
f"Filtered {after_quality - after_number_samples} entries based on number of samples. Remaining {after_number_samples} entries.",
|
|
291
291
|
)
|
|
292
292
|
|
|
293
|
-
self.logger.
|
|
293
|
+
self.logger.success(f"Filtering completed. {len(cons)} entries remaining.")
|
|
294
294
|
|
|
295
295
|
if inplace:
|
|
296
296
|
self.consensus_df = cons
|
|
@@ -1365,7 +1365,7 @@ def find_iso(self, rt_tol=0.1, mz_tol=0.01, uids=None):
|
|
|
1365
1365
|
# Count how many consensus features have isotope data
|
|
1366
1366
|
iso_count = sum(1 for data in consensus_iso_data.values() if data is not None and len(data) > 0)
|
|
1367
1367
|
|
|
1368
|
-
self.logger.
|
|
1368
|
+
self.logger.success(f"Optimized isotope detection completed. Found isotope patterns for {iso_count}/{len(self.consensus_df)} consensus features.")
|
|
1369
1369
|
|
|
1370
1370
|
|
|
1371
1371
|
def reset_iso(self):
|
masster/study/study.py
CHANGED
|
@@ -108,7 +108,7 @@ from masster.study.parameters import get_parameters_property
|
|
|
108
108
|
from masster.study.parameters import set_parameters_property
|
|
109
109
|
from masster.study.save import save, save_consensus, save_samples
|
|
110
110
|
from masster.study.export import export_mgf, export_mztab, export_xlsx, export_parquet
|
|
111
|
-
from masster.study.id import lib_load, identify, get_id, id_reset, lib_reset
|
|
111
|
+
from masster.study.id import lib_load, identify, get_id, id_reset, lib_reset, _get_adducts
|
|
112
112
|
|
|
113
113
|
from masster.logger import MassterLogger
|
|
114
114
|
from masster.study.defaults.study_def import study_defaults
|
|
@@ -380,6 +380,7 @@ class Study:
|
|
|
380
380
|
get_orphans = get_orphans
|
|
381
381
|
get_sample_stats = get_sample_stats
|
|
382
382
|
get_consensus_stats = get_consensus_stats
|
|
383
|
+
_get_adducts = _get_adducts
|
|
383
384
|
|
|
384
385
|
# === Data Selection and Filtering ===
|
|
385
386
|
samples_select = samples_select
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
masster/__init__.py,sha256=ueZ224WPNRRjQEYTaQUol818nwQgJwB93HbEfmtPRmg,1041
|
|
2
|
-
masster/_version.py,sha256=
|
|
2
|
+
masster/_version.py,sha256=bhol39keZ-JZvzEVotG6tOww8JjVuPt66rihFwTiraE,256
|
|
3
3
|
masster/chromatogram.py,sha256=iYpdv8C17zVnlWvOFgAn9ns2uFGiF-GgoYf5QVVAbHs,19319
|
|
4
|
-
masster/logger.py,sha256=
|
|
4
|
+
masster/logger.py,sha256=XT2gUcUIct8LWzTp9n484g5MaB89toT76CGA41oBvfA,18375
|
|
5
5
|
masster/spectrum.py,sha256=TWIgDcl0lveG40cLVZTWGp8-FxMolu-P8EjZyRBtXL4,49850
|
|
6
6
|
masster/data/dda/20250530_VH_IQX_KW_RP_HSST3_100mm_12min_pos_v4_DDA_OT_C-MiLUT_QC_dil2_01_20250602151849.sample5,sha256=LdJMF8uLoDm9ixZNHBoOzBH6hX7NGY7vTvqa2Pzetb8,6539174
|
|
7
7
|
masster/data/dda/20250530_VH_IQX_KW_RP_HSST3_100mm_12min_pos_v4_DDA_OT_C-MiLUT_QC_dil3_01_20250602150634.sample5,sha256=hWUfslGoOTiQw59jENSBXP4sa6DdkbOi40FJ68ep61Q,6956773
|
|
@@ -20,17 +20,17 @@ masster/lib/__init__.py,sha256=TcePNx3SYZHz6763TL9Sg4gUNXaRWjlrOtyS6vsu-hg,178
|
|
|
20
20
|
masster/lib/lib.py,sha256=SSN06UtiM-hIdjS3eCiIHsJ_8S4YHRGOLGmdPIh-efo,27481
|
|
21
21
|
masster/sample/__init__.py,sha256=HL0m1ept0PMAYUCQtDDnkdOS12IFl6oLAq4TZQz83uY,170
|
|
22
22
|
masster/sample/adducts.py,sha256=nl5KEuat0hvktgar6Ca4PbY8JXt9SD05EeTn0HOKt64,32592
|
|
23
|
-
masster/sample/h5.py,sha256=
|
|
23
|
+
masster/sample/h5.py,sha256=X5VBHBpgJ2FJc9mtCggJ1HSQ3ujRmb1Wnpr9sJ8bGVA,115445
|
|
24
24
|
masster/sample/helpers.py,sha256=27eZFFidr02-DlSi4-eF4bpSk_y-qU3eoFCAOshRO20,42138
|
|
25
25
|
masster/sample/lib.py,sha256=E-j9c3Wd8f9a-H8xj7CAOwlA8KcyXPoFyYm3c8r7LtI,33755
|
|
26
26
|
masster/sample/load.py,sha256=swjRBCoFGni9iPztHIKPVB5ru_xDMVryB_inPXdujTw,51819
|
|
27
27
|
masster/sample/parameters.py,sha256=Gg2KcuNbV_wZ_Wwv93QlM5J19ji0oSIvZLPV1NoBmq0,4456
|
|
28
|
-
masster/sample/plot.py,sha256
|
|
29
|
-
masster/sample/processing.py,sha256=
|
|
28
|
+
masster/sample/plot.py,sha256=3_2SO88uTird4cSlrVAZofuIrxjQDIIAH2l0ESxddB8,86629
|
|
29
|
+
masster/sample/processing.py,sha256=uqa5QeXJSo3b6bg3Xl62vkaDxz09NLAXJekBFrPDe_Q,55924
|
|
30
30
|
masster/sample/quant.py,sha256=tHNjvUFTdehKR31BXBZnVsBxMD9XJHgaltITOjr71uE,7562
|
|
31
31
|
masster/sample/sample.py,sha256=VhQik_ev1liRqGUtbZvV1NOjfFzgfZI1orfQT87gai4,20643
|
|
32
32
|
masster/sample/sample5_schema.json,sha256=H5e2T6rHIDzul2kp_yP-ILUUWUpW08wP2pEQjMR0nSk,3977
|
|
33
|
-
masster/sample/save.py,sha256=
|
|
33
|
+
masster/sample/save.py,sha256=pbiRoWEA2DnhDKmMJncjveNlBqizJLOVRm5cug4ZwyM,38658
|
|
34
34
|
masster/sample/sciex.py,sha256=vnbxsq_qnAQVuzcpziP1o3IC4kM5amGBcPmC2TAuDLw,46319
|
|
35
35
|
masster/sample/defaults/__init__.py,sha256=A09AOP44cxD_oYohyt7XFUho0zndRcrzVD4DUaGnKH4,447
|
|
36
36
|
masster/sample/defaults/find_adducts_def.py,sha256=Bu2KiBJRxD0SAnOPNMm_Nk-6fx6QYoRXjFNGzz-0_o0,13570
|
|
@@ -41,16 +41,16 @@ masster/sample/defaults/sample_def.py,sha256=keoXyMyrm_iLgbYqfIbqCpJ3XHBVlNwCNmb
|
|
|
41
41
|
masster/study/__init__.py,sha256=55axdFuqRX4aXtJ8ocnhcLB32fNtmmJpCi58moO0r4g,237
|
|
42
42
|
masster/study/analysis.py,sha256=L-wXBnGZCLB5UUDrjIdOiMG9zdej3Tw_SftcEmmTukM,84264
|
|
43
43
|
masster/study/export.py,sha256=joFK9jip2UM4lVAvhkdKVeUdNdM4D8uP2WE49IaVJgw,60172
|
|
44
|
-
masster/study/h5.py,sha256=
|
|
45
|
-
masster/study/helpers.py,sha256=
|
|
46
|
-
masster/study/id.py,sha256=
|
|
44
|
+
masster/study/h5.py,sha256=hLp3sd95MRMBwMsLDbC1SXsYKeIlIdUG6-lChTJxuHw,95367
|
|
45
|
+
masster/study/helpers.py,sha256=Y96XJsxo0IuuMh_u1asxJeSjjvR3PUp5RAXIACty8QM,190846
|
|
46
|
+
masster/study/id.py,sha256=heKU309cUsNeFxbWYvqxVIAJLrR1H0YqMgLanLx9Do4,80091
|
|
47
47
|
masster/study/load.py,sha256=7d11294YYEGrSKox3cwvetv2vqcstYT1SnyAhHH5V_Q,107706
|
|
48
|
-
masster/study/merge.py,sha256=
|
|
48
|
+
masster/study/merge.py,sha256=_-J29kYu65S9wE5bgxMdsmPcf_VupVxWmjGpqKWJDI0,169513
|
|
49
49
|
masster/study/parameters.py,sha256=bTvmcwX9INxzcrEAmTiFH8qeWVhwkvMTZjuP394pz5o,3279
|
|
50
50
|
masster/study/plot.py,sha256=LEIzoYiUyq1aswh-sw8S-ESvN2DaQKN5l22yLW8gZe8,107647
|
|
51
|
-
masster/study/processing.py,sha256=
|
|
51
|
+
masster/study/processing.py,sha256=8TB6olWoda5ytz7-kSqGXmniYVnMnUj7-J6Szcoc8Fg,58544
|
|
52
52
|
masster/study/save.py,sha256=47AP518epJJ9TjaGGyrLKsMsyjIk8_J4ka7bmsnRtFQ,9268
|
|
53
|
-
masster/study/study.py,sha256=
|
|
53
|
+
masster/study/study.py,sha256=gudugPJk3LOtZh-YsszSRCBDrBG78cexoG0CSM86EPs,38701
|
|
54
54
|
masster/study/study5_schema.json,sha256=0IZxM9VVI0TUlx74BPzJDT44kySi6NZZ6iLR0j8bU_s,7736
|
|
55
55
|
masster/study/defaults/__init__.py,sha256=m3Z5KXGqsTdh7GjYzZoENERt39yRg0ceVRV1DeCt1P0,610
|
|
56
56
|
masster/study/defaults/align_def.py,sha256=Du0F592ej2einT8kOx8EUs610axSvur8_-6N19O-uJY,10209
|
|
@@ -67,8 +67,8 @@ masster/wizard/README.md,sha256=mL1A3YWJZOefpJ6D0-HqGLkVRmUlOpwyVFdvJBeeoZM,1414
|
|
|
67
67
|
masster/wizard/__init__.py,sha256=a2hcZnHASjfuw1lqZhZnvTR58rc33rRnoGAY_JfvGhI,683
|
|
68
68
|
masster/wizard/example.py,sha256=xEZFTH9UZ8HKOm6s3JL8Js0Uw5ChnISWBHSZCL32vsM,7983
|
|
69
69
|
masster/wizard/wizard.py,sha256=UobIGFZtp1s_9WJlpl6DQ2-pp7flPQ6dlYZJqYE92OM,38131
|
|
70
|
-
masster-0.5.
|
|
71
|
-
masster-0.5.
|
|
72
|
-
masster-0.5.
|
|
73
|
-
masster-0.5.
|
|
74
|
-
masster-0.5.
|
|
70
|
+
masster-0.5.9.dist-info/METADATA,sha256=atBSD9cWS2CByNIoDwdlY3c3oZa_7CRvQmObin496hU,45113
|
|
71
|
+
masster-0.5.9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
72
|
+
masster-0.5.9.dist-info/entry_points.txt,sha256=ZHguQ_vPmdbpqq2uGtmEOLJfgP-DQ1T0c07Lxh30wc8,58
|
|
73
|
+
masster-0.5.9.dist-info/licenses/LICENSE,sha256=bx5iLIKjgAdYQ7sISn7DsfHRKkoCUm1154sJJKhgqnU,35184
|
|
74
|
+
masster-0.5.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|