bioRxiv · 10.1101/2024.03.13.584790
tstrait: a quantitative trait simulator for ancestralrecombination graphs
Abstract
SummaryAncestral recombination graphs (ARGs) encode the ensemble of correlated genealogical trees arising from recombination in a compact and efficient structure, and are of fundamental importance in population and statistical genetics. Recent breakthroughs have made it possible to simulate and infer ARGs at biobank scale, and there is now intense interest in using ARG-based methods across a broad range of applications, particularly in genome-wide association studies (GWAS). Sophisticated methods exist to simulate ARGs using population genetics models, but there is currently no software to simulate quantitative traits directly from these ARGs. To apply existing quantitative trait simulators users must export genotype data, losing important information about ancestral processes and producing prohibitively large files when applied to the biobank-scale datasets currently of interest in GWAS. We present tstrait, an open-source Python library to simulate quantitative traits on ARGs, and show how this user-friendly software can quickly simulate phenotypes for biobank-scale datasets on a laptop computer. Availability and Implementationtstrait is available for download on the Python Package Index. Full documentation with examples and workflow templates is available on https://tskit.dev/tstrait/docs/, and the development version is maintained on GitHub (https://github.com/tskit-dev/tstrait). Contactdaiki.tagami@hertford.ox.ac.uk
Source connections
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Tagami, D., Bisschop, G., Kelleher, J.. 2024-03-14. tstrait: a quantitative trait simulator for ancestralrecombination graphs. https://doi.org/10.1101/2024.03.13.584790
Cite the original work for its findings. Save a collection to share your selection of sources.