Mass spectrometry: GCMS with metaMS

This workflow is composed with the XCMS tool R package (Smith, C.A. 2006) able to extract and the metaMS R package (Wehrens, R 2014) for the field of untargeted metabolomics. https://training.galaxyproject.org/training-material/topics/metabolomics/tutorials/gcms/tutorial.html

  • Author(s):
  • workflow4metabolomics
  • Release: 0.1
  • License: MIT
  • UniqueID: a2b0d4f7-164c-40d3-ac34-f248db18bbef

Mass spectrometry: GCMS with metaMS

This workflow uses the XCMS tool R package (Smith, C.A. 2006) to extract, filter, align and fill gaps, and uses the CAMERA R package (Kuhl, C 2012) to annotate isotopes, adducts and fragments.

This workflow is composed with the XCMS tool R package (Smith, C.A. 2006) to extract and the metaMS R package (Wehrens, R 2014) for the field of untargeted metabolomics.

🎓 For more information see the Galaxy Training Network tutorial: Mass spectrometry: GC-MS analysis with metaMS package

Inputs

sampleMetadata

The sampleMetadata tabular file corresponds to a table containing information about your samples

A sample metadata file contains various information for each of your raw files:

  • Classes which will be used during the preprocessing steps
  • Analytical batches which will be useful for a batch correction step, along with sample types (pool/sample) and injection order
  • Different experimental conditions which can be used for statistics
  • Any information about samples that you want to keep, in a column format

The content of your sample metadata file has to be filled by you, since it is not contained in your raw data. Note that you can either:

  • Upload an existing metadata file
  • Use a template to create one (because it can be painful to get the sample list without misspelling or omission)
    • Generate a template with the xcms get a sampleMetadata file tool available in Galaxy
    • Fill it using your favorite table editor (Excel, LibreOffice)
    • Upload it within Galaxy

Formats: tab-separated values as tsv, tab, txt, ...

Mass-spectrometry Dataset Collection

Mass-spectrometry data files gathered in a Galaxy Dataser Collection

Formats: open format as mzXML, mzMl, mzData and netCDF

Main steps

  1. MSnbase readMSData: read the mzXML and prepare for xcms
  2. XCMS findChromPeaks: peak picking
  3. metaMS.runGC: definition of pseudo-spectra