Liverpool Annotation of metabolites using Mass Spectrometry
Project description
LAMP - Liverpool Annotation of metabolites using Mass sPectrometry
Introduction
Untargeted metabolomics studies routinely apply liquid chromatography-mass spectrometry to acquire data for hundreds or low thousands of metabolites and exposome-related (bio)chemicals. The annotation or higher-confidence identification of metabolites and biochemicals can apply multiple different data types (1) chromatographic retention time, (2) the mass-to-charge (m/z) ratio of ions formed during electrospray ionisation for the structurally intact metabolite or (bio)chemical and (3) fragmentation mass spectra derived from MS/MS or MS^n^ experiments.
Commonly, the mass-to-charge (m/z) ratio of ions formed during electrospray ionisation for the structurally intact metabolite are applied as a first step in the annotation process. Importantly, a single metabolite can be detected as multiple different ion types (adducts, isotopes, in-source fragments, oligomers) and grouping together of features representing the same metabolite or biochemical can decrease the number of false positive annotations. The Liverpool Annotation of metabolites using Mass sPectrometry (LAMP) is a Python package and an easy-to-use software for feature grouping and metabolite annotation using MS1 data only. LAMP groups features based on chromatographic retention time similarity and positive response-based correlations across multiple biological samples. Genome-scale metabolic models are the source of metabolites applied in the standard reference files though any source of metabolites can be used (e.g. HMDB or LIPIDMAPS). The m/z differences related to in-source fragments, adducts, isotopes, oligomers and charge states can be user-defined in the reference file.
Installation
PyPI
To install from PyPI via pip
, use the distribution
name lamps
:
pip install lamps
This is the preferred installation method.
Conda
conda install lamps
Source
Install directly from GitHub:
pip install git+https://github.com/wanchanglin/lamp.git
Usages
For end users, LAMP
provides command line and graphical user interfaces.
$ lamp --help
Executing lamp version 1.0.0.
usage: lamp [-h] {cli,gui} ...
Compounds Annotation of LC-MS data
positional arguments:
{cli,gui}
cli Annotate metabolites in CLI.
gui Annotate metabolites in GUI.
options:
-h, --help show this help message and exit
Command line interface (CLI)
Use the follow command line to launch CLI mode: :
$ lamp cli <arg_lists>
Here is an example: :
lamp cmd \
--sep "tab" \
--input-data "./data/df_pos_3.tsv" \
--col-idx "1, 2, 3, 4" \
--add-path "" \
--ref-path "" \
--ion-mode "pos" \
--cal-mass \
--thres-rt "1.0" \
--thres-corr "0.5" \
--thres-pval "0.05" \
--method "pearson" \
--positive \
--ppm "5.0" \
--save-db \
--save-mr \
--db-out "./res/test.db" \
--sr-out "./res/test_s.tsv" \
--mr-out "./res/test_m.tsv"
Graphical user interface (GUI)
$ lamp gui
Documentation
Documentation is hosted on Read the Docs.
Authors
- Wanchang Lin (Wanchang.Lin@liverpool.ac.uk), The University of Liverpool
- Warwick Dunn (Warwick.Dunn@liverpool.ac.uk), The University of Liverpool
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 lamps-1.0.3.tar.gz
.
File metadata
- Download URL: lamps-1.0.3.tar.gz
- Upload date:
- Size: 7.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c85de92edcb4cd450aeebcb829729f163a02b3905146ef5208f911f38f2abe63 |
|
MD5 | 11db920998e40da1a83482f32aa07b6a |
|
BLAKE2b-256 | 549fc98a8740e5be73207cfd951db73d161524f8ca90c65523f66a653981ac3c |
File details
Details for the file lamps-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: lamps-1.0.3-py3-none-any.whl
- Upload date:
- Size: 7.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 478e87694406ca7b2d407222cd9ef4a90ffc317a2ead0be42008ec542ed70ada |
|
MD5 | 047318ae9e54e2787abda32ca93522fb |
|
BLAKE2b-256 | 448283d1dd5680a2e49b580e52043a31d7d9ad417267cfdb174993f967dc38c1 |