metabolomics-xcms-preprocessing

Preprocess LC-MS/GC-MS metabolomics data with XCMS3 peak detection and alignment.

155|26|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/TianGzlab/OmicsClaw --skill metabolomics-xcms-preprocessing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metabolomics-xcms-preprocessing
Source: https://github.com/TianGzlab/OmicsClaw/tree/main/skills/metabolomics/metabolomics-xcms-preprocessing
Command: npx skills add https://github.com/TianGzlab/OmicsClaw --skill metabolomics-xcms-preprocessing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires xcms, MSnbase, CAMERA, pcaMethods, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the complex and time-consuming process of preprocessing raw LC-MS/GC-MS metabolomics data, enabling efficient peak detection, alignment, and feature identification.

Core Features & Use Cases

  • Peak Detection: Identifies chromatographic peaks using CentWave or MatchedFilter algorithms.
  • Retention Time Alignment: Corrects for temporal drift across samples using Obiwarp.
  • Feature Grouping & Gap Filling: Consolidates detected peaks into features and imputes missing values.
  • Annotation: Facilitates CAMERA-based adduct and isotope annotation.
  • Use Case: Process a batch of LC-MS raw data files to generate a clean feature table ready for downstream statistical analysis and metabolite identification.

Quick Start

Run the XCMS preprocessing workflow on the provided raw data files using default parameters.

Frequently Asked Questions about metabolomics-xcms-preprocessing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I preprocess raw LC-MS metabolomics data for peak detection and alignment?

Preprocess raw LC-MS metabolomics data using XCMS3 to automate peak detection, retention time alignment, feature grouping, and gap filling, generating a clean feature table ready for downstream statistical analysis and metabolite identification.

What is the difference between CentWave and MatchedFilter for chromatographic peak detection?

CentWave and MatchedFilter are both supported peak detection algorithms for metabolomics data. CentWave detects centwave-shaped peaks while MatchedFilter filters matched signals, both allowing configurable parameters for m/z tolerance, peak width, and signal-to-noise thresholds.

Can I use XCMS3 with CAMERA for adduct and isotope annotation?

Yes, XCMS3 integrates CAMERA to annotate adducts and isotopes, operating on the grouped features after peak detection, retention time alignment, and gap filling to provide comprehensive feature annotation for metabolomics data.

Does this metabolomics preprocessing workflow support GC-MS data or only LC-MS?

This XCMS3-based preprocessing workflow supports both untargeted LC-MS and GC-MS metabolomics data, applying peak detection, alignment, feature grouping, and gap filling across both data types to produce a unified feature table.

How do I correct retention time drift across multiple metabolomics samples?

Correct retention time drift across samples using the Obiwarp alignment method integrated into the XCMS3 workflow, which aligns chromatographic peaks temporally before feature grouping and gap filling to ensure accurate feature comparison.

How do I impute missing values in an LC-MS feature table?

Impute missing values in an LC-MS feature table using the gap filling step within the XCMS3 preprocessing workflow, which retrieves and fills missing peak signals after consolidating detected peaks into grouped features.