Skip to main content

pyMacroMS - High performance quantification of complex high resolution polymer mass spectra

Project description

pyMacroMS

High performance quantification of complex high resolution polymer mass spectra

The purpose of this program is to identify and quantify macromolecular species in high resolution mass spectra based on the used monomer(s), possible end-groups and the adduct ion. Experimental spectra are imported as a centroided peaklist from a comma-separated values (csv) file or directly from a Thermo RAW file (from v1.0.0). Please find code for example usage on our webpage.

From version 1.0.0, pyMacroMS requires a 64-bit version of Python.

Dependencies

pyMacroMS requires the following modules to be installed:

  • IsoSpecPy for the generation of isotopic patterns
  • numpy and pandas for data processing
  • sklearn for quantification via linear regression
  • matplotlib for quick representation of results
  • progressbar2 for feedback during the more time consuming steps
  • reportlab and svglib for the generation of a PDF report
  • pythonnet for the interface with Thermo's RawFileReader
Citation

Please refer to our publication for more details about the algorithm and cite us when using pyMacroMS in your work:

K. De Bruycker, T. Krappitz, C. Barner-Kowollik, ACS Macro Lett. 2018, 1443-1447.

License
  • pyMacroMS is available free of charge under an MIT License. See the LICENCE file for more details.
  • pyMacroMS uses the RawFileReader reading tool. Copyright © 2016 by Thermo Fisher Scientific, Inc. All rights reserved. If you use pyMacroMS, you agree to the license agreement of RawFileReader, of which a copy is provided when installing pyMacroMS.
Changelog
1.0.1
  • Minor bugfixes
1.0.0
  • Thermo RAW files can now be used as input without any pre-processing
    • By default, all scans are imported separately
    • Scans can be averaged by providing a range of scans or retention times
  • New MSData class introduced
    • Handles reading of csv files (previously Spectrum class) and Thermo RAW files
    • Stores all imported spectra and corresponding processed results to allow for batch processing of multiple scans
    • Post-processing of results still in Spectrum class, so on a per-scan base... Future problem
  • Version 1.0.0 and onwards are licensed under an MIT License (rather than a GNU GPL v3.0 for older versions) to comply with the license requirements of Thermo's RawFileReader
0.2.0
  • Isobaric species are now pre-filtered, which leads to a significantly improved calculation time
  • Introduced the option to define a custom database of monomers/endgroups (with a higher priority than the built-in database)
  • Introduced the option to save the output as a PDF report
0.1.2
  • Update code to use the new IsoSpecPy 1.9.X API
0.1.1
  • Minor fixes to the interfacing with IsoSpecPy
  • Fixed compatibility with IsoSpecPy 1.9.X
0.1.0
  • Initial release

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

pymacroms-1.0.1.tar.gz (824.7 kB view details)

Uploaded Source

Built Distribution

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

pymacroms-1.0.1-py3-none-any.whl (834.1 kB view details)

Uploaded Python 3

File details

Details for the file pymacroms-1.0.1.tar.gz.

File metadata

  • Download URL: pymacroms-1.0.1.tar.gz
  • Upload date:
  • Size: 824.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for pymacroms-1.0.1.tar.gz
Algorithm Hash digest
SHA256 1bf549b10ce6749c56965d8b78d2babe068a4de7fb9266e3f04a666df47cdbb5
MD5 37936cb4748e7e00029bb29edd4051dc
BLAKE2b-256 d429527d8e9cac7b199445c81050bd1fbd221d54d8d911eec57d39ce3fd3e17e

See more details on using hashes here.

File details

Details for the file pymacroms-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pymacroms-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 834.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for pymacroms-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5cdae441271d0420f00d17930b2b559db217d36745479b626b281b3532095c32
MD5 a94114310510c9ba12af1dfb5c531be8
BLAKE2b-256 a82b91dfd99f8b5ae828bccb854730dac8e220eb585d64d1f34e6102294c741e

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