}

Tsinfer is a Python package to infer an ARG in tree sequence format from large quantities of phased DNA sequence data in VCF Zarr format (see the usage documentation for how to convert data from a VCF into a suitable input format).

sample_data = tsinfer.load(
    "phased_sequence_data.samples"
)
ts = tsinfer.infer(sample_data)