Skip to content

margotbligh/mass-spec-R-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Scripts for analysis of DI-MS, GC-MS and LC-MS data recorded for studies of marine sugars.

Working space of Margi and Hagi. Scripts are categorised as either:

  • clean:
    • script has no errors from start to finish
    • no "extra" code for testing
    • everything commented nicely
    • code should be able to work with any dataset. either comments make clear what needs to be changed, or all variables are controlled by data.
  • working:
    • messy code
    • lots of test code
    • code can be specific for the dataset the script is written for
    • should not be downloaded by others

Table of contents

LC-MS (liquid chromatography mass spectrometry) scripts

LC-MS clean scripts

None yet 🙃

LC-MS working scripts

Data: non-derivatised alpha-mannan digests. Identifies and annotates features. Extract associated MS2 spectra. Scan MS2 for signficant neutral losses and fragment ions. Margot only

Data: standards and blanks for workflow including procainamide derivatisation. Final output: extracted ion chromatograms for identified features and fluorescence chromatogram. Margot only

Data: standards, blanks and samples from POS531, both with and without procainamide derivatisation. Output: volcano plots, heatmaps, PCA plots, extracted ion chromatograms. Very messy right now. MS/MS extracted, but collision was at 200... Margot only

Hagi only. Need description

Data: glycans digested by FITDOG and enzymatic digestion. Final output: extracted ion chromatograms for identified features and fluorescence chromatogram, dot plot summarising peak detection, MS/MS plot comparison. Margot only

Data: a-mannan digested with GH99. Final output: extracted ion chromatograms for identified features and fluorescence chromatogram, MS/MS plot. Margot only

Hagi only. Need description

DI-MS (direct infusion mass spectrometry) scripts

DI-MS clean scripts

Average spectra by file within a specific time range. Assumes only MS1 data. For the sample set the script was written for, an air bubble was in the capillary while one sample was infused. This is confirmed by plotting the TIC for that sample. Margot only

DI-MS working scripts

Peaks were picked for averaged spectra output by DI-MS_average_spectra.R in mMass. This script works with the peak lists output by mMass (.txt format). It filters for ions of interest, then performs analyses based on linear regression models. Margot only

For analysis of FT-ICR-MS data. Samples were mixes of small polar metabolite standards at different concentrations with different extraction methods. Peaks picked with mass spec wavelet algorithm, grouping with clustering algorithm, and peaks filled (using XCMS/MSnBase). Isotopes and adducts detected with CAMERA - treat all spectra as one pseudospectra (no retention time dimension to separate on). Collapse isotopes to only retain M isotope. Annotate with predicted oligosaccharides (predictions made with my tool). Get per sample counts of standards and plot representation of counts. Margot only

No data processing. Just extracts and plots (base R) chromatograms for hexose saccharides with DP2-13 in one loop. Margot only

GC-MS (gas chromatography mass spectrometry) scripts

GC-MS clean scripts

None yet 🙃

GC-MS working scripts

GC-MS data for Finland samples. Peak picking, grouping, RT alignment etc done with extensive parameter testing and checking by Hagi / Mona. Now trying to do deconvolution and database matching. Hagi and Margot

Releases

No releases published

Packages

 
 
 

Languages