This repository contains the source code for the ARG-RHE software for scalable variance component analysis using ancestral recombination graphs (ARGs), as well as other ARG-based linear mixed model analyses implemented in the ARG-LMM package. These methods are described in Zhu, Kalantzis et al., Cell Genomics, 2025.
For full usage guide, please refer to the arg-lmm manual. The source code, which relies on the arg-needle-lib library, is available in this repository. Additional scripts to reproduce the ARG-based linear mixed model analyses reported in Zhang et al., Nature Genetics, 2023 are available in this repository.
This package can be installed from PyPI, for example:
pip install arg-lmmThe liu_sf method is copied from chiscore under MIT License instead of using PyPI due to a broken chi2comb dependency.
Zhu, Kalantzis, et al. (2025), "Fast variance component analysis using large-scale ancestral recombination graphs" https://www.cell.com/cell-genomics/fulltext/S2666-979X(25)00328-3