quantms-utils 0.0.1__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.
- quantms_utils-0.0.1/LICENSE +21 -0
- quantms_utils-0.0.1/PKG-INFO +75 -0
- quantms_utils-0.0.1/README.md +45 -0
- quantms_utils-0.0.1/pyproject.toml +31 -0
- quantms_utils-0.0.1/quantms_utils.egg-info/PKG-INFO +75 -0
- quantms_utils-0.0.1/quantms_utils.egg-info/SOURCES.txt +28 -0
- quantms_utils-0.0.1/quantms_utils.egg-info/dependency_links.txt +1 -0
- quantms_utils-0.0.1/quantms_utils.egg-info/entry_points.txt +2 -0
- quantms_utils-0.0.1/quantms_utils.egg-info/requires.txt +8 -0
- quantms_utils-0.0.1/quantms_utils.egg-info/top_level.txt +1 -0
- quantms_utils-0.0.1/quantmsutils/__init__.py +0 -0
- quantms_utils-0.0.1/quantmsutils/diann/__init__.py +0 -0
- quantms_utils-0.0.1/quantmsutils/diann/diann2mztab.py +1628 -0
- quantms_utils-0.0.1/quantmsutils/diann/dianncfg.py +141 -0
- quantms_utils-0.0.1/quantmsutils/features/__init__.py +0 -0
- quantms_utils-0.0.1/quantmsutils/features/sage_feature.py +38 -0
- quantms_utils-0.0.1/quantmsutils/mzml/__init__.py +0 -0
- quantms_utils-0.0.1/quantmsutils/mzml/mzml_statistics.py +231 -0
- quantms_utils-0.0.1/quantmsutils/psm/__init__.py +0 -0
- quantms_utils-0.0.1/quantmsutils/psm/psm_conversion.py +174 -0
- quantms_utils-0.0.1/quantmsutils/quantmsutilsc.py +41 -0
- quantms_utils-0.0.1/quantmsutils/rescoring/__init__.py +0 -0
- quantms_utils-0.0.1/quantmsutils/rescoring/ms2rescore.py +326 -0
- quantms_utils-0.0.1/quantmsutils/sdrf/__init__.py +0 -0
- quantms_utils-0.0.1/quantmsutils/sdrf/check_samplesheet.py +134 -0
- quantms_utils-0.0.1/quantmsutils/sdrf/extract_sample.py +46 -0
- quantms_utils-0.0.1/setup.cfg +7 -0
- quantms_utils-0.0.1/setup.py +66 -0
- quantms_utils-0.0.1/tests/test_commands.py +126 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 BigBio Stack
|
|
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.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: quantms-utils
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Python package with scripts and helpers for the QuantMS workflow
|
|
5
|
+
Home-page: https://www.github.com/bigbio/pyquantms
|
|
6
|
+
Author: Yasset Perez-Riverol, Dai Chengxin
|
|
7
|
+
Author-email: ypriverol@gmail.com
|
|
8
|
+
License: MIT License
|
|
9
|
+
Project-URL: Documentation, https://docs.quantms.org/en/latest/
|
|
10
|
+
Project-URL: quantms Workflow, https://github.com/bigbio/quantms
|
|
11
|
+
Project-URL: Tracker, https://github.com/bigbio/pyquantms/issues
|
|
12
|
+
Keywords: quantms,Proteomics
|
|
13
|
+
Classifier: Intended Audience :: Science/Research
|
|
14
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
15
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
16
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
17
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
18
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
19
|
+
Requires-Python: >=3.8,<4
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
License-File: LICENSE
|
|
22
|
+
Requires-Dist: click
|
|
23
|
+
Requires-Dist: sdrf-pipelines
|
|
24
|
+
Requires-Dist: pyopenms
|
|
25
|
+
Requires-Dist: ms2rescore==3.0.2
|
|
26
|
+
Requires-Dist: psm-utils==0.8.0
|
|
27
|
+
Requires-Dist: pydantic
|
|
28
|
+
Requires-Dist: pandas
|
|
29
|
+
Requires-Dist: numpy
|
|
30
|
+
|
|
31
|
+
# quantms-utils
|
|
32
|
+
[](https://github.com/bigbio/quantms-utils/actions/workflows/python-app.yml)
|
|
33
|
+
[](https://github.com/bigbio/quantms-utils/actions/workflows/python-package.yml)
|
|
34
|
+
[](https://app.codacy.com/gh/bigbio/quantms-utils/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
|
|
35
|
+
[](https://badge.fury.io/py/quantms-utils)
|
|
36
|
+
[](https://opensource.org/licenses/MIT)
|
|
37
|
+
|
|
38
|
+
Python package with scripts and functions for the [quantms workflow](https://github.com/bigbio/quantms) for the analysis of quantitative proteomics data.
|
|
39
|
+
|
|
40
|
+
The package is available on PyPI: [quantms-utils](https://pypi.org/project/quantms-utils/)
|
|
41
|
+
```
|
|
42
|
+
pip install quantms-utils
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Available Scripts
|
|
46
|
+
|
|
47
|
+
The following functionalities are available in the package:
|
|
48
|
+
|
|
49
|
+
### Diann scripts
|
|
50
|
+
|
|
51
|
+
- `dianncfg` - Create a configuration file for Diann including enzymes, modifications, and other parameters.
|
|
52
|
+
- `diann2mztab` - Convert Diann output to mzTab format. In addition, convert DIA-NN output to MSstats, Triqler or mzTab.
|
|
53
|
+
The output formats are used for quality control and downstream analysis in quantms.
|
|
54
|
+
|
|
55
|
+
### SDRF scripts
|
|
56
|
+
|
|
57
|
+
- `openms2sample` - Extra sample information from OpenMS experimental design file. An example of OpenMS experimental design file is available [here](https://github.com/bigbio/quantms-utils/blob/dev/tests/test_data/BSA_design_urls.tsv).
|
|
58
|
+
- `checksamplesheet` - Check the sample sheet for errors and inconsistencies. The experimental design coult be an OpenMS experimental design file or and SDRF file.
|
|
59
|
+
|
|
60
|
+
### ms2rescore scripts
|
|
61
|
+
|
|
62
|
+
- `ms2rescore` - Rescore MS2 spectra using the MS2PIP model. The output is a mzML file with the rescored MS2 spectra.
|
|
63
|
+
|
|
64
|
+
### Features to percolator scripts
|
|
65
|
+
|
|
66
|
+
- `sage2feature` - The add_sage_feature function enhances an idXML file by appending additional features from a Sage feature table, excluding those generated by 'psm_file'.
|
|
67
|
+
|
|
68
|
+
### Other scripts
|
|
69
|
+
|
|
70
|
+
- `psmconvert` - The convert_psm function converts peptide spectrum matches (PSMs) from an idXML file to a CSV file, optionally filtering out decoy matches. It extracts and processes data from both the idXML and an associated spectra file, handling multiple search engines and scoring systems.
|
|
71
|
+
- `mzmlstats` - The `mzmlstats` processes mass spectrometry data files in either `.mzML` or `Bruker .d` formats to extract and compile statistics about the spectra. It supports generating detailed or ID-only CSV files based on the spectra data.
|
|
72
|
+
|
|
73
|
+
## Contributions and issues
|
|
74
|
+
|
|
75
|
+
Contributions and issues are welcome. Please, open an issue in the [GitHub repository](https://github.com/bigbio/quantms) or PR in the [GitHub repository](https://github.com/bigbio/quantms-utils).
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# quantms-utils
|
|
2
|
+
[](https://github.com/bigbio/quantms-utils/actions/workflows/python-app.yml)
|
|
3
|
+
[](https://github.com/bigbio/quantms-utils/actions/workflows/python-package.yml)
|
|
4
|
+
[](https://app.codacy.com/gh/bigbio/quantms-utils/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
|
|
5
|
+
[](https://badge.fury.io/py/quantms-utils)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
|
|
8
|
+
Python package with scripts and functions for the [quantms workflow](https://github.com/bigbio/quantms) for the analysis of quantitative proteomics data.
|
|
9
|
+
|
|
10
|
+
The package is available on PyPI: [quantms-utils](https://pypi.org/project/quantms-utils/)
|
|
11
|
+
```
|
|
12
|
+
pip install quantms-utils
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Available Scripts
|
|
16
|
+
|
|
17
|
+
The following functionalities are available in the package:
|
|
18
|
+
|
|
19
|
+
### Diann scripts
|
|
20
|
+
|
|
21
|
+
- `dianncfg` - Create a configuration file for Diann including enzymes, modifications, and other parameters.
|
|
22
|
+
- `diann2mztab` - Convert Diann output to mzTab format. In addition, convert DIA-NN output to MSstats, Triqler or mzTab.
|
|
23
|
+
The output formats are used for quality control and downstream analysis in quantms.
|
|
24
|
+
|
|
25
|
+
### SDRF scripts
|
|
26
|
+
|
|
27
|
+
- `openms2sample` - Extra sample information from OpenMS experimental design file. An example of OpenMS experimental design file is available [here](https://github.com/bigbio/quantms-utils/blob/dev/tests/test_data/BSA_design_urls.tsv).
|
|
28
|
+
- `checksamplesheet` - Check the sample sheet for errors and inconsistencies. The experimental design coult be an OpenMS experimental design file or and SDRF file.
|
|
29
|
+
|
|
30
|
+
### ms2rescore scripts
|
|
31
|
+
|
|
32
|
+
- `ms2rescore` - Rescore MS2 spectra using the MS2PIP model. The output is a mzML file with the rescored MS2 spectra.
|
|
33
|
+
|
|
34
|
+
### Features to percolator scripts
|
|
35
|
+
|
|
36
|
+
- `sage2feature` - The add_sage_feature function enhances an idXML file by appending additional features from a Sage feature table, excluding those generated by 'psm_file'.
|
|
37
|
+
|
|
38
|
+
### Other scripts
|
|
39
|
+
|
|
40
|
+
- `psmconvert` - The convert_psm function converts peptide spectrum matches (PSMs) from an idXML file to a CSV file, optionally filtering out decoy matches. It extracts and processes data from both the idXML and an associated spectra file, handling multiple search engines and scoring systems.
|
|
41
|
+
- `mzmlstats` - The `mzmlstats` processes mass spectrometry data files in either `.mzML` or `Bruker .d` formats to extract and compile statistics about the spectra. It supports generating detailed or ID-only CSV files based on the spectra data.
|
|
42
|
+
|
|
43
|
+
## Contributions and issues
|
|
44
|
+
|
|
45
|
+
Contributions and issues are welcome. Please, open an issue in the [GitHub repository](https://github.com/bigbio/quantms) or PR in the [GitHub repository](https://github.com/bigbio/quantms-utils).
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
[tool.poetry]
|
|
2
|
+
name = "quantms-utils"
|
|
3
|
+
version = "0.0.1"
|
|
4
|
+
description = "Python scripts and helpers for the quantMS workflow"
|
|
5
|
+
authors = ["Yasset Perez-Riverol", "Dai Chengxin"]
|
|
6
|
+
|
|
7
|
+
[build-system]
|
|
8
|
+
requires = ["setuptools"]
|
|
9
|
+
build-backend = "setuptools.build_meta"
|
|
10
|
+
|
|
11
|
+
[tool.poetry.dependencies]
|
|
12
|
+
click = ">=7.0"
|
|
13
|
+
pydantic = ">=1.10,<2"
|
|
14
|
+
python = "^3.7"
|
|
15
|
+
sdrf-pipelines = ">=0.0.26"
|
|
16
|
+
pyopenms = ">=2.6.0"
|
|
17
|
+
ms2rescore = ">=3.0.2"
|
|
18
|
+
psm-utils = "==0.8.0"
|
|
19
|
+
pandas = ">=1.0.0"
|
|
20
|
+
|
|
21
|
+
[tool.poetry.dev-dependencies]
|
|
22
|
+
pytest = "*"
|
|
23
|
+
|
|
24
|
+
[tool.pytest.ini_options]
|
|
25
|
+
minversion = "6.0"
|
|
26
|
+
addopts = "-ra -q"
|
|
27
|
+
testpaths = ["tests", ]
|
|
28
|
+
|
|
29
|
+
[tool.black]
|
|
30
|
+
line-length = 88
|
|
31
|
+
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: quantms-utils
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Python package with scripts and helpers for the QuantMS workflow
|
|
5
|
+
Home-page: https://www.github.com/bigbio/pyquantms
|
|
6
|
+
Author: Yasset Perez-Riverol, Dai Chengxin
|
|
7
|
+
Author-email: ypriverol@gmail.com
|
|
8
|
+
License: MIT License
|
|
9
|
+
Project-URL: Documentation, https://docs.quantms.org/en/latest/
|
|
10
|
+
Project-URL: quantms Workflow, https://github.com/bigbio/quantms
|
|
11
|
+
Project-URL: Tracker, https://github.com/bigbio/pyquantms/issues
|
|
12
|
+
Keywords: quantms,Proteomics
|
|
13
|
+
Classifier: Intended Audience :: Science/Research
|
|
14
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
15
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
16
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
17
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
18
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
19
|
+
Requires-Python: >=3.8,<4
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
License-File: LICENSE
|
|
22
|
+
Requires-Dist: click
|
|
23
|
+
Requires-Dist: sdrf-pipelines
|
|
24
|
+
Requires-Dist: pyopenms
|
|
25
|
+
Requires-Dist: ms2rescore==3.0.2
|
|
26
|
+
Requires-Dist: psm-utils==0.8.0
|
|
27
|
+
Requires-Dist: pydantic
|
|
28
|
+
Requires-Dist: pandas
|
|
29
|
+
Requires-Dist: numpy
|
|
30
|
+
|
|
31
|
+
# quantms-utils
|
|
32
|
+
[](https://github.com/bigbio/quantms-utils/actions/workflows/python-app.yml)
|
|
33
|
+
[](https://github.com/bigbio/quantms-utils/actions/workflows/python-package.yml)
|
|
34
|
+
[](https://app.codacy.com/gh/bigbio/quantms-utils/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
|
|
35
|
+
[](https://badge.fury.io/py/quantms-utils)
|
|
36
|
+
[](https://opensource.org/licenses/MIT)
|
|
37
|
+
|
|
38
|
+
Python package with scripts and functions for the [quantms workflow](https://github.com/bigbio/quantms) for the analysis of quantitative proteomics data.
|
|
39
|
+
|
|
40
|
+
The package is available on PyPI: [quantms-utils](https://pypi.org/project/quantms-utils/)
|
|
41
|
+
```
|
|
42
|
+
pip install quantms-utils
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Available Scripts
|
|
46
|
+
|
|
47
|
+
The following functionalities are available in the package:
|
|
48
|
+
|
|
49
|
+
### Diann scripts
|
|
50
|
+
|
|
51
|
+
- `dianncfg` - Create a configuration file for Diann including enzymes, modifications, and other parameters.
|
|
52
|
+
- `diann2mztab` - Convert Diann output to mzTab format. In addition, convert DIA-NN output to MSstats, Triqler or mzTab.
|
|
53
|
+
The output formats are used for quality control and downstream analysis in quantms.
|
|
54
|
+
|
|
55
|
+
### SDRF scripts
|
|
56
|
+
|
|
57
|
+
- `openms2sample` - Extra sample information from OpenMS experimental design file. An example of OpenMS experimental design file is available [here](https://github.com/bigbio/quantms-utils/blob/dev/tests/test_data/BSA_design_urls.tsv).
|
|
58
|
+
- `checksamplesheet` - Check the sample sheet for errors and inconsistencies. The experimental design coult be an OpenMS experimental design file or and SDRF file.
|
|
59
|
+
|
|
60
|
+
### ms2rescore scripts
|
|
61
|
+
|
|
62
|
+
- `ms2rescore` - Rescore MS2 spectra using the MS2PIP model. The output is a mzML file with the rescored MS2 spectra.
|
|
63
|
+
|
|
64
|
+
### Features to percolator scripts
|
|
65
|
+
|
|
66
|
+
- `sage2feature` - The add_sage_feature function enhances an idXML file by appending additional features from a Sage feature table, excluding those generated by 'psm_file'.
|
|
67
|
+
|
|
68
|
+
### Other scripts
|
|
69
|
+
|
|
70
|
+
- `psmconvert` - The convert_psm function converts peptide spectrum matches (PSMs) from an idXML file to a CSV file, optionally filtering out decoy matches. It extracts and processes data from both the idXML and an associated spectra file, handling multiple search engines and scoring systems.
|
|
71
|
+
- `mzmlstats` - The `mzmlstats` processes mass spectrometry data files in either `.mzML` or `Bruker .d` formats to extract and compile statistics about the spectra. It supports generating detailed or ID-only CSV files based on the spectra data.
|
|
72
|
+
|
|
73
|
+
## Contributions and issues
|
|
74
|
+
|
|
75
|
+
Contributions and issues are welcome. Please, open an issue in the [GitHub repository](https://github.com/bigbio/quantms) or PR in the [GitHub repository](https://github.com/bigbio/quantms-utils).
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
README.md
|
|
3
|
+
pyproject.toml
|
|
4
|
+
setup.cfg
|
|
5
|
+
setup.py
|
|
6
|
+
quantms_utils.egg-info/PKG-INFO
|
|
7
|
+
quantms_utils.egg-info/SOURCES.txt
|
|
8
|
+
quantms_utils.egg-info/dependency_links.txt
|
|
9
|
+
quantms_utils.egg-info/entry_points.txt
|
|
10
|
+
quantms_utils.egg-info/requires.txt
|
|
11
|
+
quantms_utils.egg-info/top_level.txt
|
|
12
|
+
quantmsutils/__init__.py
|
|
13
|
+
quantmsutils/quantmsutilsc.py
|
|
14
|
+
quantmsutils/diann/__init__.py
|
|
15
|
+
quantmsutils/diann/diann2mztab.py
|
|
16
|
+
quantmsutils/diann/dianncfg.py
|
|
17
|
+
quantmsutils/features/__init__.py
|
|
18
|
+
quantmsutils/features/sage_feature.py
|
|
19
|
+
quantmsutils/mzml/__init__.py
|
|
20
|
+
quantmsutils/mzml/mzml_statistics.py
|
|
21
|
+
quantmsutils/psm/__init__.py
|
|
22
|
+
quantmsutils/psm/psm_conversion.py
|
|
23
|
+
quantmsutils/rescoring/__init__.py
|
|
24
|
+
quantmsutils/rescoring/ms2rescore.py
|
|
25
|
+
quantmsutils/sdrf/__init__.py
|
|
26
|
+
quantmsutils/sdrf/check_samplesheet.py
|
|
27
|
+
quantmsutils/sdrf/extract_sample.py
|
|
28
|
+
tests/test_commands.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
quantmsutils
|
|
File without changes
|
|
File without changes
|