RedRibbon: A new rank-rank hypergeometric overlap pipeline to compare gene and transcript expression signatures

Anthony Piron, Florian Szymczak, Maria Inês Alvelos, Matthieu Defrance, Tom Lenaerts, Décio L. Eizirik, Miriam CnopbioRxiv 2022

TL;DR

High-throughput sequencing generates massive datasets, making it hard to compare gene and transcript expression signatures. RedRibbon is a new, fast, and accurate tool that uses a rank-rank hypergeometric overlap method to analyze these large datasets, even at the transcript level, uncovering subtle biological patterns previously missed.

What Problem Does This Paper Address?

The explosion of omics data, particularly from RNA sequencing (RNA-Seq), has created a need for powerful tools to compare and analyze vast amounts of information. While methods like Rank-Rank Hypergeometric Overlap (RRHO) exist for comparing gene expression signatures, they struggle with the sheer scale and complexity of transcript-level data. Transcript numbers can be orders of magnitude larger than gene numbers, making existing RRHO implementations too slow or inaccurate. This gap means crucial biological insights, especially those related to alternative splicing and its role in diseases, are often lost when data is aggregated at the gene level.

Methods

RedRibbon is a complete rewrite of existing RRHO tools, built from the ground up for performance and accuracy. Key innovations include:

  • Evolutionary Algorithm for Minimal P-value Search: Instead of a grid-based search, RedRibbon employs an evolutionary algorithm. This approach treats map coordinates as individuals in a population, using selection and mutation to efficiently find the most significant overlap points, especially on very large datasets.
  • Hybrid Prediction-Permutation (HPP) Method: To accurately adjust P-values and account for correlations between genes/transcripts without re-running computationally expensive differential expression analyses, RedRibbon uses an HPP method. This involves permuting uncorrelated features and predicting correlated ones using linear models.
  • Optimized Data Structures: The use of bitsets (C arrays of 64-bit unsigned integers) allows for extremely fast set intersections, a core operation in RRHO, by leveraging CPU bit instructions.
  • Compatibility Mode: RedRibbon includes a mode to seamlessly replace older RRHO implementations, allowing users to re-run existing analyses with improved performance and accuracy with minimal code changes.

Datasets

The paper utilizes several datasets for evaluation:

  • Synthetic Datasets: Two sets of synthetic gene sets were generated to rigorously assess the accuracy of RedRibbon's evolutionary algorithm and grid method. These datasets simulate varying degrees of correlation and noise to mimic real-world scenarios.
  • Real RNA-Seq Datasets: Several RNA-sequencing datasets were used, including those from human islets of Langerhans (type 2 diabetic and non-diabetic donors), and the EndoC-BH1 beta cell line. These datasets were previously analyzed and are available through the Gene Expression Omnibus (GEO) under accession numbers GSE159984, GSE133218, GSE137136, GSE98485, GSE148058, and GSE108413. These were used to compare RedRibbon's performance against existing methods and to investigate alternative splicing in diabetes models.

Key Insights and Ideas

  • Transcript-level analysis is crucial for alternative splicing: Aggregating transcript data to the gene level can obscure important biological signals related to alternative splicing, which plays a significant role in cellular function and disease. RedRibbon's ability to handle transcript-level data directly unlocks new insights.
  • Evolutionary algorithms can outperform traditional methods for large-scale data: For massive datasets, the evolutionary algorithm in RedRibbon offers a significant advantage in speed and accuracy for finding the most significant overlap points compared to traditional grid-based approaches.
  • Accurate P-value adjustment is vital for robust findings: The HPP method provides a computationally efficient way to obtain reliable adjusted P-values, crucial for controlling false discoveries when dealing with complex, correlated data.
  • RedRibbon bridges the gap between gene and transcript analysis: The tool's compatibility mode and its ability to handle transcript-level data make it a valuable upgrade for existing RRHO-based studies, enabling more detailed and accurate comparisons.

Key Results

  • Performance: RedRibbon is significantly faster than previous RRHO implementations. For lists of 262,144 genes, RedRibbon takes under 25 seconds, while the original implementation takes close to 200 seconds for lists of 65,536 genes. The permutation method is also orders of magnitude faster.
  • Accuracy: The evolutionary algorithm in RedRibbon demonstrates superior accuracy in detecting true positives (TPR) and overall accuracy compared to the classic grid method, particularly on synthetic datasets designed to mimic real-world complexity.
  • Transcript Analysis: RedRibbon successfully analyzed transcript-level data for hundreds of thousands of transcripts, a task previously infeasible with existing tools. This allowed for the identification of splicing networks and similarities between different cell types (e.g., EndoC-BH1 cells and human islets) under various conditions.
  • Type 1 Error Control: The permutation method conservatively controls for type 1 errors, with an adjusted P-value below 0.05 reported for only 1.3% of analyses against a random background.

Limitations and Future Work

  • Non-determinism of Evolutionary Algorithm: While mitigated by initialization strategies, the evolutionary algorithm is inherently non-deterministic. The authors note that in their experiments, it did not produce worse results than the grid method and overlap sets were highly similar.
  • Pathway Databases: The paper highlights that many pathway databases are gene-centric, requiring conversion of transcript data to gene data for enrichment analysis. The authors suggest that the development of transcript-level pathway databases would further enhance the utility of tools like RedRibbon for alternative splicing analysis.
  • Future Work: The authors envision RedRibbon as a valuable addition to bioinformatic toolsets for analyzing and comparing diverse datasets, particularly for uncovering splicing networks and facilitating transcript-level comparisons. The development of transcript-level pathway databases is a key area for future advancement.

Summary updated

Abstract

Abstract Motivation High throughput omics technologies have generated a wealth of large protein, gene and transcript datasets that have exacerbated the need for new methods to analyse and compare big datasets. Rank-rank hypergeometric overlap is an important threshold-free method to combine and visualize two ranked lists of P -values or fold-changes, usually from differential gene expression analyses. Here, we introduce a new rank-rank hypergeometric overlap-based method aimed at both gene level and alternative splicing analyses at transcript or exon level, hitherto unreachable as transcript numbers are an order of magnitude larger than gene numbers. Results We tested the tool on synthetic and real datasets at gene and transcript levels to detect correlation and anti-correlation patterns and found it to be fast and accurate, even on very large datasets thanks to an evolutionary algorithm based minimal P -value search. The tool comes with a ready-to-use permutation scheme allowing the computation of adjusted P -values at low time cost. Additionally, the package is a drop-in replacement to previous packages as a compatibility mode is included, allowing to re-run older studies with close to no change to existing pipelines. RedRibbon holds the promise to accurately extricate detailed information from large analyses. Availability RNA-sequencing datasets are available through the Gene Expression Omnibus (GEO) portal with accession numbers GSE159984, GSE133218, GSE137136, GSE98485, GSE148058 and GSE108413. The C libraries and R package code are open to the community with a permissive licence (GPL3) and available for download from GitHub https://github.com/antpiron/ale , https://github.com/antpiron/cRedRibbon and https://github.com/antpiron/RedRibbon . Contact [email protected]
BibTeX
@misc{piron2022redribbon,
  author = {Anthony Piron and Florian Szymczak and Maria Inês Alvelos and Matthieu Defrance and Tom Lenaerts and Décio L. Eizirik and Miriam Cnop},
  title = {{RedRibbon: A new rank-rank hypergeometric overlap pipeline to compare gene and transcript expression signatures}},
  year = {2022},
  doi = {10.1101/2022.08.31.505818},
  howpublished = {bioRxiv},
}

Loading related content...

Figure