Big Tree Viewer: A high-performance browser-based phylogenetic tree viewer with agentic AI integration

arXiv:2611.30920 · q-bio.PE · Submitted 2026-11-23 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Genomics Radio. Generated commentary on the latest computational biology and genomics papers.

Ines: We're looking at the paper: "Big Tree Viewer".

Paper summary: Ines: So, we've covered the basics of what Big Tree Viewer is trying to solve. The thesis of this paper is that existing tree-viewing software implementations are either too slow to display large trees or they aren't providing enough biological context for the sheer volume of data we have now >

Marcus: They’re specifically targeting those limits, showing that they developed BTV to be optimized for rapid loading and smooth exploration across any scale, up to a million tips or even more >

Yuki: From a population genetics standpoint, I'm interested in the part where they mention that microbial genomics and pathogen surveillance also generate very large trees with millions of viral sequences >

Ines: That’s where the scope gets really wide. It’s not just about species phylogenies; it covers those huge multigene family trees that functional genomics is generating because there are just so many homologous sequences in public databases >

Marcus: And they claim performance comparisons showed BTV had the shortest median loading time at every tested size, ranging from zero point zero four zero seconds for a thousand-tip tree up to two point one nine five seconds for the million tip tree >

Yuki: That speed is important because if we can load those massive trees quickly, we can actually start using them more often to see broader evolutionary histories >

Ines: And they show that by retaining this taxonomic context in large phylogenies, BTV helps researchers locate the lineages contributing to patterns in traits, evolutionary rates, and gene-family composition >

Marcus: It seems the main point is that when we have these massive datasets, an overview that identifies recognizable biological groups rather than just a dense pattern of branches becomes way more useful >

Yuki: I wonder if this automatic labeling feature works well when you're looking at very deep evolutionary time scales where those initial labels might be less meaningful >

Ines: That’s a fair question. The paper suggests that even without full taxonomic mapping, just labeling groups of neighboring tips by shared first words, like a genus name, provides readable large-scale landmarks >

Marcus: So it’s about providing structure to the chaos when you have millions of data points on the screen >

Conclusion: Yuki: To wrap up this paper, Big Tree Viewer is basically a browser-based tool that tackles the performance and informativeness challenges of viewing massive phylogenetic trees today >

Ines: The authors introduce BTV to address those limits by optimizing it for speed and adding automated features like taxonomic mapping and labeling to make those huge trees more usable >

Marcus: The main implication is that researchers can actually use these very large, complex datasets more effectively when they have a tool that lets them see the bigger picture quickly >

Yuki: It moves us closer to being able to uncover patterns in traits and gene family composition across the full breadth of biodiversity because we can manage these massive scales better >

Ines: The title itself points to this: "Big Tree Viewer: A high-performance browser-based phylogenetic tree viewer with agentic AI integration" it shows they aren't just trying to make a pretty picture; they're building a functional system for large scale exploration >

Marcus: And the integration with agentic AI means it’s not just a static viewer anymore, but something you can interact with dynamically, which is important as we move into more complex data analysis workflows >

Yuki: So for anyone working with big genomic datasets who needs to visualize evolutionary history, BTV offers a way to handle the scale that was previously just out of reach >

John B. Allard, Sudhir Kumar

Institute for Genomics and Evolutionary Medicine, Temple University · Department of Biology, Temple University

q-bio.PE

Submitted: 2026-11-23

Updated: 2026-11-23

Code: https://github.com/jbloomlab/Perth2009-DMS-Manuscript

License: http://creativecommons.org/licenses/by-nc-nd/4.0/

Importance score: 78/100

The gist: Phylogenetic trees represent evolutionary history visually, and the ability to display and explore them is a key function in research across biological disciplines.<ref:2611.30920#pg1>.

Key concepts

Big Tree Viewer (BTV)
A web application built in TypeScript and React optimized for fast loading and smooth exploration of phylogenetic trees with millions of tips. It uses Canvas 2D and spatial indexing to efficiently render large datasets directly in the user's browser without needing server uploads.
Taxonomic Mapping
The feature that automatically links binomial species names on the tree to official databases like NCBI Taxonomy or Catalogue of Life. This allows BTV to display colored ribbons around groups, instantly providing biological context and making large trees easier to interpret for researchers.
Agentic AI Integration
The ability for autonomous AI agents to interact with the tree viewer. This is achieved through a local Model Context Protocol (MCP) server, allowing agents to request specific displays, styles, annotations, or inspections of the tree based on user commands.

Terminology

Summary

Phylogenetic trees represent evolutionary history visually, and the ability to display and explore them is a key function in research across biological disciplines. p. 1

Where the paper says it

Abstract Phylogenetic trees represent evolutionary history visually, and the ability to display and explore them is a key function in research across biological disciplines. Very large gene and species trees are becoming common with the increasing availability of low cost DNA sequencing, creating performance and informativeness challenges for display software originally designed for phylogenies with a few hundred to a few thousand tips.

<ref:2611.30920#pg1>. BTV introduces a browser-based Big Tree Viewer highly optimized for fast display and biologically informative exploration of phylogenetic trees containing even a million tips. p. 1
Where the paper says it

Very large gene and species trees are becoming common with the increasing availability of low cost DNA sequencing, creating performance and informativeness challenges for display software originally designed for phylogenies with a few hundred to a few thousand tips. We discuss these limitations and introduce a browser-based Big Tree Viewer (BTV) highly optimized for fast display and biologically informative exploration of phylogenetic trees containing even a million tips.

<ref:2611.30920#pg2, we discuss these limitations and introduce a browser-based Big Tree Viewer (BTV) highly optimized for fast display and biologically informative exploration of phylogenetic trees containing even a million tips>. p. 1
Where the paper says it

Very large gene and species trees are becoming common with the increasing availability of low cost DNA sequencing, creating performance and informativeness challenges for display software originally designed for phylogenies with a few hundred to a few thousand tips. We discuss these limitations and introduce a browser-based Big Tree Viewer (BTV) highly optimized for fast display and biologically informative exploration of phylogenetic trees containing even a million tips.

Addressing Performance Bottlenecks

The paper addresses the performance challenges associated with displaying very large gene and species trees due to increasing sequencing availability.<ref:2611.30920#pg3>. The Big Tree Viewer (BTV) is optimized for rapid loading and smooth exploration of trees at any scale, including those with a million tips or more. p. 2

Where the paper says it

We developed Big Tree Viewer (BTV) to address both the performance and readability of large phylogenetic trees. BTV is a browser-based app optimized for rapid loading and smooth exploration of trees at any scale, including those with a million tips or more.

<ref:2611.30920#pg4, BTV is developed for rapid loading and smooth exploration of trees at any scale, including those with a million tips or more>. p. 2
Where the paper says it

We developed Big Tree Viewer (BTV) to address both the performance and readability of large phylogenetic trees. BTV is a browser-based app optimized for rapid loading and smooth exploration of trees at any scale, including those with a million tips or more.

Performance comparisons showed that BTV had the shortest median loading time at every tested size, ranging from 0. p. 9
Where the paper says it

BTV, Taxonium, and PhyloScape displayed every tested size. BTV had the shortest median loading time at every tested size, ranging from 0.

040 seconds for the 1,000-tip tree to 2. p. 9
Where the paper says it

BTV had the shortest median loading time at every tested size, ranging from 0. 040 seconds for the 1,000-tip tree to 2.

195 seconds for the 1,000,000-tip tree. p. 9
Where the paper says it

040 seconds for the 1,000-tip tree to 2. 195 seconds for the 1,000,000-tip tree.

Enhancing Biological Context and Readability

BTV incorporates several features to enhance biological context and readability for large trees. It can map species names to the NCBI Taxonomy or Catalogue of Life and display colored, labeled ribbons for taxonomic groups. p. 1

Where the paper says it

We discuss these limitations and introduce a browser-based Big Tree Viewer (BTV) highly optimized for fast display and biologically informative exploration of phylogenetic trees containing even a million tips. BTV can automatically map binomial species names to the NCBI or Catalogue of Life taxonomies and display colored ribbons to indicate taxonomic groups for enhanced exploration.

Furthermore, BTV automatically labels groups of neighboring tips that share the first word of their names to provide readable large-scale landmarks. p. 1
Where the paper says it

BTV can automatically map binomial species names to the NCBI or Catalogue of Life taxonomies and display colored ribbons to indicate taxonomic groups for enhanced exploration. Even without taxonomic mapping, BTV automatically labels groups of neighboring tips that share the first word of their names, such as a genus or gene family name, providing readable large-scale landmarks when individual tip labels are too dense to read.

Advanced Visualization and Comparison Tools

The viewer supports multiple layouts, including rectangular, circular, and a new spiral form to display enormously large trees. The spiral layout is inspired by the 2015 TimeTree of Life and allows for connecting broad metadata patterns with local relationships. p. 5

Where the paper says it

Users can zoom into the spiral to inspect branches and labels and pan through neighboring groups, with taxonomy ribbons preserving group identity during navigation (Fig. This makes the layout useful for connecting broad metadata patterns with local relationships, particularly for quantities associated with extant species or recent branches.

Tree comparison tools allow users to inspect differences in relationships and tip order using taxonomic context. p. 6
Where the paper says it

BTV also provides a navigable comparison of trees matched by shared tip labels (Fig. Taxonomy ribbons retain biological context while users inspect differences in relationships and tip order.

Integration with Agentic AI

BTV is designed to integrate with common agentic AI tools, allowing agents to display, style, annotate, and inspect trees at the user's request. This integration is facilitated through desktop MCP tools and a web API. p. 1

Where the paper says it

BTV is also designed to integrate with common agentic AI tools, allowing agents to display, style, annotate, and inspect trees at the user's request. The BTV web app is freely available at https://BigTreeViewer.

Conclusion on Utility

Large-tree visualization becomes more useful when the overview identifies recognizable biological groups rather than only a dense pattern of branches. BTV's automatic genus labels and taxonomy ribbons provide these landmarks, helping users decide which regions warrant closer inspection. The capability extends beyond species phylogenies to include very large multi-gene family trees. p. 7

Where the paper says it

For gene-family trees containing multiple tips per species spread across the phylogeny, taxonomy can be assigned from source-species names or NCBI taxonomy identifiers in the tip labels. Taxonomy and metadata can also be combined in large multi-gene trees, with outer ribbons identifying gene subfamilies and inner taxonomy ribbons identifying the source organisms (Fig.

Materials and Methods for Implementation

BTV is implemented in TypeScript and React, utilizing a Web Worker to parse the tree and construct typed arrays for parent-child relationships. The interactive renderer uses Canvas 2D with spatial indexing to restrict detailed drawing to relevant segments.

Comparative Performance Protocol

Performance tests were conducted using identical balanced Newick trees across six sizes from 1,000 to 1,000,000 tips. BTV had the shortest median loading time at every tested size. p. 9

Where the paper says it

BTV, Taxonium, and PhyloScape displayed every tested size. BTV had the shortest median loading time at every tested size, ranging from 0.

Software and Data Availability

Big Tree Viewer is available at https://bigtreeviewer.net/. Benchmark inputs, scripts, raw results, build records, and figure source data are provided as supplementary data. p. 1

Where the paper says it

net and runs entirely in the user's browser, with no data uploads to any central server. Desktop versions of the BTV app for macOS, Windows, and Linux are also provided for download.

Acknowledgements

This work was supported by the United States National Institutes of Health (R35GM139540 to S.K.) and the United States National Science Foundation (DBI-2505985 to S.K.). Open AI Codex was used through Codex CLI during initial development and subsequently through Codex in the ChatGPT desktop application for Linux. p. 1

Where the paper says it

net and runs entirely in the user's browser, with no data uploads to any central server. Desktop versions of the BTV app for macOS, Windows, and Linux are also provided for download.

References

Carruthers T, Baker WJ, Eiserhardt WL, Forest F, Zuntini AR, Miller JT, Smith SA

Fogg LG, Policarpo M, Salzburger W

Foster ZSL, Chang JH, Grünwald NJ

Hedges SB, Marin J, Suleski M

Hobern D et al

Kopperud BT, Höhna S

Kreft Ł et al

Kuderna LFK et al

Kumar S et al

Langschied F et al

Lee JM et al

Letunic I and Bork P

Parks DH et al

Policarpo M et al

Robinson O et al

Sanderson T

Schoch CL et al

Shank SD et al

Subramanian B et al

TimeTree

Vaughan TG

Discussion

BTV's automatic genus labels and taxonomy ribbons provide landmarks that help users decide which regions warrant closer inspection. The spiral layout extends the presentation introduced in the 2015 TimeTree of Life into a view whose local branches can be inspected interactively. p. 5

Where the paper says it

This makes the layout useful for connecting broad metadata patterns with local relationships, particularly for quantities associated with extant species or recent branches. Metadata and figure preparation In BTV, users can display metadata on the tree and customize the combined view for figure export.

Shared sessions and embedded viewers could let readers examine relationships that a static overview cannot resolve. The approach supports very large multi-gene family trees where taxonomy ribbons identify the organisms represented within each gene-subfamily region. p. 7
Where the paper says it

For gene-family trees containing multiple tips per species spread across the phylogeny, taxonomy can be assigned from source-species names or NCBI taxonomy identifiers in the tip labels. Taxonomy and metadata can also be combined in large multi-gene trees, with outer ribbons identifying gene subfamilies and inner taxonomy ribbons identifying the source organisms (Fig.

Implementation Details

The implementation separates initial tree processing from the main interface thread using a Web Worker to parse the tree and construct typed arrays. The interactive renderer uses Canvas 2D with spatial indexing to restrict detailed drawing to relevant segments. Taxonomy processing utilizes a separate worker and cached mappings for efficient annotation rendering.

AI-assisted Tree Exploration

The desktop application includes a local Model Context Protocol (MCP) server to enable agents to inspect trees. Agents can use the web launch/export API to supply trees and display settings through URL parameters or structured browser messages. p. 3

Where the paper says it

The web app runs within the user's browser, and desktop versions are available for macOS, Windows, and Linux. BTV also provides interfaces for AI agents that let users request help with displaying, styling, annotating, and inspecting trees.

This allows for automated figure preparation by connecting automated figure preparation with interactive inspection. p. 5
Where the paper says it

This makes the layout useful for connecting broad metadata patterns with local relationships, particularly for quantities associated with extant species or recent branches. Metadata and figure preparation In BTV, users can display metadata on the tree and customize the combined view for figure export.

Tests ran sequentially in isolated, hardware-accelerated headless Chrome sessions on an Intel Core i9-14900K workstation. All loading measurements used the same browser-clock procedure from the native file-change event to the matching compositor presentation of the rendered input tree. p. 9

Where the paper says it

195 seconds for the 1,000,000-tip tree. Loading measured native initial displays rather than equal-density rendering: phylotree.

The 95th-percentile display intervals characterize update regularity. p. 9
Where the paper says it

The test required zooming all the way in such that approximately ten tips were visible on the screen, followed by panning up and down. We measured the time between successive updates of the displayed tree and calculated the 95th percentile of these intervals to characterize the longer pauses.

Conclusion on Impact

By retaining taxonomic context in large phylogenies, BTV can help researchers locate the lineages contributing to patterns in traits, evolutionary rates, and gene-family composition. As sequencing reveals evolutionary relationships at ever greater scales, these capabilities will help researchers uncover patterns and communicate findings across the full breadth of biodiversity. p. 2

Where the paper says it

A tree diagram brings branching relationships into a single view, allowing researchers to see the broad course of evolutionary history and recognize patterns. As sequencing costs fall and molecular datasets expand, trees with thousands of species are becoming more common, with some species phylogenies exceeding 100,000 tips (Carruthers et al.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Automated Taxonomic Mapping for Large Trees: The system can automatically map binomial species names to NCBI or Catalogue of Life taxonomies and display colored ribbons to indicate taxonomic groups for enhanced exploration.

  2. Automatic Group Labeling: The BTV can automatically label groups of neighboring tips that share the first word of their names, such as a genus or gene family name, providing readable large-scale landmarks when individual tip labels are too dense to read.

  3. Metadata Visualization Customization: Users can display metadata on the tree and customize the combined view for figure export using continuous and categorical branch colors, node markers, tip pie charts, heatmaps, bar charts, and tables.

  4. Comparative Tree Analysis with Taxonomic Context: The system provides a navigable comparison of trees matched by shared tip labels where taxonomy ribbons retain biological context while users inspect differences in relationships and tip order.

  5. Agentic AI Integration for Inspection: The desktop application includes a local Model Context Protocol (MCP) server, allowing agents to open Newick, NEXUS, and saved-session files in a visible viewer, inspect tree counts and annotation status, change layouts and display settings.

Abstract

Phylogenetic trees represent evolutionary history visually, and the ability to display and explore them is a key function in research across biological disciplines. Very large gene and species trees are becoming common with the increasing availability of low cost DNA sequencing, creating performance and informativeness challenges for display software originally designed for phylogenies with a few hundred to a few thousand tips. We discuss these limitations and introduce a browser-based Big Tree Viewer (BTV) highly optimized for fast display and biologically informative exploration of phylogenetic trees containing even a million tips. BTV can automatically map binomial species names to the NCBI or Catalogue of Life taxonomies and display colored ribbons to indicate taxonomic groups for enhanced exploration. Even without taxonomic mapping, BTV automatically labels groups of neighboring tips that share the first word of their names, such as a genus or gene family name, providing readable large-scale landmarks when individual tip labels are too dense to read. BTV supports metadata display, visual customization, tanglegram-like tree comparisons, statistics, figure export, and multiple tree layouts, including a new spiral form to display enormously large trees. BTV is also designed to integrate with common agentic AI tools, allowing agents to display, style, annotate, and inspect trees at the user's request. The BTV web app is freely available at https://BigTreeViewer.net and runs entirely in the user's browser, with no data uploads to any central server. Desktop versions of the BTV app for macOS, Windows, and Linux are also provided for download.

Related papers