NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

AlignmentViewer: Sequence Analysis of Large Protein Families

Roc Reguant, Yevgeniy Antipin, Robert P. Sheridan, Christian Dallago, Drew Diamantoukos, Augustin Luna, Chris Sander, Nicholas Paul GauthierF1000research 2020

Introduction

AlignmentViewer is a lightweight, serverless web application designed for the visualization and analysis of massive protein sequence alignments directly within a web browser. By utilizing client-side JavaScript and UMAP dimensionality reduction, it enables researchers to explore protein families containing tens of thousands of sequences without the need for software installation or server-side processing.

Addressing the Scale of Modern Bioinformatics

Multiple Sequence Alignments (MSAs) are fundamental to protein analysis, aiding in 3D structure prediction, functional residue identification, and evolutionary studies. However, the explosion of genomic sequencing data has led to protein families with tens of thousands of sequences, outstripping the capabilities of traditional tools.

Existing solutions typically fall into two categories: heavy desktop applications that struggle with large datasets, or web-based viewers requiring complex server-side infrastructure. AlignmentViewer fills this gap by providing a highly accessible, browser-based tool capable of handling the "big data" scale of modern evolutionary biology.

Methodology and Technical Implementation

The core of AlignmentViewer is its 100% client-side architecture. All rendering, filtering, and statistical calculations are performed on the user's local machine, ensuring data privacy and reducing server overhead.

Key Technical Components:

  • Interactive Visualization: Built with D3.js, the tool provides high-performance, interactive data displays.
  • Pixel View Mode: To manage massive alignments, this mode represents amino acids as colored pixels rather than text. This "bird's-eye view" allows for the immediate identification of conservation patterns and noise across the entire alignment.
  • Dimensionality Reduction via UMAP: AlignmentViewer implements a JavaScript version of Uniform Manifold Approximation and Projection (UMAP). By calculating Hamming distances between sequences, it projects high-dimensional data into a 2D or 3D "sequence space," allowing for intuitive visual clustering.
  • Seamless Integration: The tool supports URL query parameters, enabling external services (such as EVcouplings.org) to link directly to specific, pre-loaded alignments.

Key Insights: The Advantages of Client-Side Analysis

The transition to a serverless, client-side model offers several distinct advantages:

  1. Privacy and Security: Since data is processed locally in the browser, proprietary or sensitive sequence data is never uploaded to a third-party server.
  2. Intuitive Sequence Space: Traditional phylogenetic trees often become unreadable at scale. UMAP-based mapping allows researchers to visualize sub-families as distinct "islands," providing a clearer understanding of evolutionary relationships.
  3. Multi-Scale Exploration: Users can seamlessly transition from a detailed "Logo view" of individual residues to a global "Pixel view," facilitating the observation of both specific mutations and broad evolutionary trends.

Performance and Results

AlignmentViewer has demonstrated the ability to handle alignments of up to 50,000 sequences (approximately 13 MB) with load times under one minute on standard modern browsers. While it performs optimally on Google Chrome, it remains functional across various platforms.

The tool is open-source under the MIT License and requires no installation, providing a "zero-friction" solution for the bioinformatics community. Users can filter sequences by identity, sort by various attributes, and overlay evolutionary coupling data to predict residue interactions in 3D space.

Limitations and Future Directions

While powerful, AlignmentViewer currently relies on users to provide their own tree-derived sequence order if specific phylogenetic visualization is required. It is also subject to the memory constraints of the host web browser. Future development goals include the integration of species diversity visualizations, predicted contact maps, and enhanced organization for complex sub-families.

Source Code: https://github.com/sanderlab/alignmentviewer
Live Demo: https://alignmentviewer.org/

Summary updated

BibTeX
@article{reguant2020alignmentviewer,
  author = {Roc Reguant and Yevgeniy Antipin and Robert P. Sheridan and Christian Dallago and Drew Diamantoukos and Augustin Luna and Chris Sander and Nicholas Paul Gauthier},
  title = {{AlignmentViewer: Sequence Analysis of Large Protein Families}},
  journal = {F1000research},
  year = {2020},
  doi = {10.12688/f1000research.22242.1},
}
Figure