Visualization and Analysis of Ancestral Recombination Graphs
  • HTML 62.4%
  • JavaScript 21.3%
  • Python 15.7%
  • TypeScript 0.3%
  • Shell 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-05-16 18:17:03 -07:00
docker repo cleanup 2026-02-16 15:29:02 -08:00
docs/images update gif 2026-02-16 23:39:41 -08:00
packages default bucket name 2026-05-16 18:17:03 -07:00
scripts release tag. git cleanup 2026-05-16 17:13:50 -07:00
.dockerignore docker container 2026-01-29 12:30:46 -08:00
.gitignore release tag. git cleanup 2026-05-16 17:13:50 -07:00
cloudbuild.yaml deployment 2026-05-15 20:06:27 -07:00
CONTRIBUTING.md README update 2026-02-16 15:15:50 -08:00
Dockerfile webiste with jbrowse deployment 2026-05-14 00:54:29 -07:00
INSTALL.md pip packaging bug fix 2026-05-16 17:11:18 -07:00
LICENSE LICENSE 2026-02-16 15:32:44 -08:00
package-lock.json webiste with jbrowse deployment 2026-05-14 00:54:29 -07:00
package.json test 2026-02-01 12:44:47 -08:00
playwright.config.js test 2026-02-01 12:44:47 -08:00
pyproject.toml updated assembly 2026-05-16 10:45:06 -07:00
README.md README.md update 2026-02-16 21:12:32 -08:00
yarn.lock updated assembly 2026-05-16 10:45:06 -07:00

Lorax

Interactive visualization and exploration of Ancestral Recombination Graphs (ARGs)

PyPI version License: MIT Python 3.10+

Web platform: lorax.ucsc.edu | Pip package: lorax-arg

Lorax demo

Key Features

  • Scalable rendering -- Interactive visualization of ARGs at biobank scale using WebGL
  • Genome-wide navigation -- Traverse genomic coordinates and inspect local genealogies at recombination breakpoints
  • Mutation-aware -- Trace variant inheritance through local genealogies
  • Metadata integration -- Filter, color, and subset samples by population labels, phenotypes, or custom annotations
  • Flexible inputs -- Supports .trees, .trees.tsz (tskit tree sequences), and CSV-based ARG representations

Quick Start

pip install lorax-arg
lorax

This opens Lorax in your browser. To load a file directly (preferred for large files):

lorax --file path/to/your.trees

Run with Docker

docker pull pratikkatte7/lorax
docker run -it -p 80:80 lorax

Then open http://localhost:80 in your browser.

For more installation options (building from source, Docker builds, volume mounting, environment variables), see INSTALL.md.

Supported Input Formats

Format Description
.trees, .trees.tsz compatible with tskit tree sequences files; .trees.tsz is a tszip-compressed variant.
.csv One row per recombination interval with genomic position, Newick tree, depth, and optional metadata

Use Cases

  • Explore signatures of natural selection in local genealogies
  • Visualize introgression and admixture across genomic regions
  • Trace ancestry of specific samples through population-scale ARGs
  • Navigate from GWAS hits or functional annotations to underlying genealogical structure

Citation

If you use Lorax in your research, please cite:

Lorax: Interactive visualization of Ancestral Recombination Graphs. https://github.com/pratikkatte/lorax

License

Lorax is released under the MIT License.

Maintainer

Pratik Katte
Department of Biomolecular Engineering & Bioinformatics
University of California, Santa Cruz