bioRxivBioinformaticsPreprint
BLINK: Ultrafast tandem mass spectrometry cosine similarity scoring
Thomas V. HarwoodiD, Daniel G. C. TreeniD, Mingxun WangiD, Wibe Albert de JongiD, Trent R. NortheniD, Benjamin P. BoweniD
Abstract
SummaryMetabolomics has a long history of using cosine similarity to match experimental tandem mass spectra to databases for compound identification. Here we introduce the Blur-and-Link (BLINK) approach for scoring cosine similarity. BLINK calculates substantially equivalent cosine similarity scores (>99% identification agreement) over 1000 times faster than commonly used loop-based implementations by bypassing fragment alignment and simultaneously scoring all pairs of spectra using sparse matrix operations. This performance improvement can enable calculations to be performed that would typically be limited by time and available computational resources. Availability and ImplementationBLINK is implemented in Python3 and is published under a modified open source license. Code and license are available on Github: https://github.com/biorack/blink
- 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
- SimMS: A GPU-Accelerated Cosine Similarity implementation for Tandem Mass Spectrometry
Tornike Onoprishvili, Jui-Hung Yuan, … Yoann Gloaguen·BioinformaticsPeer-reviewed·Feb 18, 2025
- 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
- Implementations of the chemical structural and compositional similarity metric in R and Python
Asker Brejnrod, Madeleine Ernst, … Manimozhiyan Arumugam·bioRxiv·Feb 11, 2019
- SIMILE enables alignment of fragmentation mass spectra with statistical significance
Daniel G. C. Treen, Trent R. Northen, Benjamin P. Bowen·bioRxiv·Feb 24, 2021
- Comparison of Cosine, Modified Cosine, and Neutral Loss Based Spectrum Alignment For Discovery of Structurally Related Molecules
Wout Bittremieux, Robin Schmid, … Pieter C. Dorrestein·Journal of the American Society for Mass SpectrometryPeer-reviewed·Aug 12, 2022
- 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