Skip to content

Scripts and jupyter notebooks for analyzing stable-isotope labeling experiments using LC-MS based metabolomics.

Notifications You must be signed in to change notification settings

Stanford-ChEMH-MCAC/d2o_metabolomics

Repository files navigation

d2o_metabolomics

This repository contains R and python code for analyzing metabolomics experiments with heavy isotope (especially deuterium) labels. The repo contains:

  • get_MID.py, a command-line python script for extracting mass isotopologue distributions from *.mzML files,
  • several jupyter notebooks with R code for analysis of MID data
  • a jupyter notebook for analysis of xcms comparisons of labeled vs. non-labeled metabolomes analyzed by LC-MS.

We are publishing the code not because it is a masterwork of software engineering, but because (a) we want to be transparent about how we analyze data that we report and publish on in the scientific literature, and (b) we hope that the code may be useful to someone else.

Installation

No code here is packaged for easy installation, you will have to download the source and manually integrate it into your own stack.

Requirements

Requirements are many and varied. A rough guide:

  • for get_MID.py:

    • python 3.5 or higher
    • rdkit,
    • pyteomics for reading *.mzML files
    • numpy, pandas, and other standard python libraries.
  • for the R-based jupyter notebooks:

  • general tip: use the conda system for package management and installation.

    • installing xcms is probably an exception to above.

Contributing

Pull requests are welcome. If you use the code, please cite our paper (details forthcoming). If you have questions about how any bit of this works, please file an issue here on GitHub.

Authors

License

This code is licensed with the MIT License.

About

Scripts and jupyter notebooks for analyzing stable-isotope labeling experiments using LC-MS based metabolomics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published