What problem does it solve?
Matchms helps you compare mass spectra to find the most likely compounds by scoring spectral similarity, cleaning and harmonizing metadata, and searching against reference spectral libraries.
Core Features & Use Cases
- Spectral import/export: Load spectra from mzML/mzXML, MGF, MSP, JSON (GNPS), and more, then save processed results back to shareable formats.
- Peak and metadata preprocessing: Apply default harmonization, normalize intensities, filter peaks, and enforce quality thresholds before scoring.
- Spectral similarity and identification: Compute cosine-based and precursor-aware similarities to rank candidate matches for unknown compounds.
- Library search workflows: Run end-to-end pipelines for library matching, quality control, and large-scale comparisons.
Quick Start
Use the matchms skill to identify unknown compounds by matching spectra from a query file against a reference library using cosine similarity after applying default filters and normalization.