Skip to main content

Lorax

Lorax is a web-native platform for real-time, interactive visualization and exploration of population-scale Ancestral Recombination Graphs.

  • CLI entrypoint: lorax (alias: lorax-arg)

Lorax demo

Key features

  • Scalable rendering: interactive visualization of ARGs at a biobank scale.
  • 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)

conda create -n lorax-runtime python=3.11 pip -c conda-forge
conda activate lorax-runtime
python -m pip install lorax-arg
lorax # this opens lorax in a browser

lorax --file # to directly load file on lorax (preferred for large files.)

Use a dedicated environment instead of Conda base so NumPy, Numba, tskit, and PyArrow are resolved as one compatible stack.

Preprocessed CSR artifacts adjacent to a tree-sequence file are enabled by default in the pip app. To disable them, launch with LORAX_CSR_ARTIFACTS_ENABLED=0 lorax.

Input Formats Tree sequences: .trees and .trees.tsz files (compatible with tskit/tsinfer/tsdate, Relate, ARGweaver output) CSV: One row per recombination interval with columns for genomic position, Newick tree string, tree depth, and optional metadata. Ideal for custom inference pipelines or non-model organisms.

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

Links

Web platform: https://lorax.ucsc.edu Source code: https://github.com/pratikkatte/lorax

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lorax_arg-0.1.8.tar.gz (51.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lorax_arg-0.1.8-py3-none-any.whl (15.3 MB view details)

Uploaded Python 3

File details

Details for the file lorax_arg-0.1.8.tar.gz.

File metadata

  • Download URL: lorax_arg-0.1.8.tar.gz
  • Upload date:
  • Size: 51.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for lorax_arg-0.1.8.tar.gz
Algorithm Hash digest
SHA256 202acdca328cd00f20c223efd3281d997ecc4b3009c47656359ffb653cf0bd5b
MD5 405085f6d83c41a929a9f6dee3445b78
BLAKE2b-256 58458b19a04e869162c1b75f7bb5dc19f3eaea44be1e56121028d02342f0cdfd

See more details on using hashes here.

File details

Details for the file lorax_arg-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: lorax_arg-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 15.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for lorax_arg-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 8d2be1e935faa114ab983f0dfdc0cff4f9dd884396551fc128402aeec4926164
MD5 1715fca50b343e98808e982e03baa235
BLAKE2b-256 e8ff8fbeaf4e97945cf96aa92d923424a99cea81b48ba05ed922d8b0b1af28e8

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.8 This release

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.1

2 files

0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page