mzspeclib
mzspeclib provides a Python reference implementation for the mzSpecLib spectral library format to encode and standardize spectral-library metadata for mass spectrometry under the Human Proteome Organization Proteomics Standards Initiative (PSI).
Key Features:
- Standardized Format: Encodes spectral libraries using the mzSpecLib standardized format for interoperable mass spectrometry spectral-library representation.
- Flexible Metadata Encoding: Implements a data model that encodes metadata for library entries using the PSI-MS controlled vocabulary.
- Serialization Formats: Supports multiple serialization formats to enable conversion between different data representations.
- Compatibility with Other Standards: Maintains compatibility with ProForma 2.0 and the Universal Spectrum Identifier (USI).
- Fragment Ion Peak Annotations: Includes support for a standardized data model for fragment ion peak annotations via mzPAF to be used alongside mzSpecLib.
Scientific Applications:
- Proteomics: Encoding peptide spectra and spectral libraries for proteomics analyses.
- Small-molecule support: Provides basic support for small-molecule spectral entries.
- Nonpeptidic analytes: Can be extended to encode spectral libraries for nonpeptidic analytes and other mass spectrometry applications.
Methodology:
Provides a Python reference implementation with a data model that encodes metadata using the PSI-MS controlled vocabulary, supports multiple serialization formats, and includes a standardized mzPAF data model for fragment ion peak annotations.
Topics
Details
- License:
- APSL-2.0
- Maturity:
- Mature
- Cost:
- Free of charge
- Tool Type:
- command-line tool, library
- Programming Languages:
- Python
- Added:
- 6/12/2025
- Last Updated:
- 6/12/2025
Operations
Data Inputs & Outputs
Format validation
Publications
Klein J, Lam H, Mak TD, Bittremieux W, Perez-Riverol Y, Gabriels R, Shofstahl J, Hecht H, Binz P, Kawano S, Van Den Bossche T, Carver J, Neely BA, Mendoza L, Suomi T, Claeys T, Payne T, Schulte D, Sun Z, Hoffmann N, Zhu Y, Neumann S, Jones AR, Bandeira N, Vizcaíno JA, Deutsch EW. The Proteomics Standards Initiative Standardized Formats for Spectral Libraries and Fragment Ion Peak Annotations: mzSpecLib and mzPAF. Analytical Chemistry. 2024;96(46):18491-18501. doi:10.1021/acs.analchem.4c04091. PMID:39514576. PMCID:PMC11579979.
Documentation
Downloads
- Software packagehttps://pypi.org/project/mzspeclib/
- Source codehttps://github.com/HUPO-PSI/mzspeclib-py