masscube 0.0.5__tar.gz
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.
- masscube-0.0.5/LICENSE +21 -0
- masscube-0.0.5/PKG-INFO +69 -0
- masscube-0.0.5/README.md +44 -0
- masscube-0.0.5/pyproject.toml +41 -0
- masscube-0.0.5/setup.cfg +4 -0
- masscube-0.0.5/src/masscube/__init__.py +3 -0
- masscube-0.0.5/src/masscube/alignment.py +748 -0
- masscube-0.0.5/src/masscube/annotation.py +388 -0
- masscube-0.0.5/src/masscube/feature_evaluation.py +138 -0
- masscube-0.0.5/src/masscube/feature_grouping.py +292 -0
- masscube-0.0.5/src/masscube/feature_table_utils.py +27 -0
- masscube-0.0.5/src/masscube/network.py +188 -0
- masscube-0.0.5/src/masscube/normalization.py +118 -0
- masscube-0.0.5/src/masscube/params.py +230 -0
- masscube-0.0.5/src/masscube/peak_detect.py +530 -0
- masscube-0.0.5/src/masscube/raw_data_utils.py +948 -0
- masscube-0.0.5/src/masscube/stats.py +177 -0
- masscube-0.0.5/src/masscube/utils_functions.py +94 -0
- masscube-0.0.5/src/masscube/visualization.py +324 -0
- masscube-0.0.5/src/masscube/workflows.py +170 -0
- masscube-0.0.5/src/masscube.egg-info/PKG-INFO +69 -0
- masscube-0.0.5/src/masscube.egg-info/SOURCES.txt +24 -0
- masscube-0.0.5/src/masscube.egg-info/dependency_links.txt +1 -0
- masscube-0.0.5/src/masscube.egg-info/entry_points.txt +3 -0
- masscube-0.0.5/src/masscube.egg-info/requires.txt +11 -0
- masscube-0.0.5/src/masscube.egg-info/top_level.txt +1 -0
masscube-0.0.5/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023 Huaxu Yu
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
masscube-0.0.5/PKG-INFO
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: masscube
|
|
3
|
+
Version: 0.0.5
|
|
4
|
+
Summary: Accurate and fast data processing for metabolomics
|
|
5
|
+
Author-email: Huaxu Yu <yhxchem@outlook.com>
|
|
6
|
+
Maintainer-email: Huaxu Yu <yhxchem@outlook.com>
|
|
7
|
+
Project-URL: Homepage, https://github.com/huaxuyu/masscube
|
|
8
|
+
Classifier: Programming Language :: Python :: 3
|
|
9
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
10
|
+
Classifier: Operating System :: OS Independent
|
|
11
|
+
Requires-Python: >=3.8
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
Requires-Dist: numpy>=1.24
|
|
15
|
+
Requires-Dist: pandas>=2.0
|
|
16
|
+
Requires-Dist: pyteomics>=4.6
|
|
17
|
+
Requires-Dist: scipy>=1.10.1
|
|
18
|
+
Requires-Dist: tensorflow>=2.12.0
|
|
19
|
+
Requires-Dist: tqdm>=4.65.0
|
|
20
|
+
Requires-Dist: lxml>=4.9.2
|
|
21
|
+
Requires-Dist: matplotlib
|
|
22
|
+
Requires-Dist: ms_entropy>=1.1.1
|
|
23
|
+
Requires-Dist: networkx
|
|
24
|
+
Requires-Dist: scikit-learn
|
|
25
|
+
|
|
26
|
+
# MassCube
|
|
27
|
+
|
|
28
|
+
[](https://github.com/huaxuyu/masscube/)
|
|
29
|
+

|
|
30
|
+
[](https://pypi.org/project/masscube/)
|
|
31
|
+
|
|
32
|
+
**masscube** is an integrated Python package for liquid chromatography-mass spectrometry (LC-MS) data processing.
|
|
33
|
+
|
|
34
|
+
* **Documentation:** https://masscube.readthedocs.io/en/latest/
|
|
35
|
+
* **Source code:** https://github.com/huaxuyu/masscube/
|
|
36
|
+
* **Bug reports:** https://github.com/huaxuyu/masscube/issues/
|
|
37
|
+
|
|
38
|
+
It provides:
|
|
39
|
+
|
|
40
|
+
* Ion-identity-informed chromatograpgic peak picking.
|
|
41
|
+
* Peak quality evaluation via artificial neural network.
|
|
42
|
+
* Accurate annotation of isotopes, adducts, and in-source fragments.
|
|
43
|
+
* Ultra-fast annotation of MS/MS spectra supported by [Flash Entropy Search](https://github.com/YuanyueLi/MSEntropy)
|
|
44
|
+
|
|
45
|
+
## Installation
|
|
46
|
+
|
|
47
|
+
```sh
|
|
48
|
+
# PyPI
|
|
49
|
+
pip install masscube
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
The changes to **masscube** between each release can be found [here](https://pypi.org/project/masscube/#history). See more from the commit logs.
|
|
53
|
+
|
|
54
|
+
## Quick start
|
|
55
|
+
|
|
56
|
+
Over 100 fundemental functions and objects are available in **masscube** to help you create the best data processing workflow for your study. Some examples of the pre-made workflows are here:
|
|
57
|
+
|
|
58
|
+
* Untargeted metabolomics workflow
|
|
59
|
+
* Data quality examination
|
|
60
|
+
* MS/MS search (identity search and hybrid search)
|
|
61
|
+
* Visualize MS data and generate plots ready for publication
|
|
62
|
+
|
|
63
|
+
## Contribute to masscube
|
|
64
|
+
|
|
65
|
+
The **masscube** project is excited to have your expertise and passion on board!
|
|
66
|
+
|
|
67
|
+
We value all enhancements or corrections. For those thinking about making significant contributions to the codebase, we encourage you to get in touch with us!
|
|
68
|
+
|
|
69
|
+
* Huaxu Yu, hxuyu@ucdavis.edu
|
masscube-0.0.5/README.md
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# MassCube
|
|
2
|
+
|
|
3
|
+
[](https://github.com/huaxuyu/masscube/)
|
|
4
|
+

|
|
5
|
+
[](https://pypi.org/project/masscube/)
|
|
6
|
+
|
|
7
|
+
**masscube** is an integrated Python package for liquid chromatography-mass spectrometry (LC-MS) data processing.
|
|
8
|
+
|
|
9
|
+
* **Documentation:** https://masscube.readthedocs.io/en/latest/
|
|
10
|
+
* **Source code:** https://github.com/huaxuyu/masscube/
|
|
11
|
+
* **Bug reports:** https://github.com/huaxuyu/masscube/issues/
|
|
12
|
+
|
|
13
|
+
It provides:
|
|
14
|
+
|
|
15
|
+
* Ion-identity-informed chromatograpgic peak picking.
|
|
16
|
+
* Peak quality evaluation via artificial neural network.
|
|
17
|
+
* Accurate annotation of isotopes, adducts, and in-source fragments.
|
|
18
|
+
* Ultra-fast annotation of MS/MS spectra supported by [Flash Entropy Search](https://github.com/YuanyueLi/MSEntropy)
|
|
19
|
+
|
|
20
|
+
## Installation
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
# PyPI
|
|
24
|
+
pip install masscube
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
The changes to **masscube** between each release can be found [here](https://pypi.org/project/masscube/#history). See more from the commit logs.
|
|
28
|
+
|
|
29
|
+
## Quick start
|
|
30
|
+
|
|
31
|
+
Over 100 fundemental functions and objects are available in **masscube** to help you create the best data processing workflow for your study. Some examples of the pre-made workflows are here:
|
|
32
|
+
|
|
33
|
+
* Untargeted metabolomics workflow
|
|
34
|
+
* Data quality examination
|
|
35
|
+
* MS/MS search (identity search and hybrid search)
|
|
36
|
+
* Visualize MS data and generate plots ready for publication
|
|
37
|
+
|
|
38
|
+
## Contribute to masscube
|
|
39
|
+
|
|
40
|
+
The **masscube** project is excited to have your expertise and passion on board!
|
|
41
|
+
|
|
42
|
+
We value all enhancements or corrections. For those thinking about making significant contributions to the codebase, we encourage you to get in touch with us!
|
|
43
|
+
|
|
44
|
+
* Huaxu Yu, hxuyu@ucdavis.edu
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "masscube"
|
|
7
|
+
version = "0.0.5"
|
|
8
|
+
authors = [
|
|
9
|
+
{ name="Huaxu Yu", email="yhxchem@outlook.com" },
|
|
10
|
+
]
|
|
11
|
+
maintainers = [
|
|
12
|
+
{ name="Huaxu Yu", email="yhxchem@outlook.com" },
|
|
13
|
+
]
|
|
14
|
+
description = "Accurate and fast data processing for metabolomics"
|
|
15
|
+
readme = "README.md"
|
|
16
|
+
requires-python = ">=3.8"
|
|
17
|
+
classifiers = [
|
|
18
|
+
"Programming Language :: Python :: 3",
|
|
19
|
+
"License :: OSI Approved :: MIT License",
|
|
20
|
+
"Operating System :: OS Independent",
|
|
21
|
+
]
|
|
22
|
+
dependencies = [
|
|
23
|
+
"numpy>=1.24",
|
|
24
|
+
"pandas>=2.0",
|
|
25
|
+
"pyteomics>=4.6",
|
|
26
|
+
"scipy>=1.10.1",
|
|
27
|
+
"tensorflow>=2.12.0",
|
|
28
|
+
"tqdm>=4.65.0",
|
|
29
|
+
"lxml>=4.9.2",
|
|
30
|
+
"matplotlib",
|
|
31
|
+
"ms_entropy>=1.1.1",
|
|
32
|
+
"networkx",
|
|
33
|
+
"scikit-learn"
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
[project.scripts]
|
|
37
|
+
untargeted-metabolomics = "masscube:untargeted_metabolomics_workflow"
|
|
38
|
+
build-sample-table = "masscube:generate_sample_table"
|
|
39
|
+
|
|
40
|
+
[project.urls]
|
|
41
|
+
"Homepage" = "https://github.com/huaxuyu/masscube"
|
masscube-0.0.5/setup.cfg
ADDED