Skip to main content

Table of Contents

MetaMS

MetaMS is a workflow for metabolomics data processing and annotation

Current Version

2.1.3

Data input formats

  • ANDI NetCDF for GC-MS (.cdf)
  • CoreMS self-containing Hierarchical Data Format (.hdf5)
  • ChemStation Agilent (Ongoing)

Data output formats

  • Pandas data frame (can be saved using pickle, h5, etc)
  • Text Files (.csv, tab separated .txt, etc)
  • Microsoft Excel (xlsx)
  • JSON for workflow metadata
  • Self-containing Hierarchical Data Format (.hdf5) including raw data and ime-series data-point for processed data-sets with all associated metadata stored as json attributes

Data structure types

  • GC-MS

Available features

Signal Processing

  • Baseline detection, subtraction, smoothing
  • m/z based Chromatogram Peak Deconvolution,
  • Manual and automatic noise threshold calculation
  • First and second derivatives peak picking methods
  • Peak Area Calculation

Calibration

  • Retention Index Linear XXX method

Compound Identification

  • Automatic local (SQLite) or external (MongoDB or PostgreSQL) database check, generation, and search
  • Automatic molecular match algorithm with all spectral similarity methods

MetaMS Installation

  • PyPi:
pip3 install metams
  • From source:
pip3 install --editable .

To be able to open chemstation files a installation of pythonnet is needed:

  • Windows:

    pip3 install pythonnet
    
  • Mac and Linux:

    brew install mono
    pip3 install pythonnet   
    

Execution

metaMS dump_json_template MetamsFile.json
metaMS dump_corems_json_template CoremsFile.json

Modify the MetamsFile.json and CoremsFile.json accordingly to your dataset and workflow parameters make sure to include CoremsFile.json path inside the MetamsFile.json: "corems_json_path": "path_to_CoremsFile.json"

metaMS run-gcms-workflow path_to_MetamsFile.json

MiniWDL

  • Change wdl/metams_input.json to specify the data location

  • Change data/CoremsFile.json to specify the workflow parameters

Install miniWDL:

pip3 install miniwdl

Call:

miniwdl run wdl/metaMS.wdl -i wdl/metams_input.json --verbose --no-cache --copy-input-files

MetaMS Docker Container

A docker image containing the MetaMS command line as the entry point

If you don't have docker installed, the easiest way is to install docker for desktop

  • Pull from Docker Registry:

    docker pull corilo/metams:latest
    
  • or Build the image from source:

    docker build -t metams:latest .
    
  • Run Workflow from Container:

    $(data_dir) = full path of directory containing the gcms data, MetamsFile.json and CoremsFile.json

    docker run -v $(data_dir):/metaB/data corilo/metams:latest metaMS run-gcms-workflow /metaB/data/MetamsFile.json
    
  • Getting the parameters templates:

    docker run -v $(data_dir):/metaB/data corilo/metams:latest metaMS dump_json_template /metaB/data/MetamsFile.json
    
    docker run -v $(data_dir):/metaB/data corilo/metams:latest metaMS dump_corems_json_template /metaB/data/CoremsFile.json
    

Disclaimer

This material was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the United States Department of Energy, nor Battelle, nor any of their employees, nor any jurisdiction or organization that has cooperated in the development of these materials, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness or any information, apparatus, product, software, or process disclosed, or represents that its use would not infringe privately owned rights.

Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or any agency thereof, or Battelle Memorial Institute. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof.

             PACIFIC NORTHWEST NATIONAL LABORATORY
                          operated by
                            BATTELLE
                            for the
               UNITED STATES DEPARTMENT OF ENERGY
                under Contract DE-AC05-76RL01830

Metadata

Release files for metaMS 2.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for metaMS 2.1.3
File Size Uploaded
metaMS-2.1.3.tar.gz 8.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for metaMS 2.1.3
File Interpreter ABI Platform
metaMS-2.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 20.2 kB

Release files / metaMS-2.1.3.tar.gz

Download URL metaMS-2.1.3.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7fd1315602ae7546bd654351a9cbe43dbc7b1d0828e3b5ca6f244b480f4fbbec
BLAKE2b-256 checksum
How to use checksums
9b20eaea61afb59c43152d592942bd9ac9c4e4c3346a40d09133ad4e75e884a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

Release files / metaMS-2.1.3-py3-none-any.whl

Download URL metaMS-2.1.3-py3-none-any.whl
Size 11.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
047ed1a58585d2d780f71872bbd59c0a98317b103419c98f0ae09cd8dcb24b7f
BLAKE2b-256 checksum
How to use checksums
05941e0c4e176a54699daf7f89e176f2618cb46a4043bf77b931b075871d24c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

Release history Release notifications | RSS feed

This release

2.1.3 This release

2 release files

2.0.3

1 release file

2.0.2

1 release file

2.0.0

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page