Skip to main content

Lib for working with high resolution mass spectra

Project description

PyPI Documentation Status Python package

nomhsms

logo

nomhsms is an open-source Python package for processing high resolution mass spectra. The name is an acronym for Natural Organic Matter & Humic Substances Mass Spectrometry, so package designed for analysis natural organic matter (NOM) which are represent such substances as dissolve organic matter (DOM), humic substances, lignin, biochar and other objects of oxidative destruction of natural compounds which are characterized by thousands of signals in the mass spectrum and require special methods for analysis. The package implements a full-fledged workflow for processing, analysis and visualization of mass spectrum. Various algorithms for filtering spectra, recalibrating and assignment of elemental composition to ions are presented. The package implements methods for calculating different molecular descriptors and methods for data visualization. A graphical user interface (GUI) for package has been implemented, which makes this package convenient for a wide range of users.

Main operation:

  • Assigning element composition to signal by mass with desirable ranges of elements (include isotopes)
  • Fine recalibrate spectrum
  • Working with spectra as with sets (intersection, union, etc.)
  • Plot spectrum and different kind of scatter and density diagram such as Van Krevelen diagram
  • Calculate similarity metrics between spectra
  • Calculate molecular descriptors (DBE, AI, NOSC, CRAM and other) for spectra

figures

Documentation

Documentation and examples of usage is placed here. Also, you can explore jupyter notebooks

Install

Requirements:

  • Python 3.8 or higher

Install nomhsms and dependences by pip:

pip install nomhsms

Graphical interface

After installation nomhsms you can run GUI by the command:

python -m nomhsms

The GUI is pretty basic and not very flexible but it supports all basic operation.

How to contribute or ask question

If you want to ask question or contribute to the development of nomhsms, have a look at the contribution guidelines.

License

Distributed under license GPLv3

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

nomhsms-0.3.9.tar.gz (62.1 kB view details)

Uploaded Source

File details

Details for the file nomhsms-0.3.9.tar.gz.

File metadata

  • Download URL: nomhsms-0.3.9.tar.gz
  • Upload date:
  • Size: 62.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.12

File hashes

Hashes for nomhsms-0.3.9.tar.gz
Algorithm Hash digest
SHA256 1c564480c845865ba0c60801b5a5e0dc7f51d887384da0c23ad9fc36412d975e
MD5 e88de2e66db82a89e5947ab26cf84812
BLAKE2b-256 e119dcf48734bde9baa7e46eaa4489c28985f4fac594a786f9d1396dcb97bbe2

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