Skip to main content

Calculates compound deuteration from ToF-MS data.

Project description

Usage

DGet is a command line tool for calculating molecule deuteration. To see a full list of CLI options, run the help:

$ dget --help

Basic Usage

To use DGet pass a molecular formula, mass spectra text file and optionally the adduct formed:

$ dget C12HD8N <path-to-ms-file.csv> --adduct "[M-H]-"

This will print the deuteration of the base molecule %Deuteration and the predicted deuteration of every possible deuteration state from D0 (no deuterium) to Dn (full deuterium):

Formula          : C12H[2H]8N
Adduct           : [M-H]-
M/Z              : 175.1237
Adduct M/Z       : 174.1164
%Deuteration     : 93.66 %

Deuteration Ratio Spectra
D0               :  0.15 %
D1               :  0.18 %
D2               :  0.20 %
D3               :  0.26 %
D4               :  0.39 %
D5               :  1.41 %
D6               :  6.05 %
D7               : 27.79 %
D8               : 63.56 %

Plotting

To visualise the deuteration and mass spectrum pass --plot:

$ dget C12HD8N <path-to-ms-file.csv> --adduct "[M-H]-" --plot

This will show the de-convolved deuteration spectra in red and the predicted adduct spectra in blue. These spectra are scaled to fit the mass data so absolute heights will not be indicative of good fit.

https://github.com/djdt/djdt.github.io/raw/main/img/dget_c12hd8n.png

Plotting depends on matplotlib.

Web App

A web application of DGet is available at https://dget.app.

Details on its usage can be found on the Help page.

Installation

DGet is available on PyPI and can be installed via pip:

$ pip install dget

To install DGet from source first clone the repository:

$ git clone https://github.com/djdt/dget

Then install using pip:

$ cd dget
$ pip install .

Requirements

Documentation

Documentation is available at https://dget.readthedocs.io.

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

DGet-0.24.tar.gz (29.2 kB view details)

Uploaded Source

Built Distribution

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

DGet-0.24-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

Details for the file DGet-0.24.tar.gz.

File metadata

  • Download URL: DGet-0.24.tar.gz
  • Upload date:
  • Size: 29.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for DGet-0.24.tar.gz
Algorithm Hash digest
SHA256 b13801260fb06f503d78f667495b818f648766e09100bb076a5c9eb140429e3f
MD5 c907212069b26ebe649c8b5d7db7ee6b
BLAKE2b-256 2e3dc6f62ca8703cf0f0b57f6e7ffd52f910d927cf5c3ab9ec2f7a5eac4e48f8

See more details on using hashes here.

File details

Details for the file DGet-0.24-py3-none-any.whl.

File metadata

  • Download URL: DGet-0.24-py3-none-any.whl
  • Upload date:
  • Size: 26.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for DGet-0.24-py3-none-any.whl
Algorithm Hash digest
SHA256 ed69bcc012efa98f03315f4815e6646411d70aaa1c133ad390f345aea35ec84e
MD5 7c2f0bbe6d6aec9d4cdaf12655e02ad7
BLAKE2b-256 9dcff1ef8ec67e31e57166d95d283c95f02b619d8ecabbcbd1bcd7446ab3b75f

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