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

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

Metadata

Release files for lorax-arg 0.1.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lorax-arg 0.1.8
File Size Uploaded Provenance
lorax_arg-0.1.8.tar.gz 51.2 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for lorax-arg 0.1.8
File Interpreter ABI Platform
lorax_arg-0.1.8-py3-none-any.whl Python 3 none any Details

Total release size: 66.5 MB

Release files / lorax_arg-0.1.8.tar.gz

Download URL lorax_arg-0.1.8.tar.gz
Size 51.2 MB
Tags Source
SHA-256 checksum
How to use checksums
202acdca328cd00f20c223efd3281d997ecc4b3009c47656359ffb653cf0bd5b
BLAKE2b-256 checksum
How to use checksums
58458b19a04e869162c1b75f7bb5dc19f3eaea44be1e56121028d02342f0cdfd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Release files / lorax_arg-0.1.8-py3-none-any.whl

Download URL lorax_arg-0.1.8-py3-none-any.whl
Size 15.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8d2be1e935faa114ab983f0dfdc0cff4f9dd884396551fc128402aeec4926164
BLAKE2b-256 checksum
How to use checksums
e8ff8fbeaf4e97945cf96aa92d923424a99cea81b48ba05ed922d8b0b1af28e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.15

Security for lorax-arg 0.1.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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