MS2DeepScore
MS2DeepScore predicts structural similarity between chemical compounds from MS/MS fragmentation spectra using deep learning.
Key Features:
- Siamese Neural Network Architecture: Employs a Siamese neural network trained to predict molecular structural similarity scores (Tanimoto scores) from pairs of mass spectrometry spectra, enabling direct spectrum-to-spectrum comparisons.
- Training Dataset: Trained on an extensive dataset comprising over 100,000 mass spectra from approximately 15,000 unique known compounds.
- Prediction Accuracy and Uncertainty Estimation: Evaluated on 3,600 spectra from 500 unseen compounds with a reported RMSE of ~0.15 for Tanimoto score predictions and using Monte-Carlo Dropout to sample model variants and estimate prediction uncertainty, allowing selection of predictions with lower RMSE (~0.1).
- Performance Comparison: Outperforms traditional spectral similarity measures for retrieving chemically related compound pairs from large datasets.
- Spectral Embeddings and Clustering: Generates chemically meaningful mass spectral embeddings that facilitate clustering of large numbers of spectra.
Scientific Applications:
- Spectral Library Matching: Improves matching of experimental spectra to reference libraries by predicting structural similarity from MS/MS spectra.
- Metabolomics Data Processing: Provides reliable similarity metrics for large-scale metabolomics spectral analysis.
- Chemical Structure Elucidation: Assists in inferring chemical structural relationships from fragmentation spectra via predicted Tanimoto similarities.
Methodology:
Uses a Siamese neural network trained to predict Tanimoto similarity scores from pairs of MS/MS spectra using a training set of >100,000 spectra from ~15,000 compounds; evaluated on 3,600 spectra from 500 unseen compounds (RMSE ≈0.15); applies Monte-Carlo Dropout to sample model variants and estimate prediction uncertainty; produces spectral embeddings for clustering.
Topics
Details
- License:
- Apache-2.0
- Tool Type:
- library
- Programming Languages:
- Python
- Added:
- 10/11/2021
- Last Updated:
- 11/4/2025
Operations
Publications
Huber F, van der Burg S, van der Hooft JJ, Ridder L. MS2DeepScore - a novel deep learning similarity measure for mass fragmentation spectrum comparisons. Unknown Journal. 2021. doi:10.1101/2021.04.18.440324.
Downloads
- Software packagehttps://pypi.org/project/ms2deepscore/
- Source codehttps://github.com/matchms/ms2deepscore
- Tool wrapper (Galaxy)https://github.com/RECETOX/galaxytools/tree/master/tools/ms2deepscore