bioRxivBioinformaticsPreprint
Real-time repository-scale spectral search and global molecular networking with HNSW-MS
Alexander SemenoviD, Andrew RobertsiD, Elizabeth ColeriD, Samarth Gupta, Evguenia KopylovaiD, Alexey V. MelnikiD, Vladimir L. BoginskiiD, Alexander A Aksenov
Abstract
Spectral similarity comparison is the basis of mass spectrometry-based metabolomics, underpinning library matching, molecular network construction, and repository searches such as MASST. Public repositories now exceed billion spectra, and exhaustive pairwise comparison is increasingly limiting. We introduce HNSW-MS, which implements Hierarchical Navigable Small World graph indexing natively for mass spectra. It operates directly on GC-MS and LC-MS/MS spectra without embedding, so scores are identical to those of exhaustive comparison and results are fully reproducible. On the benchmark dataset of 8.4 million LC-MS/MS spectra, HNSW-MS is up to 900-fold faster than linear search, recall@1 and recall@10 achieve over 90%, with the recall-speedup tradeoff tunable at query. Such rapid retrieval allows for any query spectrum to be near-instantaneously integrated into a global molecular network. We demonstrate specific examples of use of global networking for molecular discovery, including uncovering a new pathway of stenothricin biosynthesis and a new dipeptide conjugate bile acid.
- assay: metabolomics
- research focus: database / resource
- research focus: benchmarking
- approach: graph neural network
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Spec2Vec: Improved mass spectral similarity scoring through learning of structural relationships
Florian Huber, Lars Ridder, … Justin J. J. van der Hooft·PLoS Computational BiologyPeer-reviewed·Feb 16, 2021
- MS2Query: Reliable and Scalable MS2 Mass Spectral-based Analogue Search
Niek De Jonge, Joris J. R. Louwen, … Justin J. J. van der Hooft·bioRxiv·Jul 22, 2022
- Implementations of the chemical structural and compositional similarity metric in R and Python
Asker Brejnrod, Madeleine Ernst, … Manimozhiyan Arumugam·bioRxiv·Feb 11, 2019
- MASST: A Web-based Basic Mass Spectrometry Search Tool for Molecules to Search Public Data.
Mingxun Wang, Alan K. Jarmusch, … Pieter C. Dorrestein·bioRxiv·Mar 28, 2019
- BLINK: Ultrafast tandem mass spectrometry cosine similarity scoring
Thomas V. Harwood, Daniel G. C. Treen, … Benjamin P. Bowen·bioRxiv·Feb 14, 2023
- Tailored mass spectral data exploration using the specXplore interactive dashboard
Kevin Mildau, Henry Ehlers, … Justin J. J. van der Hooft·Analytical ChemistryPeer-reviewed·Apr 2, 2024