Skip to main content

Common utilities for interpreting mass spectrometry data

Project description

mass2chem - low level utilities in interpreting mass spectrometry data

This package provides

  • functions on handling chemical formulas
  • formula based adduct calculation
  • indexing and search functions on mass spec data
  • libraries of common metabolites, contaminants, mass differences
  • [to-do] functions of chemical similary, dataset similarity

Related tools

Third party references:

https://github.com/opencobra/cobrapy/blob/devel/cobra/core/formula.py (using average molecular weight at the time of retrieval, not mass spec oriented)

https://github.com/domdfcoding/chemistry_tools

Pychemy (https://github.com/ginkgobioworks/pychemy). Pychemy at this time isn't good fit for high-resolution metabolomics because its mass calculation is not of enough precision. E.g. in pychemy.adducts, it's wrong to use ('M+3H', 0.33, 1.0073), because the computing/rounding error in 0.33 (correct is 1/3) is far too large for mass precision. For high-resolution measurements, electrons should be considered too.


Please do not hesitate to contact us via the GitHub issues.

Citation to come.

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

mass2chem-0.5.0.tar.gz (272.0 kB view hashes)

Uploaded Source

Built Distribution

mass2chem-0.5.0-py3-none-any.whl (273.1 kB view hashes)

Uploaded Python 3

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