wheely-radiant 1.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.
Files changed (28) hide show
  1. wheely_radiant-1.0.1/.github/workflows/black.yml +11 -0
  2. wheely_radiant-1.0.1/.github/workflows/publish.yml +56 -0
  3. wheely_radiant-1.0.1/.github/workflows/tests.yml +41 -0
  4. wheely_radiant-1.0.1/.gitignore +155 -0
  5. wheely_radiant-1.0.1/.pre-commit-config.yaml +6 -0
  6. wheely_radiant-1.0.1/CONTRIBUTING.md +58 -0
  7. wheely_radiant-1.0.1/LICENSE.md +209 -0
  8. wheely_radiant-1.0.1/PKG-INFO +81 -0
  9. wheely_radiant-1.0.1/README.md +50 -0
  10. wheely_radiant-1.0.1/data/1.mzML.subset.v1.prqFF.radiantDIA +0 -0
  11. wheely_radiant-1.0.1/data/EXP22092_2022ms0742X32_A.raw.mzML_trunc.prqFF.radiantDIA +0 -0
  12. wheely_radiant-1.0.1/pyproject.toml +29 -0
  13. wheely_radiant-1.0.1/setup.cfg +49 -0
  14. wheely_radiant-1.0.1/setup.py +7 -0
  15. wheely_radiant-1.0.1/tests/__init__.py +0 -0
  16. wheely_radiant-1.0.1/tests/conftest.py +43 -0
  17. wheely_radiant-1.0.1/tests/test_dataset.py +229 -0
  18. wheely_radiant-1.0.1/tests/test_parsers.py +173 -0
  19. wheely_radiant-1.0.1/wheely_radiant/__init__.py +28 -0
  20. wheely_radiant-1.0.1/wheely_radiant/dataset.py +149 -0
  21. wheely_radiant-1.0.1/wheely_radiant/parsers.py +339 -0
  22. wheely_radiant-1.0.1/wheely_radiant/scoring.py +768 -0
  23. wheely_radiant-1.0.1/wheely_radiant.egg-info/PKG-INFO +81 -0
  24. wheely_radiant-1.0.1/wheely_radiant.egg-info/SOURCES.txt +27 -0
  25. wheely_radiant-1.0.1/wheely_radiant.egg-info/dependency_links.txt +1 -0
  26. wheely_radiant-1.0.1/wheely_radiant.egg-info/entry_points.txt +5 -0
  27. wheely_radiant-1.0.1/wheely_radiant.egg-info/requires.txt +19 -0
  28. wheely_radiant-1.0.1/wheely_radiant.egg-info/top_level.txt +2 -0
@@ -0,0 +1,11 @@
1
+ name: Lint
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ lint:
7
+ runs-on: ubuntu-latest
8
+ steps:
9
+ - uses: actions/checkout@v2
10
+ - uses: actions/setup-python@v2
11
+ - uses: psf/black@stable
@@ -0,0 +1,56 @@
1
+ # This workflows will upload a Python Package using Twine when a release is created
2
+ # For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
3
+
4
+ name: Deploy Packages
5
+
6
+ on:
7
+ release:
8
+ types: [created]
9
+
10
+ jobs:
11
+ codeartifact-deploy:
12
+ name: Upload release to CodeArtifact
13
+ if: ${{ github.event_name == 'release' }}
14
+ runs-on: [self-hosted, aws-master, X64]
15
+
16
+ steps:
17
+ - uses: actions/checkout@v2
18
+ - name: Set up Python
19
+ uses: actions/setup-python@v2
20
+ with:
21
+ python-version: '3.x'
22
+ - name: Install dependencies
23
+ run: |
24
+ pip config unset global.index-url || true
25
+ python -m pip install --upgrade pip
26
+ pip install setuptools wheel twine build 'awscli>=1.18.83'
27
+ aws codeartifact login --tool twine --repository seer_ds --domain seer --domain-owner 718843040700 --region us-west-2
28
+ - name: Build and publish
29
+ run: |
30
+ python -m build --sdist --wheel .
31
+ twine upload --repository codeartifact dist/*
32
+
33
+ pypi-deploy:
34
+ name: Upload release to PyPI
35
+ if: ${{ github.event_name == 'release' }}
36
+ runs-on: ubuntu-latest
37
+ permissions:
38
+ contents: read
39
+ id-token: write
40
+ environment:
41
+ name: pypi
42
+ url: https://pypi.org/p/wheely-mammoth
43
+ steps:
44
+ - uses: actions/checkout@v2
45
+ - name: Set up Python
46
+ uses: actions/setup-python@v2
47
+ with:
48
+ python-version: '3.x'
49
+ - name: Install dependencies
50
+ run: |
51
+ python -m pip install --upgrade pip
52
+ pip install setuptools wheel twine build
53
+ - name: Build package
54
+ run: python -m build --sdist --wheel .
55
+ - name: Publish to PyPI
56
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,41 @@
1
+ # This workflow will install Python dependencies, run tests and lint with a single version of Python
2
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3
+
4
+ name: tests
5
+
6
+ on:
7
+ push:
8
+ branches: [ main ]
9
+ pull_request:
10
+ branches: [ main ]
11
+ schedule:
12
+ - cron: "0 0 1 1/1 *" # Run monthly
13
+
14
+ jobs:
15
+ build:
16
+ runs-on: [self-hosted, aws-master, X64]
17
+ # strategy:
18
+ # matrix:
19
+ # os: [ubuntu-latest, windows-latest, macos-latest]
20
+
21
+ steps:
22
+ - uses: actions/checkout@v2
23
+ - name: Set up Python 3.8
24
+ uses: actions/setup-python@v2
25
+ with:
26
+ python-version: "3.8"
27
+ - name: Install dependencies
28
+ run: |
29
+ python -m pip install --upgrade pip
30
+ pip install flake8 wheel
31
+ aws codeartifact login --tool pip --repository seer_ds --domain seer --domain-owner 718843040700 --region us-west-2
32
+ pip install '.[dev]'
33
+ - name: Lint with flake8
34
+ run: |
35
+ # stop the build if there are Python syntax errors or undefined names
36
+ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
37
+ # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
38
+ flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --extend-exclude=build/
39
+ - name: Test with pytest
40
+ run: |
41
+ python -m pytest
@@ -0,0 +1,155 @@
1
+ .idea
2
+ _build
3
+
4
+
5
+ # Created by https://www.toptal.com/developers/gitignore/api/python
6
+ # Edit at https://www.toptal.com/developers/gitignore?templates=python
7
+
8
+ ### Python ###
9
+ # Byte-compiled / optimized / DLL files
10
+ __pycache__/
11
+ *.py[cod]
12
+ *$py.class
13
+
14
+ # C extensions
15
+ *.so
16
+
17
+ # Distribution / packaging
18
+ .Python
19
+ build/
20
+ develop-eggs/
21
+ dist/
22
+ downloads/
23
+ eggs/
24
+ .eggs/
25
+ parts/
26
+ sdist/
27
+ var/
28
+ wheels/
29
+ pip-wheel-metadata/
30
+ share/python-wheels/
31
+ *.egg-info/
32
+ .installed.cfg
33
+ *.egg
34
+ MANIFEST
35
+
36
+ # PyInstaller
37
+ # Usually these files are written by a python script from a template
38
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
39
+ *.manifest
40
+ *.spec
41
+
42
+ # Installer logs
43
+ pip-log.txt
44
+ pip-delete-this-directory.txt
45
+
46
+ # Unit test / coverage reports
47
+ htmlcov/
48
+ .tox/
49
+ .nox/
50
+ .coverage
51
+ .coverage.*
52
+ .cache
53
+ nosetests.xml
54
+ coverage.xml
55
+ *.cover
56
+ *.py,cover
57
+ .hypothesis/
58
+ .pytest_cache/
59
+ pytestdebug.log
60
+
61
+ # Translations
62
+ *.mo
63
+ *.pot
64
+
65
+ # Django stuff:
66
+ *.log
67
+ local_settings.py
68
+ db.sqlite3
69
+ db.sqlite3-journal
70
+
71
+ # Flask stuff:
72
+ instance/
73
+ .webassets-cache
74
+
75
+ # Scrapy stuff:
76
+ .scrapy
77
+
78
+ # Sphinx documentation
79
+ docs/_build/
80
+ doc/_build/
81
+
82
+ # PyBuilder
83
+ target/
84
+
85
+ # Jupyter Notebook
86
+ .ipynb_checkpoints
87
+
88
+ # IPython
89
+ profile_default/
90
+ ipython_config.py
91
+
92
+ # pyenv
93
+ .python-version
94
+
95
+ # pipenv
96
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
97
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
98
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
99
+ # install all needed dependencies.
100
+ #Pipfile.lock
101
+
102
+ # poetry
103
+ #poetry.lock
104
+
105
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
106
+ __pypackages__/
107
+
108
+ # Celery stuff
109
+ celerybeat-schedule
110
+ celerybeat.pid
111
+
112
+ # SageMath parsed files
113
+ *.sage.py
114
+
115
+ # Environments
116
+ # .env
117
+ .env/
118
+ .venv/
119
+ env/
120
+ venv/
121
+ ENV/
122
+ env.bak/
123
+ venv.bak/
124
+ pythonenv*
125
+
126
+ # Spyder project settings
127
+ .spyderproject
128
+ .spyproject
129
+
130
+ # Rope project settings
131
+ .ropeproject
132
+
133
+ # mkdocs documentation
134
+ /site
135
+
136
+ # mypy
137
+ .mypy_cache/
138
+ .dmypy.json
139
+ dmypy.json
140
+
141
+ # Pyre type checker
142
+ .pyre/
143
+
144
+ # pytype static type analyzer
145
+ .pytype/
146
+
147
+ # operating system-related files
148
+ *.DS_Store #file properties cache/storage on macOS
149
+ Thumbs.db #thumbnail cache on Windows
150
+
151
+ # profiling data
152
+ .prof
153
+
154
+
155
+ # End of https://www.toptal.com/developers/gitignore/api/python
@@ -0,0 +1,6 @@
1
+ repos:
2
+ - repo: https://github.com/psf/black
3
+ rev: stable # Replace by any tag/version: https://github.com/psf/black/tags
4
+ hooks:
5
+ - id: black
6
+ language_version: python3 # Should be a command that runs python3.6+
@@ -0,0 +1,58 @@
1
+ ## Contributing to this project
2
+
3
+ ### Setting up for development
4
+
5
+ 1. Clone the repository
6
+
7
+ ```shell
8
+ git clone git@github.com:seerbio/repo-name.git
9
+ cd repo-name
10
+ ```
11
+
12
+ Alternatively, create a fork through GitHub and clone that repository.
13
+
14
+ 2. Set up `pre-commit` hook (for code formatting):
15
+
16
+ ```shell
17
+ pip install pre-commit
18
+ pre-commit install
19
+ ```
20
+
21
+ This will ensure all Python sources are consistently formatted whenever
22
+ you commit to the repository.
23
+
24
+ ### Developing changes
25
+
26
+ 1. Create a branch
27
+
28
+ ```shell
29
+ git checkout main
30
+ git pull --ff-only --tags origin main
31
+ git checkout -b my-feature-branch main
32
+ ```
33
+
34
+ 2. Develop your changes. Commit often, with meaningful messages for each commit.
35
+ Be sure to develop unit tests and ensure that all existing tests pass:
36
+
37
+ ```shell
38
+ pytest
39
+ ```
40
+
41
+ 3. Push changes back to the repository (or your fork).
42
+ 4. Create a pull request through GitHub. Assign yourself to it and add appropriate
43
+ reviewers.
44
+
45
+ ### Releasing a version of this project's package
46
+
47
+ After changes are developed, reviewed, and merged, it's possible to create a
48
+ release automatically using GitHub.
49
+
50
+ 1. Determine the appropriate [semantic version](https://semver.org/) for the
51
+ new release. Check the GitHub repo's "Releases" section to see what the most
52
+ recent release number is and consider the changes made.
53
+ 2. Create a Release through the GitHub UI. Choose to create a new tag targeting
54
+ the `main` branch and name it for the new version number, i.e. `v3.4.5`.
55
+ Use the same string as the release title. Click "generate release notes" to
56
+ automatically create a list of PRs since the last release.
57
+ 3. After creating the release, the package will be automatically built and
58
+ deployed with the new version number.
@@ -0,0 +1,209 @@
1
+ **LICENSE**
2
+
3
+ Use of the Fulcrum Pipeline™ framework software, including any portion
4
+ thereof, is licensed under a Mandatory Grant-Back Apache 2.0 license, as
5
+ modified by the Commons Clause (collectively, the "**License**").
6
+
7
+ You may not use the Fulcrum Pipeline™ software, including any portion
8
+ thereof, except in compliance with the License. See the entire License
9
+ for specific language governing permissions and limitations under the
10
+ License.
11
+
12
+ ------------------------------------------------------------------------
13
+
14
+ **Mandatory Grant-Back** **Apache 2.0 License, as modified by the Commons Clause May 2026**
15
+
16
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
17
+
18
+ **1. Definitions**.
19
+
20
+ "**License**" shall mean the terms and conditions for use,
21
+ reproduction, and distribution as defined by Sections 1 through 10 of
22
+ this document.
23
+
24
+ "**Licensor**" shall mean the copyright owner or entity authorized by
25
+ the copyright owner that is granting the License.
26
+
27
+ "**Original Licensor**" shall mean Seer, Inc., or any assignee of or
28
+ successor in interest to Seer, Inc.
29
+
30
+ "**Legal Entity**" shall mean the union of the acting entity and all
31
+ other entities that control, are controlled by, or are under common
32
+ control with that entity. For the purposes of this definition,
33
+ "**control**" means (i) the power, direct or indirect, to cause the
34
+ direction or management of such entity, whether by contract or
35
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
36
+ outstanding shares, or (iii) beneficial ownership of such entity.
37
+
38
+ "**You**" (or "**Your**") shall mean an individual or Legal Entity
39
+ exercising permissions granted by this License.
40
+
41
+ "**Source**" form shall mean the preferred form for making
42
+ modifications, including but not limited to software source code,
43
+ documentation source, and configuration files.
44
+
45
+ "**Object**" form shall mean any form resulting from mechanical
46
+ transformation or translation of a Source form, including but not
47
+ limited to compiled object code, generated documentation, and
48
+ conversions to other media types.
49
+
50
+ "**Work**" shall mean the work of authorship, whether in Source or
51
+ Object form, made available under the License, as indicated by a
52
+ copyright notice that is included in or attached to the work.
53
+
54
+ "**Derivative Works**" shall mean any work, whether in Source or
55
+ Object form, that is based on (or derived from) the Work and for which
56
+ the editorial revisions, annotations, elaborations, or other
57
+ modifications represent, as a whole, an original work of authorship. For
58
+ the purposes of this License, Derivative Works shall not include works,
59
+ including known or novel plugins, that remain separable from, or merely
60
+ link (or bind by name) to the interfaces of, the Work and Derivative
61
+ Works thereof.
62
+
63
+ "**Contribution**" shall mean any work of authorship, including the
64
+ original version of the Work and any modifications or additions to that
65
+ Work or Derivative Works thereof, that is intentionally submitted to
66
+ Licensor for inclusion in the Work by the copyright owner or by an
67
+ individual or Legal Entity authorized to submit on behalf of the
68
+ copyright owner. For the purposes of this definition, "**submitted**"
69
+ means any form of electronic, verbal, or written communication sent to
70
+ the Licensor or its representatives, including but not limited to
71
+ communication on electronic mailing lists, source code control systems,
72
+ and issue tracking systems that are managed by, or on behalf of, the
73
+ Licensor for the purpose of discussing and improving the Work.
74
+
75
+ "**Contributor**" shall mean Licensor and any individual or Legal
76
+ Entity on behalf of whom a Contribution has been received by Licensor
77
+ and subsequently incorporated within the Work.
78
+
79
+ "**Sell**" shall mean practicing any or all of the rights granted to
80
+ You under the License to provide to third parties, for a fee or other
81
+ consideration (including without limitation fees for hosting or
82
+ consulting/ support services related to the Work or modified Work,
83
+ including Derivative Work(s) thereof), a product or service whose value
84
+ derives, entirely or substantially, from the functionality of the Work,
85
+ modified Work, or Derivative Work(s).
86
+
87
+ **2. Grant of Copyright License**. Subject to the terms and conditions
88
+ of this License, each Contributor hereby grants to You a perpetual,
89
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright
90
+ license to reproduce, prepare Derivative Works of, publicly display,
91
+ publicly perform, sublicense, and distribute the Work and such
92
+ Derivative Works in Source or Object form.
93
+
94
+ **3. Grant of Patent License**. Subject to the terms and conditions of
95
+ this License, each Contributor hereby grants to You a perpetual,
96
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except
97
+ as stated in this section) patent license to make, have made, use, offer
98
+ to sell, sell, import, and otherwise transfer the Work, where such
99
+ license applies only to those patent claims licensable by such
100
+ Contributor that are necessarily infringed by their Contribution(s)
101
+ alone or by combination of their Contribution(s) with the Work to which
102
+ such Contribution(s) was submitted. If You institute patent litigation
103
+ against any entity (including a cross-claim or counterclaim in a
104
+ lawsuit) alleging that the Work or a Contribution incorporated within
105
+ the Work constitutes direct or contributory patent infringement, then
106
+ any patent licenses granted to You under this License for that Work
107
+ shall terminate as of the date such litigation is filed.
108
+
109
+ **4. Redistribution**. You may reproduce and distribute copies of the
110
+ Work or Derivative Works thereof in any medium, with or without
111
+ modifications, and in Source or Object form, provided that You meet the
112
+ following conditions:
113
+
114
+ a) You must give any other recipients of the Work or Derivative Works a
115
+ copy of this License; and
116
+
117
+ b) You must cause any modified files to carry prominent notices stating
118
+ that You changed the files; and
119
+
120
+ c) You must retain, in the Source form of any Derivative Works that You
121
+ distribute, all copyright, patent, trademark, and attribution
122
+ notices from the Source form of the Work, excluding those notices
123
+ that do not pertain to any part of the Derivative Works; and
124
+
125
+ d) If the Work includes a "**NOTICE**" text file as part of its
126
+ distribution, then any Derivative Works that You distribute must
127
+ include a readable copy of the attribution notices contained within
128
+ such NOTICE file, excluding those notices that do not pertain to any
129
+ part of the Derivative Works, in at least one of the following
130
+ places: within a NOTICE text file distributed as part of the
131
+ Derivative Works; within the Source form or documentation, if
132
+ provided along with the Derivative Works; or, within a display
133
+ generated by the Derivative Works, if and wherever such third-party
134
+ notices normally appear. The contents of the NOTICE file are for
135
+ informational purposes only and do not modify the License. You may
136
+ add Your own attribution notices within Derivative Works that You
137
+ distribute, alongside or as an addendum to the NOTICE text from the
138
+ Work, provided that such additional attribution notices cannot be
139
+ construed as modifying the License.
140
+
141
+ e) To the extent that You generate any Derivative Works or otherwise
142
+ modify the Work, You must submit such modified Work or Derivative
143
+ Work(s) to the Original Licensor and such submitted modified Work or
144
+ Derivative Work(s) shall constitute a Contribution as defined
145
+ herein.
146
+
147
+ You may add Your own copyright statement to Your modifications and may
148
+ provide additional or different license terms and conditions for use,
149
+ reproduction, or distribution of Your modifications, provided Your use,
150
+ reproduction, and distribution of the modified Work (or Derivative Work)
151
+ otherwise complies with the conditions stated in this License.
152
+
153
+ **5. Submission of Contributions**. Unless You explicitly state
154
+ otherwise, any Contribution intentionally submitted for inclusion in the
155
+ Work by You to the Licensor shall be under the terms and conditions of
156
+ this License, without any additional terms or conditions; provided that
157
+ (a) any Contribution to Original Licensor shall carry with it a
158
+ perpetual, worldwide, non-exclusive, no-charge, royalty-free,
159
+ irrevocable copyright license to reproduce, prepare Derivative Works of,
160
+ publicly display, publicly perform, sublicense, and distribute such
161
+ Contribution in Source or Object form, and (b) Original Licensor's use
162
+ of such Contribution shall not be subject to Section 10 of this License.
163
+
164
+ **6. Trademarks**. This License does not grant permission to use the
165
+ trade names, trademarks, service marks, or product names of the
166
+ Licensor, except as required for reasonable and customary use in
167
+ describing the origin of the Work and reproducing the content of the
168
+ NOTICE file.
169
+
170
+ **7. Disclaimer of Warranty**. Unless required by applicable law or
171
+ agreed to in writing, Licensor provides the Work (and each Contributor
172
+ provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR
173
+ CONDITIONS OF ANY KIND, either express or implied, including, without
174
+ limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT,
175
+ MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely
176
+ responsible for determining the appropriateness of using or
177
+ redistributing the Work and assume any risks associated with Your
178
+ exercise of permissions under this License.
179
+
180
+ **8. Limitation of Liability**. In no event and under no legal theory,
181
+ whether in tort (including negligence), contract, or otherwise, unless
182
+ required by applicable law (such as deliberate and grossly negligent
183
+ acts) or agreed to in writing, shall any Contributor be liable to You
184
+ for damages, including any direct, indirect, special, incidental, or
185
+ consequential damages of any character arising as a result of this
186
+ License or out of the use or inability to use the Work (including but
187
+ not limited to damages for loss of goodwill, work stoppage, computer
188
+ failure or malfunction, or any and all other commercial damages or
189
+ losses), even if such Contributor has been advised of the possibility of
190
+ such damages.
191
+
192
+ **9. Accepting Warranty or Additional Liability**. While redistributing
193
+ the Work or Derivative Works thereof, You may choose to offer, and
194
+ charge a fee for, acceptance of support, warranty, indemnity, or other
195
+ liability obligations and/or rights consistent with this License.
196
+ However, in accepting such obligations, You may act only on Your own
197
+ behalf and on Your sole responsibility, not on behalf of any other
198
+ Contributor, and only if You agree to indemnify, defend, and hold each
199
+ Contributor harmless for any liability incurred by, or claims asserted
200
+ against, such Contributor by reason of your accepting any such warranty
201
+ or additional liability.
202
+
203
+ **10. "Commons Clause" License Condition.** The Work is provided to You
204
+ by the Licensor under the License, subject to the following condition.
205
+ Without limiting other conditions in the License, the grant of rights
206
+ under the License will not include, and the License does not grant to
207
+ You, the right to Sell the Work or Derivative Works thereof. Any license
208
+ notice or attribution required by the License must also include this
209
+ Commons Clause License Condition.
@@ -0,0 +1,81 @@
1
+ Metadata-Version: 2.4
2
+ Name: wheely-radiant
3
+ Version: 1.0.1
4
+ Summary: Reader for Radiant DIA results, compatible with wheely-mammoth
5
+ Home-page: https://github.com/seerbio/wheely-radiant
6
+ Author: Seth Just
7
+ Author-email: sjust@seer.bio
8
+ Project-URL: Bug Tracker, https://github.com/seerbio/wheely-radiant/issues
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
12
+ Requires-Python: >=3.6
13
+ Description-Content-Type: text/markdown
14
+ License-File: LICENSE.md
15
+ Requires-Dist: pyspark[sql]<4.0.0,>=3.3.1
16
+ Requires-Dist: wheely-mammoth<1.0.0,>=0.16.2
17
+ Requires-Dist: importlib_metadata; python_version < "3.8"
18
+ Provides-Extra: docs
19
+ Requires-Dist: numpydoc>=1.0.0; extra == "docs"
20
+ Requires-Dist: sphinx-argparse>=0.2.5; extra == "docs"
21
+ Requires-Dist: sphinx-rtd-theme>=0.5.0; extra == "docs"
22
+ Requires-Dist: nbsphinx>=0.7.1; extra == "docs"
23
+ Requires-Dist: ipykernel>=5.3.0; extra == "docs"
24
+ Requires-Dist: recommonmark>=0.5.0; extra == "docs"
25
+ Provides-Extra: dev
26
+ Requires-Dist: pre-commit>=2.7.1; extra == "dev"
27
+ Requires-Dist: black>=20.8b1; extra == "dev"
28
+ Requires-Dist: pytest; extra == "dev"
29
+ Requires-Dist: pandas; extra == "dev"
30
+ Dynamic: license-file
31
+
32
+ **wheely-radiant**: Reader for Radiant DIA results, compatible with
33
+ [`wheely-mammoth`](https://github.com/seerbio/wheely-mammoth).
34
+
35
+ ## Installation
36
+
37
+ This library requires Python 3.8+ and can be installed with pip:
38
+
39
+ ```shell
40
+ pip install wheely-radiant
41
+ ```
42
+
43
+ ## Basic Usage
44
+
45
+ This package provides a plugin for the [Fulcrum Pipeline](https://github.com/seerbio/fulcrum/)'s
46
+ `read_existing` search backend.
47
+
48
+ After installing `wheely-radiant` you may use the `radiant` engine to load
49
+ existing Radiant DIA results:
50
+
51
+ ```toml
52
+ [search]
53
+ backend = "read_existing"
54
+ engine = "radiant"
55
+ location = ["uri_one", "uri_two", ...]
56
+ ```
57
+
58
+ (or similar in JSON or `dict` format)
59
+
60
+ ## Direct Usage
61
+
62
+ To load raw PSM scores from a Radiant Parquet (`.radiantDIA`) file, use the function
63
+ `read_radiant_features()`.
64
+
65
+ ```pycon
66
+ >>> from wheely_radiant import read_radiant_features
67
+ >>> ds = read_radiant_features("data/1.mzML.subset.radiantDIA")
68
+ >>> type(ds)
69
+ <class 'wheely.mammoth.dataset.PsmDataset'>
70
+ >>> ds.scores.select(ds.score_columns[1]).describe().toPandas()
71
+ summary cosineSim
72
+ 0 count 1000
73
+ 1 mean 0.3947062000000001
74
+ 2 stddev 0.15665395271892263
75
+ 3 min 0.0315
76
+ 4 max 0.9926
77
+ ```
78
+
79
+ To read multiple files, pass a tuple, list, array, or series of file paths.
80
+ Currently only full paths are supported; you can not pass wildcard ("glob")
81
+ paths to the function.
@@ -0,0 +1,50 @@
1
+ **wheely-radiant**: Reader for Radiant DIA results, compatible with
2
+ [`wheely-mammoth`](https://github.com/seerbio/wheely-mammoth).
3
+
4
+ ## Installation
5
+
6
+ This library requires Python 3.8+ and can be installed with pip:
7
+
8
+ ```shell
9
+ pip install wheely-radiant
10
+ ```
11
+
12
+ ## Basic Usage
13
+
14
+ This package provides a plugin for the [Fulcrum Pipeline](https://github.com/seerbio/fulcrum/)'s
15
+ `read_existing` search backend.
16
+
17
+ After installing `wheely-radiant` you may use the `radiant` engine to load
18
+ existing Radiant DIA results:
19
+
20
+ ```toml
21
+ [search]
22
+ backend = "read_existing"
23
+ engine = "radiant"
24
+ location = ["uri_one", "uri_two", ...]
25
+ ```
26
+
27
+ (or similar in JSON or `dict` format)
28
+
29
+ ## Direct Usage
30
+
31
+ To load raw PSM scores from a Radiant Parquet (`.radiantDIA`) file, use the function
32
+ `read_radiant_features()`.
33
+
34
+ ```pycon
35
+ >>> from wheely_radiant import read_radiant_features
36
+ >>> ds = read_radiant_features("data/1.mzML.subset.radiantDIA")
37
+ >>> type(ds)
38
+ <class 'wheely.mammoth.dataset.PsmDataset'>
39
+ >>> ds.scores.select(ds.score_columns[1]).describe().toPandas()
40
+ summary cosineSim
41
+ 0 count 1000
42
+ 1 mean 0.3947062000000001
43
+ 2 stddev 0.15665395271892263
44
+ 3 min 0.0315
45
+ 4 max 0.9926
46
+ ```
47
+
48
+ To read multiple files, pass a tuple, list, array, or series of file paths.
49
+ Currently only full paths are supported; you can not pass wildcard ("glob")
50
+ paths to the function.