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          : C12HD8N
Adduct           : [M-H]-
M/Z              : 175.1237
Adduct M/Z       : 174.1164
Deuteration      : 93.73 %

Deuteration Ratio Spectra
D0               :  0.07 %
D1               :  0.19 %
D2               :  0.20 %
D3               :  0.26 %
D4               :  0.39 %
D5               :  1.41 %
D6               :  6.05 %
D7               : 27.80 %
D8               : 63.62 %

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.

GUI

A Qt based GUI is also available and can be started using:

$ dget-gui
https://github.com/djdt/djdt.github.io/raw/main/img/gui_mainwindow_v1.0.0.png

Windows executables are available for each release on the DGet! GitHub https://github.com/djdt/dget/releases.

Basic usage on the GUI can be found in the Documentation.

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 the GUI:

$ pip install dget[gui]

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.

Citation

When using DGet! in your research please cite:

Lockwood, T.E., Angeloski, A. DGet! An open source deuteration calculator for mass spectrometry data. J Cheminform 16, 36 (2024).

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-1.0.2.tar.gz (62.8 kB view details)

Uploaded Source

Built Distribution

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

dget-1.0.2-py3-none-any.whl (65.2 kB view details)

Uploaded Python 3

File details

Details for the file dget-1.0.2.tar.gz.

File metadata

  • Download URL: dget-1.0.2.tar.gz
  • Upload date:
  • Size: 62.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.0

File hashes

Hashes for dget-1.0.2.tar.gz
Algorithm Hash digest
SHA256 9d1633bb608424b1ed3f8b9e077e5f68068cfafb9bfbf859c5e79118fef46427
MD5 c680e1158b419bd6b0f55662dc23562e
BLAKE2b-256 fba92eb5b5842a8c8932c5726197dc0d174a5e3d366c2bcdeceb744f6b665dec

See more details on using hashes here.

File details

Details for the file dget-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: dget-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 65.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.0

File hashes

Hashes for dget-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 01fe2f687da691ed82547312a9659e0cb78ef00e241d4a9f46ea58b4398d3d72
MD5 713cadb76604f2a9341b29e619547cc6
BLAKE2b-256 f106f7d1ff45b411c93bd06c7bc31b6db56afd692004134de38f39d9f3e7f4cb

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