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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file mass2chem-0.5.0.tar.gz.

File metadata

  • Download URL: mass2chem-0.5.0.tar.gz
  • Upload date:
  • Size: 272.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for mass2chem-0.5.0.tar.gz
Algorithm Hash digest
SHA256 0ef8a49e9ae7e39502edf881249bbdeb445225ae91e6b96da3828a3793f0f8f5
MD5 fd12116d447568f88b136089f33a2c09
BLAKE2b-256 4cb0fc95c35b20424f9941476e6f4d0eacab1b0141065b2f090c24d3621fa68e

See more details on using hashes here.

File details

Details for the file mass2chem-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: mass2chem-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 273.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for mass2chem-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d8b5e19d54937195b846fe74093c1bb84b0ca4a1622d8931f20e56437af5978
MD5 95dad1a7c4b35e98390c1129b7cc4308
BLAKE2b-256 8accff50dc8412431160f4000e9aa8cbbc7bf2c90915a7869201f7d73ddd04fe

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