Skip to main content
Bioinformatics logoLink to Bioinformatics
. 2022 Sep 27;38(22):5139–5140. doi: 10.1093/bioinformatics/btac647

Homologue series detection and management in LC-MS data with homologueDiscoverer

Kevin Mildau 1,, Justin J J van der Hooft 2,3, Mira Flasch 4, Benedikt Warth 5, Yasin El Abiead 6, Gunda Koellensperger 7, Jürgen Zanghellini 8,, Christoph Büschl 9,
Editor: Jonathan Wren
PMCID: PMC9665864  PMID: 36165687

Abstract

Summary

Untargeted metabolomics data analysis is highly labour intensive and can be severely frustrated by both experimental noise and redundant features. Homologous polymer series is a particular case of features that can either represent large numbers of noise features or alternatively represent features of interest with large peak redundancy. Here, we present homologueDiscoverer, an R package that allows for the targeted and untargeted detection of homologue series as well as their evaluation and management using interactive plots and simple local database functionalities.

Availability and implementation

homologueDiscoverer is freely available at GitHub https://github.com/kevinmildau/homologueDiscoverer.

Supplementary information

Supplementary data are available at Bioinformatics online.

1 Introduction

Untargeted metabolomics techniques based on High-Resolution Liquid Chromatography Tandem Mass Spectrometry (LC-HRMS/MS) allow for the generation of comprehensive snapshots of the chemical composition of samples and find wide use in diverse fields ranging from clinical biomarker discovery to natural product discovery (Kennedy et al., 2018; Tsugawa et al., 2021). However, Liquid Chromatography Mass Spectrometry (LC-MS) data are plagued by bioinformatic and chemical noise as well as redundancies which can hamper data analysis steps such as metabolite annotation or molecular networking (da Silva et al., 2019; Schiffman et al., 2019). One common type of contamination is caused by homologue series, i.e. groups of compounds with differing numbers of the same repeating unit. Tools that allow for the inspection of homologue series in LC-HRMS data are presented in da Silva et al. (2019) and Loos and Singer (2017). The tool of da Silva et al. (2019) requires the user to specify the increment of the series to be searched for and is thus limited in its scope to virtually known series or increments. On the other hand, Loos and Singer (2017) present a more advanced algorithm that finds complex patterns in an untargeted manner (without predefined m/z increments). One drawback of their implementation is that it tends to combine several close-by eluting series and thus presents the user with non-unique series that need manual separation and inspection. For this task, Loos and Singer (2017) also provide a limited version of their tool as a convenient web-based server allowing to illustrate and manipulate these results.

In this work, we present homologueDiscoverer (HD), an R package that allows for the detection and processing of homologues within LC-MS/MS peak tables. Homologues are frequently encountered in LC-MS/MS runs and tend to exhibit highly regular MS1 patterns (da Silva et al., 2019; Loos and Singer, 2017). Indeed, groups of peaks stemming from the same homologue polymer but with different numbers of the repetitive unit exhibit nearly identical mass-to-charge ratio steps between peaks while also showing systematic trends in retention time. homologueDiscoverer capitalizes on these systematic trends by extracting homologue series using either pre-specified increments or untargeted search windows. Homologue detection allows reducing data complexity through meaningful feature grouping and provision of feature sets for exclusion from further analysis, thereby allowing researchers to focus on biologically relevant information.

2 Application features

homologueDiscoverer provides pre-specified step size (targeted) and untargeted homologue detection algorithms. In both cases, the algorithm iterates through the mz and rt sorted peak table and deploys a two-phase series detection routine from each peak. In the initialization phase of the algorithm, it is checked whether a second peak lies within the search window of the algorithm relative to the root peak. In the targeted search mode, specific mass-to-charge ratio increments or decrements in conjunction with retention time constraints lead to the establishment of very few 2-tuples. In contrast, the untargeted mode creates long lists of 2-tuples of peaks that are a combination of the current root peak and any peak within the specified search window. Once initialized, the algorithm proceeds to the second phase of series extension, where for each 2-tuple created in the first phase, the corresponding mass-to-charge ratio increment and retention time constraints are used to screen the peak table for any potential candidates for series extension. At three series, candidates or more the algorithm deploys further heuristics to restrict retention time windows. Specifically, the retention time step trend of the first three series members is used to assess whether retention time steps are either independent of mass, or respectively increasing or decreasing with mass. These trends are used to constrain search windows accordingly. Candidate series are grown until no further candidates match the constraints imposed, and the longest series exceeding the minimum series length is selected as a homologue series (more detailed description in Supplementary Information). Our greedy algorithm set-up extracts any peaks grouped to belong to a homologue series from the peak table before continuing its search, thereby guaranteeing that each peak will be annotated to belong to only one homologue series. This feature leads to a very concise and readable output which can be evaluated in interactive shiny graphs (Fig. 1) or stored in augmented peak tables for use in homologue annotation of new samples using functions provided by homologueDiscoverer.

Fig. 1.

Fig. 1.

Annotated peak table for untargeted homologue detection run on MTBLS1358 dataset. Homologue series is connected by lines, and their peaks are highlighted using larger point sizes. Despite the narrow search settings used, more than 8% of peaks were grouped into homologue series highlighting data reduction potential

3 Results and discussion

We have evaluated our tool on the PEG17 and PEG70 polyethylene glycol spiked plasma datasets of da Silva et al. (2019). While many of the peaks in the samples can be attributed to polymers, not all polymers exhibit the type of characteristic MS1 homologue data trends our algorithm is based on. In our evaluation runs, 115 of 276 PEG17 peaks and 140 of 251 PEG70 peaks were annotated to belong to homologue series. Hence, roughly half of the polymer peaks can be grouped via characteristic trends. Moreover, 7 and 10 peaks not originating from the spiked polymers were grouped into homologue series for PEG17 and PEG70 spiked samples, respectively (see Supplementary Section S2). When applying a comparatively narrow search window run of homologueDiscoverer (HD) to the larger human cell model MTBLS1358 dataset of Flasch et al. (2020), we find 275 homologue series groupings consisting of 1372 peaks providing a substantial amount of feature grouping (see Supplementary Section S3). Inspection of limited available MS/MS spectral data did not lead to clear homologue series-related fragmentation patterns among homologue series members (see Supplementary Section S5). In addition, we show that HD manages to find both homologues series whose mass-to-charge ratio increases and decreases over retention time when applied to yeast extract data (see Supplementary Section S4).

We further compared our tool to nontarget (NT) (Loos and Singer, 2017) on polyethylene glycol (PEG) spiked samples as well as on the MTBLS1258 dataset. Homologue detection comparisons on PEG spiked data show large discrepancies in exact series overlap (exactly identical peak members in identical order), but large overlaps in feature peaks grouped into homologue series (see Supplementary Section S2). Comparison runs between HD and NT on the MTBLS1358 dataset showed larger discrepancies in both grouped peaks and exact series correspondence (see Supplementary Section S3). Hence, both tools find very similar sets of peaks to be part of a series in the simple PEG spiked datasets, although discrepancies in the nature of the series can be large. For more complex datasets such as MTBLS1358, differences between HD and NT become larger, with results being highly sensitive to the settings used. The algorithms are not directly comparable. However, NT allows for the same peak to be contained in several series, while HD is constructed such that each peak can only be part of one homologue grouping. In addition, constraints built into the series extension of HD may be more stringent at low series lengths. While both approaches have their merits, we argue that the increased stringency and avoidance of overlaps by HD leads to a more coherent and human-readable output.

4 Conclusion

homologueDiscoverer makes the detection and management of homologues easier, providing a complete suite of detection algorithms, interactive visualizations and storage functions. We expect that homologueDiscoverer will benefit researchers working with samples that are routinely polluted with homologue series or who wish to study biologically relevant homologue series in their data. This will be especially useful when homologue series cannot be removed from data via blank subtraction or when they present a biologically meaningful feature.

Supplementary Material

btac647_Supplementary_Data

Acknowledgements

The authors thank the members of the Mass Spectrometry Center at the University of Vienna.

Funding

This work was supported by open access funding by the University of Vienna. Furthermore, the Austrian Science Fund is acknowledged for financial support [project SFB-Fusarium-37 (-11, -15)].

Conflict of interest: J.J.J.v.d.H. is a member of the Scientific Advisory Board of NAICONS Srl., Milano, Italy. All other authors declare no conflict of interest.

Contributor Information

Kevin Mildau, Department of Analytical Chemistry, University of Vienna, Vienna A-1090, Austria.

Justin J J van der Hooft, Bioinformatics Group, Wageningen University, Wageningen 6708PB, the Netherlands; Department of Biochemistry, University of Johannesburg, Auckland Park, Johannesburg 2006, South Africa.

Mira Flasch, Department of Food Chemistry and Toxicology, University of Vienna, Vienna A-1090, Austria.

Benedikt Warth, Department of Food Chemistry and Toxicology, University of Vienna, Vienna A-1090, Austria.

Yasin El Abiead, Department of Analytical Chemistry, University of Vienna, Vienna A-1090, Austria.

Gunda Koellensperger, Department of Analytical Chemistry, University of Vienna, Vienna A-1090, Austria.

Jürgen Zanghellini, Department of Analytical Chemistry, University of Vienna, Vienna A-1090, Austria.

Christoph Büschl, Department of Analytical Chemistry, University of Vienna, Vienna A-1090, Austria.

References

  1. da Silva R.R. et al. (2019) Computational removal of undesired mass spectral features possessing repeat units via a Kendrick mass filter. J. Am. Soc. Mass Spectrom., 30, 268–277. [DOI] [PMC free article] [PubMed] [Google Scholar]
  2. Flasch M. et al. (2020) Stable isotope-assisted metabolomics for deciphering xenobiotic metabolism in mammalian cell culture. ACS Chem. Biol., 15, 970–981. [DOI] [PMC free article] [PubMed] [Google Scholar]
  3. Kennedy A.D. et al. (2018) Metabolomics in the clinic: a review of the shared and unique features of untargeted metabolomics for clinical research and clinical testing. J. Mass Spectrom., 53, 1143–1154. [DOI] [PubMed] [Google Scholar]
  4. Loos M., Singer H. (2017) Nontargeted homologue series extraction from hyphenated high resolution mass spectrometry data. J. Cheminform., 9, 12. [DOI] [PMC free article] [PubMed] [Google Scholar]
  5. Schiffman C. et al. (2019) Filtering procedures for untargeted LC-MS metabolomics data. BMC Bioinformatics, 20, 1–10. [DOI] [PMC free article] [PubMed] [Google Scholar]
  6. Tsugawa H. et al. (2021) Metabolomics and complementary techniques to investigate the plant phytochemical cosmos. Nat. Prod. Rep., 38, 1729–1759. [DOI] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

btac647_Supplementary_Data

Articles from Bioinformatics are provided here courtesy of Oxford University Press

RESOURCES