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 ± 5.30 % 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.
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
matplotlib (optional, for plotting)
Documentation
Documentation is available at https://dget.readthedocs.io.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file DGet-0.26.tar.gz
.
File metadata
- Download URL: DGet-0.26.tar.gz
- Upload date:
- Size: 30.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 395496a46c3d46781850d0046531d78c04e18237b0d0eeef73aacbda08955ad7 |
|
MD5 | 75b61b058bd7f52aac75d2ce628b5601 |
|
BLAKE2b-256 | 5de420c6568e3ca3919b729213cf2d2389df52bb998869ff3d99d09e39d44ce5 |
File details
Details for the file DGet-0.26-py3-none-any.whl
.
File metadata
- Download URL: DGet-0.26-py3-none-any.whl
- Upload date:
- Size: 27.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 487575d5b1c4048b20591720662c6baa20165eb0f8cfc9647b52e2eeef63a85d |
|
MD5 | 726c7fe868eff280a17b08c875c53f14 |
|
BLAKE2b-256 | 881293341b4e5505e61b1ecb6591674b50a0d2704be91a28672280fbc3d3bad6 |