Skip to main content

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.

GitHub release PyPI Bioconda GitHub Actions tests status GitHub Actions build status Codecov GitHub Twitter

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

OpenMS idXML

idxml

MaxQuant msms.txt

msms

MS Amanda CSV

msamanda

mzIdentML

mzid

Peptide Record

peprec

Percolator tab

percolator

Sage

sage

TSV

tsv

X!Tandem XML

xtandem

Legend: ✅ Supported, ❌ Unsupported

psm_utils online

Open in streamlit

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

Install with pip
pip install psm-utils
Install with Bioconda
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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

psm_utils-0.3.0.tar.gz (65.3 MB view details)

Uploaded Source

Built Distribution

psm_utils-0.3.0-py3-none-any.whl (52.3 kB view details)

Uploaded Python 3

File details

Details for the file psm_utils-0.3.0.tar.gz.

File metadata

  • Download URL: psm_utils-0.3.0.tar.gz
  • Upload date:
  • Size: 65.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for psm_utils-0.3.0.tar.gz
Algorithm Hash digest
SHA256 78bcf95346052651e242baf8177b3e5cb8d08c4c5ec27331581027e5a215c22e
MD5 e9b32d843a5bb34c62fd088f3531326e
BLAKE2b-256 49324da7eb12ff84dff8f7c67b17b956f69d17ff34aa7cc6abeb29927226652c

See more details on using hashes here.

File details

Details for the file psm_utils-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: psm_utils-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 52.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for psm_utils-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8b1a48253e5dbfde795fb1d4c1cfb79b13c80caa032d1251dd1bb3a7a71bf7cb
MD5 5202a3b1cc26275e27992ce49927bdfb
BLAKE2b-256 f5fd32e55417ce61a980244ef514bce6bd2604dbfc20d91a7c546e871a1d237e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page