Sign in
BioinformaticsbioRxiv
Preprint

Implementations of the chemical structural and compositional similarity metric in R and Python

Asker BrejnrodiD, Madeleine ErnstiD, Piotr DworzyńskiiD, Lasse Buur Rasmussen, Pieter C. DorresteiniD, Justin J. J. van der HooftiD, Manimozhiyan ArumugamiD

Abstract

MotivationTandem mass spectrometry (MS/MS) has the potential to substantially improve metabolomics by acquiring spectra of fragmented ions. These fragmentation spectra can be represented as a molecular network, by measuring cosine distances between them, thus identifying signals from the same or similar molecules. Metrics that enable comparison between pairs of samples based on their metabolite profiles are in great need. Taking inspiration from the successful phylogeny-aware beta-diversity measures used in microbiome research, integrating chemical similarity information about the features in addition to their abundances could lead to better insights when comparing metabolite profiles. Chemical Structural and Compositional Similarity (CSCS) is a recently published similarity metric comparing the full set of signals and their chemical similarity between two samples. Efficient, scalable and easily accessible implementations of this algorithm is currently lacking. Here, we present an easily accessible and scalable implementation of CSCS in both python and R, including a version not weighted by intensity information. ResultsWe provide a new implementation of the CSCS algorithm that is over 300 times faster than the published implementation in R, making the algorithm suitable for large-scale metabolomics applications. We also show that adding chemical information enriches existing methods. Furthermore, the R implementation includes functions for exporting molecular networks directly from the mass spectral molecular networking platform GNPS for ease of use for downstream applications. Contactbrejnrod@sund.ku.dk Availabilitygithub.com/askerdb/rCSCS, github.com/askerdb/pyCSCS

PDFDOICode

02 /Specification & Classification

Click any tag to browse matching papers

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.

Similarity Map
SelectedSame fieldCross-field
THISHuber '21Huber '21Treen '21Harwood '23Zhou '26Li '19
74% semantic matchBioinformatics
Florian Huber, Lars Ridder, Stefan Verhoeven+4 more·PLoS Computational Biology·Feb 16, 2021· 258 citations