Common utilities for parsing and handling peptide-spectrum matches and search engine results.
Project description
Common utilities for parsing and handling peptide-spectrum matches and search engine results in Python.
About
Introduction
psm_utils is a Python package with utilities for parsing and handling peptide-spectrum matches (PSMs) and proteomics search engine results. It is mainly developed to be used in Python packages developed at CompOmics, such as MS²PIP, DeepLC, and MS²Rescore, but can be useful to anyone dealing with PSMs and PSM files. Moreover, it provides an easy-to-use CLI and web server to convert search engine results from one PSM file format into another.
Goals and non-goals
To provide an easy-to-use Python API for handling PSMs.
To provide a unified Python API to the plethora of proteomics search engine output formats that are in existence.
To follow community standards: psm_utils pragmatically adheres to the standards developed by the HUPO Proteomics Standards Initiative, such as ProForma 2.0 , the Universal Spectrum Identifier, and mzIdentML
To be open and dynamic: psm_utils is fully open source, under the permissive Apache 2.0 license. New reader and writer modules can easily be added, and we welcome everyone to contribute to the project. See Contributing for more information.
NOT to reinvent the wheel: Instead, psm_utils heavily makes use of packages such as pyteomics and psims that have existing functionality for reading and/or writing PSM files. psm_utils.io provides a unified, higher level Python API build on top of these packages.
Supported file formats
File format |
psm_utils tag |
Read support |
Write support |
Comments |
---|---|---|---|---|
alphadia |
✅ |
❌ |
||
diann |
✅ |
❌ |
||
flashlfq |
✅ |
✅ |
||
fragpipe |
✅ |
❌ |
||
ionbot |
✅ |
❌ |
||
idxml |
✅ |
✅ |
Requires the optional openms dependency (pip install psm-utils[idxml]) |
|
msms |
✅ |
❌ |
||
msamanda |
✅ |
❌ |
||
mzid |
✅ |
✅ |
||
parquet |
✅ |
✅ |
||
peprec |
✅ |
✅ |
||
pepxml |
✅ |
❌ |
||
percolator |
✅ |
✅ |
||
proteome_discoverer |
✅ |
❌ |
||
sage_parquet |
✅ |
❌ |
||
sage_tsv |
✅ |
❌ |
||
proteoscape |
✅ |
❌ |
||
tsv |
✅ |
✅ |
||
xtandem |
✅ |
❌ |
Legend: ✅ Supported, ❌ Unsupported
psm_utils online
psm_utils online is a Streamlit-based web server built on top of the psm_utils Python package. It allows you to easily retrieve proteomics PSM statistics for any supported PSM file type, and to convert search engine results from one PSM file format into another. Click the badge above to get started!
Installation
pip install psm-utils
conda install -c bioconda psm-utils
Full documentation
The full documentation, including a quickstart guide and Python API reference is available on psm_utils.readthedocs.io.
Citation
If you use psm_utils for your research, please cite the following publication:
psm_utils: A high-level Python API for parsing and handling peptide-spectrum-matches and proteomics search results.Ralf Gabriels, Arthur Declercq, Robbin Bouwmeester, Sven Degroeve, Lennart Martens.Journal of Proteome Research (2022). doi:10.1021/acs.jproteome.2c00609
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file psm_utils-1.2.0.tar.gz
.
File metadata
- Download URL: psm_utils-1.2.0.tar.gz
- Upload date:
- Size: 73.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38ead8b9ef6f46552d1016a0947527b68af33b73e9f39177f091136551c23c4a |
|
MD5 | 5ee21817bfd9930e5c91b75a6241acb9 |
|
BLAKE2b-256 | 6461c4b736d1e3d7ff650b4efb7b6aa0e353c45751c1cf3cded0391a3d0dacec |
Provenance
The following attestation bundles were made for psm_utils-1.2.0.tar.gz
:
Publisher:
publish.yml
on compomics/psm_utils
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
psm_utils-1.2.0.tar.gz
- Subject digest:
38ead8b9ef6f46552d1016a0947527b68af33b73e9f39177f091136551c23c4a
- Sigstore transparency entry: 150085868
- Sigstore integration time:
- Predicate type:
File details
Details for the file psm_utils-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: psm_utils-1.2.0-py3-none-any.whl
- Upload date:
- Size: 84.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b5fa47a77dadf2faac6eaa2cd21fd512a6bc233ac0575c13bbac10a33d88c09 |
|
MD5 | 8804579a5bf2034fd38649a6484f7a41 |
|
BLAKE2b-256 | 6dbf0b93b9cf6a8126627f16de550ae79e6de03892f39df75e2ccf1f2e6a73bd |
Provenance
The following attestation bundles were made for psm_utils-1.2.0-py3-none-any.whl
:
Publisher:
publish.yml
on compomics/psm_utils
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
psm_utils-1.2.0-py3-none-any.whl
- Subject digest:
0b5fa47a77dadf2faac6eaa2cd21fd512a6bc233ac0575c13bbac10a33d88c09
- Sigstore transparency entry: 150085870
- Sigstore integration time:
- Predicate type: