matchms

Compare mass spectra and identify compounds via spectral library matching.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Org-GAgent/result-interpreter --skill matchms-org-gagent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: matchms
Source: https://github.com/Org-GAgent/result-interpreter/tree/main/.skills/scientific-skills/matchms
Command: npx skills add https://github.com/Org-GAgent/result-interpreter --skill matchms-org-gagent

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Matchms provides a programmable solution for spectral similarity analysis and metabolite identification, enabling researchers to compare mass spectra and annotate unknown compounds against reference libraries.

Core Features & Use Cases

  • Import and harmonize spectral data, apply filters, and prepare spectra for robust comparison.
  • Compute multiple similarity metrics (CosineGreedy, CosineHungarian, ModifiedCosine, NeutralLossesCosine) and perform library matching.
  • Build reproducible processing pipelines and enrich spectra with chemical information (InChI, InChIKey, fingerprints) to support integrated workflows.

Quick Start

Process mass spectra through a standardized workflow to identify compounds by library matching.

Frequently Asked Questions about matchms

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

FAQPage Schema
How do I identify unknown compounds from mass spectra using library search?

Spectral similarity analysis compares mass spectra to identify compounds by computing scores like CosineGreedy and ModifiedCosine. This skill automates the harmonization of spectral data and library matching for metabolomics research.

What similarity scores can I compute for mass spectrometry spectral matching?

Spectral matching computes multiple similarity scores including CosineGreedy, CosineHungarian, ModifiedCosine, and NeutralLossesCosine. These metrics evaluate mass spectrometry data to determine the degree of similarity between unknown spectra and reference libraries.

How do I harmonize raw mass spectrometry metadata before library matching?

Harmonizing mass spectrometry metadata requires importing raw spectral data, applying filters, and standardizing chemical annotations like InChIKey. This skill prepares spectra for robust comparison by building reproducible processing pipelines.

Can I process large metabolomics datasets for compound identification in Python?

Processing large metabolomics datasets for compound identification is supported through Python-based tooling. This skill applies spectral similarity analysis and library matching across small to large datasets to identify unknown compounds.

Do I need Python tooling to build reproducible mass spectrometry workflows?

Python-based tooling is required to build reproducible mass spectrometry workflows and harmonize spectral metadata. This skill leverages Python to compute similarity scores and enrich spectra with chemical information like fingerprints.

What's the best way to enrich mass spectra with chemical information for integrated workflows?

Enriching mass spectra with chemical information involves adding InChI, InChIKey, and fingerprints to support integrated workflows. This skill builds reproducible processing pipelines to annotate spectra and prepare them for compound identification.