UBiT2: a client-side web-application for gene expression data analysis

Jean Fan, David Fan, Kamil Slowikowski, Nils Gehlenborg, Peter V. KharchenkobioRxiv 2017

Abstract

We present a purely client-side web-application, UBiT2 (User-friendly BioInformatics Tools), that provides installation-free, offline alignment, analysis, and visualization of RNA-sequencing as well as qPCR data. Analysis modules were designed with single cell transcriptomic analysis in mind. Using just a browser, users can perform standard analyses such as quality control, filtering, hierarchical clustering, principal component analysis, differential expression analysis, gene set enrichment testing, and more, all with interactive visualizations and exportable publication-quality figures. We apply UBiT2 to recapitulate findings from single cell RNA-seq and Fluidigm Biomark TM multiplex RT-qPCR gene expression datasets. UBiT2 is available at http://pklab.med.harvard.edu/jean/ubit2/index.html with open-source code available at https://github.com/JEFworks/ubit2.

Introduction

Modern biology generates massive amounts of transcriptomic data, particularly from single-cell RNA-sequencing (scRNA-seq) and multiplex qPCR. Analyzing this data typically requires one of two things: proficiency in programming languages like R or Python, or the use of server-based web platforms. Both approaches have friction points. Coding is a barrier for many bench scientists, while server-based tools raise significant concerns regarding data privacy and the cost of maintaining high-performance back-ends. Furthermore, uploading gigabytes of sensitive genomic data to a remote server is often slow and potentially non-compliant with strict privacy regulations. UBiT2 addresses this by creating a "third way": a user-friendly web app that uses the client's (the user's) own hardware to do the heavy lifting.

Methods and Architecture

The defining feature of UBiT2 is its purely client-side architecture. It is built using standard web technologies (HTML5, CSS, and JavaScript) and the D3.js library for interactive visualizations. Key technical components include browser-based alignment using BrowserGenome.org technology, which employs a non-overlapping q-gram indexing algorithm to perform sequence alignment and quantification of FASTQ files directly in the browser. Despite being a web app, it employs the same "gold standard" algorithms used in R packages, such as Principal Component Analysis (PCA), K-means, and hierarchical clustering. For downstream analysis, it uses the Wilcoxon rank-sum test for differential expression and a novel JavaScript version of the non-parametric minimal hypergeometric test (XL-mHG) for gene set enrichment.

Key Insights

UBiT2 prioritizes privacy by default; because data is stored in the browser's local memory and never uploaded to a server, it is inherently "offline-capable" and secure. This makes it an ideal tool for researchers handling sensitive patient data. Additionally, it offers decentralized scalability. Traditional web tools slow down as more users join, but UBiT2 scales perfectly because every new user brings their own "server" (their computer's CPU and RAM) to the task. By bridging the gap between a spreadsheet and a complex bioinformatics pipeline, it allows researchers to copy-paste data directly from Excel and generate publication-quality SVG/PNG figures in minutes.

Key Results

Validation of UBiT2 demonstrated functional parity with R. The authors showed that UBiT2 produces results (PCA plots, heatmaps, and clusters) that are virtually identical to those generated by 100+ lines of specialized R code.

UBiT2 provides functional parity with traditional R-based workflows, generating identical clustering and PCA results without requiring installation or coding.

In a validation study using a dataset of 159 cells from 64-cell stage mouse blastocysts (Guo et al., 2010), UBiT2 successfully identified three distinct transcriptionally subpopulations (trophectoderm, epiblast, and primitive endoderm) and correctly highlighted key markers like Id2 and Pdgfra.

Differential expression analysis in UBiT2 successfully identifies marker genes like ID2 in specific cell subpopulations.

Further testing on scRNA-seq data from fetal cortical cells (Camp et al., 2015) confirmed the tool's ability to handle larger, zero-inflated sequencing datasets. The tool successfully identified neuronal differentiation as a significantly enriched gene set, matching the original study's findings that the cells represented a spectrum from neuroprogenitors to mature neurons.

Conclusion

While powerful, UBiT2 is intended for preliminary exploration rather than exhaustive, deep-dive bioinformatics. Because it relies on the user's browser memory, it may struggle with extremely large datasets that exceed the available local RAM. Future work includes direct integration with public data repositories like GEO and the development of portable, standalone HTML reports to facilitate sharing interactive results with collaborators.

Summary updated

BibTeX
@misc{fan2017ubit,
  author = {Jean Fan and David Fan and Kamil Slowikowski and Nils Gehlenborg and Peter V. Kharchenko},
  title = {{UBiT2: a client-side web-application for gene expression data analysis}},
  year = {2017},
  doi = {10.1101/118992},
  howpublished = {bioRxiv},
}
Figure