link-ancestors: fast simulation of local ancestry with tree sequence software.
Georgia TsambosJerome KelleherPeter RalphStephen LeslieDamjan VukcevicPublished in: Bioinformatics advances (2023)
A C-based implementation of the link-ancestors algorithm is in tskit (https://tskit.dev/tskit/docs/stable/). We also provide a user-friendly wrapper for link-ancestors in tspop, a Python-based utility package.