Metadata-Version: 2.1
Name: spectrum_io
Version: 0.6.2
Summary: IO related functionalities for oktoberfest.
Home-page: https://github.com/wilhelm-lab/spectrum_io
License: MIT
Author: Wilhelmlab at Technical University of Munich
Requires-Python: >=3.9.0,<3.11.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: PyYAML (>=5.4.1)
Requires-Dist: alphatims (>=1.0.8,<2.0.0)
Requires-Dist: click (>=8.0.0)
Requires-Dist: h5py (>=3.1.0,<4.0.0)
Requires-Dist: lxml (>=4.5.2,<6.0.0)
Requires-Dist: numpy (>=1.18.1,<2.0.0)
Requires-Dist: pandas (>=1.3,<3.0)
Requires-Dist: pyarrow (>=16.0.0)
Requires-Dist: pymzml (>=2.5.0,<3.0.0)
Requires-Dist: pyteomics (>=4.3.3,<5.0.0)
Requires-Dist: rich (>=10.3.0)
Requires-Dist: sortedcontainers (>=2.4.0,<3.0.0)
Requires-Dist: spectrum-fundamentals (>=0.7.1,<0.8.0)
Project-URL: Documentation, https://spectrum-io.readthedocs.io
Project-URL: Repository, https://github.com/wilhelm-lab/spectrum_io
Description-Content-Type: text/x-rst

Spectrum IO: File / Data Conversion for Mass Spec data within the Oktoberfest ecosystem
=======================================================================================

|PyPI| |Python Version| |License| |Read the Docs| |Build| |Tests| |Codecov| |pre-commit| |Black|

.. |PyPI| image:: https://img.shields.io/pypi/v/spectrum_io.svg
   :target: https://pypi.org/project/spectrum_io/
   :alt: PyPI
.. |Python Version| image:: https://img.shields.io/pypi/pyversions/spectrum_io
   :target: https://pypi.org/project/spectrum_io
   :alt: Python Version
.. |License| image:: https://img.shields.io/github/license/wilhelm-lab/spectrum_io
   :target: https://opensource.org/licenses/MIT
   :alt: License
.. |Read the Docs| image:: https://img.shields.io/readthedocs/spectrum_io/latest.svg?label=Read%20the%20Docs
   :target: https://spectrum-io.readthedocs.io/
   :alt: Read the documentation at https://spectrum-io.readthedocs.io/
.. |Build| image:: https://github.com/wilhelm-lab/spectrum_io/workflows/Build%20spectrum_io%20Package/badge.svg
   :target: https://github.com/wilhelm-lab/spectrum_io/actions?workflow=Package
   :alt: Build Package Status
.. |Tests| image:: https://github.com/wilhelm-lab/spectrum_io/workflows/Run%20spectrum_io%20Tests/badge.svg
   :target: https://github.com/wilhelm-lab/spectrum_io/actions?workflow=Tests
   :alt: Run Tests Status
.. |Codecov| image:: https://codecov.io/gh/wilhelm-lab/spectrum_io/branch/main/graph/badge.svg
   :target: https://codecov.io/gh/wilhelm-lab/spectrum_io
   :alt: Codecov
.. |pre-commit| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white
   :target: https://github.com/pre-commit/pre-commit
   :alt: pre-commit
.. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
   :target: https://github.com/psf/black
   :alt: Black

spectrum_io is a package primarily developed for usage within the rescoring and spectral library generation pipeline oktoberfest (https://github.com/wilhelm-lab/oktoberfest).

It provides the following functionalities:
 -   read search results from different search engines (MaxQuant, MSFragger, Sage, Xisearch) or a generic csv format and transform them to the internal format for rescoring with oktoberfest
 -   extraction of MS2 level spectra from .RAW files and conversion to to mzML for rescoring with oktoberfest
 -   spectra extraction from .d folders, conversion to .hdf5 format, and aggregation to MS2 level with metadata from a MaxQuant search for timsTOF rescoring with oktoberfest
 -   in-silico digestion of a fasta file with various configuration options (protease, missed cleavages, length of peptides, fragmentation, ...) for spectral library generation with oktoberfest
 -   write spectral libraries in dlib, msp, or spectronaut(csv) format
 -   parquet file creation for peptide prediction model development and refinement within DLOmix

