Skip to main content

Common utilities for interpreting mass spectrometry data

Project description

mass2chem - common utilities in interpreting mass spectrometry data

Annotation and Inferrence

Included or work in progress

  • Handling chemical formula
  • A list of common mass values, including contaminants
  • A list of common adducts, rules, while they are more directly ready in future Azimuth

to include

  • Chemical similary computing
  • Reaction inference, including mass diff corresponding to common reactions
  • hook/adaptor to other tools

Added basic formula based calculations

Note: RE based formula parsing is still limited.

Pychemy isn't good fit, as

  1. high-resolution calculation needs update
  2. Open babel binding is not worthy the trouble

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.

Pychemy is included as stripped version in "mass2chem.chem" for now, but only used for formula handling. It may be removed completely in future versions.

For high-resolution measurements, electrons should be considered too.


Third party: (they are using average molecular weight, not mass spec oriented)

Dev note

The organization of this repo will change, after compatibility check on application packages.

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.4.4.tar.gz (7.2 MB view hashes)

Uploaded source

Built Distribution

mass2chem-0.4.4-py3-none-any.whl (7.4 MB view hashes)

Uploaded py3

Supported by

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