Skip to main content

high-throughput mzML parsing

Project description

Documentation Status https://img.shields.io/pypi/v/pymzML.svg https://pepy.tech/badge/pymzml As long it is black Research software impact

General information

Module to parse mzML data in Python based on cElementTree

Copyright 2010-2024 by:

M. Kösters,
J. Leufken,
T. Bald,
A. Niehues,
S. Schulze,
K. Sugimoto,
R.P. Zahedi,
M. Hippler,
S.A. Leidel,
C. Fufezan,

Contact information

Please refer to:

Dr. Christian Fufezan
Group Leader Experimental Bioinformatics
Cellzome GmbH
R&D Platform Technology & Science
GSK
Germany

Summary

pymzML is an extension to Python that offers
    1. easy access to mass spectrometry (MS) data that allows the rapid development of tools

    1. a very fast parser for mzML data, the standard mass spectrometry data format

    1. a set of functions to compare and/or handle spectra

    1. random access in compressed files

    1. interactive data visualization

Implementation

pymzML requires Python3.7+. The module is freely available on pymzml.github.com or pypi, published under MIT license and only requires numpy and regex, however there are several optional dependencies for extended functionality like interactive plotting and deconvolution.

Download

Get the latest version via github
The complete Documentation can be found here

Citation

M Kösters, J Leufken, S Schulze, K Sugimoto, J Klein, R P Zahedi, M Hippler, S A Leidel, C Fufezan; pymzML v2.0: introducing a highly compressed and seekable gzip format, Bioinformatics, doi: https://doi.org/10.1093/bioinformatics/bty046

Installation

pymzML requires Python 3.7 or higher.

Download pymzML using GitHub or the zip file:

  • GitHub version: Start by cloning the GitHub repository:

    user@localhost:~$ git clone https://github.com/pymzML/pymzml.git
    user@localhost:~$ cd pymzml
    user@localhost:~$ pip install -r requirements.txt
    user@localhost:~$ python setup.py install
  • pypi version:

    user@localhost:~$ pip install pymzml # install standard version
    user@localhost:~$ pip install "pymzml[plot]" # with plotting support
    user@localhost:~$ pip install "pymzml[pynumpress]" # with pynumpress support
    user@localhost:~$ pip install "pymzml[deconvolution]" # with deconvolution support using ms_deisotope
    user@localhost:~$ pip install "pymzml[full]" # full featured

If you have troubles installing the dependencies, install numpy first separately, since pynumpress requires numpy to be installed.

If you use Windows 7 please use the ‘SDK7.1 command prompt’ for installation of pymzML to assure correct compiling of the C extensions.

Testing

To test the package and correct installation:

tox

Contributing

Please read the contribution guidelines before contributing here

Code of Conduct

Since pymzML is an open source project maintained by the community, we established a code of conduct in order to facilitate an inclusive environment for all users, contributors and project memebers. Before contributing to pymzML, please read the code of conduct here

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

pymzml-2.6.0.tar.gz (25.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pymzml-2.6.0-py3-none-any.whl (17.8 MB view details)

Uploaded Python 3

File details

Details for the file pymzml-2.6.0.tar.gz.

File metadata

  • Download URL: pymzml-2.6.0.tar.gz
  • Upload date:
  • Size: 25.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pymzml-2.6.0.tar.gz
Algorithm Hash digest
SHA256 7ee10b40a12bcaf966bb374618899167bb21ff470ac82d6354a91d9b1a6e7c81
MD5 7c8287bb006f1ebcb70aeb7085bb479b
BLAKE2b-256 395d915f46533afd85577c1c8a7a3bbc4e4f55fd06d15ff3c39c6d2d114299af

See more details on using hashes here.

File details

Details for the file pymzml-2.6.0-py3-none-any.whl.

File metadata

  • Download URL: pymzml-2.6.0-py3-none-any.whl
  • Upload date:
  • Size: 17.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pymzml-2.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0c93c773bcd9865a8d2e3674b41f1c7e236f1ca3db645413f4708647601794d
MD5 b4fdc8dbf6b53b22645c79e70bdc3a27
BLAKE2b-256 78ac26ac756b4627c3e958b786413cba4f20d13408f9c0780b08213478d8e043

See more details on using hashes here.

Supported by

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