metabolomics

Process mass spectrometry data with XCMS and matchms for metabolomics analysis.

29|3|Updated Jun 11, 2026
One-click install
npx skills add https://github.com/inflexa-ai/inflexa --skill metabolomics-inflexa-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: metabolomics
Source: https://github.com/inflexa-ai/inflexa/tree/main/skills/metabolomics
Command: npx skills add https://github.com/inflexa-ai/inflexa --skill metabolomics-inflexa-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires xcms, MSnbase, matchms, pymzml, Spectra, and includes references (resource) components.

What problem does it solve?

This skill addresses the complexity of processing raw mass spectrometry data, providing a reproducible pipeline for untargeted and targeted metabolomics, lipidomics, and pathway interpretation.

Core Features & Use Cases

  • Standardized Preprocessing: Automates peak picking, retention time alignment, and gap filling using industry-standard XCMS workflows.
  • Statistical Rigor: Provides robust normalization, log-transformation, and statistical testing (PCA, PLS-DA, t-tests) to ensure high-quality results.
  • Use Case: A researcher can process raw mzML files from a clinical study to generate a normalized feature matrix, perform differential expression analysis, and identify significant metabolic shifts between control and treatment groups.

Quick Start

Use the metabolomics skill to process the raw mzML files in the current directory and generate a feature intensity matrix with statistical annotations.

Frequently Asked Questions about metabolomics

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

FAQPage Schema
How do I process raw mass spectrometry data for untargeted metabolomics?

You can process raw mass spectrometry data by automating peak picking, retention time alignment, and gap filling using industry-standard XCMS workflows to generate a reproducible feature matrix for untargeted metabolomics.

Can I use XCMS and matchms together for lipidomics spectral matching?

Yes, the metabolomics workflow requires R-based XCMS for peak detection alongside Python-based matchms for spectral matching and feature quantification, supporting comprehensive lipidomics data interpretation.

What statistical methods are used for differential expression analysis in metabolomics?

Metabolomics differential expression analysis utilizes robust normalization, log-transformation, and statistical testing including PCA, PLS-DA, and t-tests to identify significant metabolic shifts between control and treatment groups.

How do I convert mzML files into a normalized feature intensity matrix?

To convert mzML files into a normalized feature intensity matrix, you apply standardized preprocessing and statistical rigor pipelines that automate peak detection, alignment, and gap filling for mass spectrometry data.

Does this metabolomics pipeline support both targeted and untargeted workflows?

Yes, the metabolomics pipeline supports both untargeted and targeted workflows for mass spectrometry data interpretation, enabling comprehensive processing from raw files to pathway mapping and statistical annotations.

Do I need pymzml and MSnbase to perform pathway mapping on clinical study data?

Pathway mapping and clinical study data interpretation require dependencies including pymzml and MSnbase to handle raw mzML files, spectral matching, and feature quantification within the XCMS processing pipeline.