This is treefarm.

treefarm is an extension of the yt analysis toolkit for creating merger-trees. The treefarm package began as a submodule of the ytree package, but is now its own thing. treefarm can create merger-trees for halo catalog data support by yt for which halo particles can be loaded. Currently, this is limited to Gadget FoF/Subfind catalogs. The resulting merger-trees can be loaded with ytree.

Citing treefarm

If you use treefarm in your work, for now please cite the ytree package:

Britton Smith, & Meagan Lang. (2018, February 16). ytree: merger-tree toolkit. Zenodo. http://doi.org/10.5281/zenodo.1174374

For BibTeX users:

@misc{britton_smith_2018_1174374,
  author       = {Britton Smith and
                  Meagan Lang},
  title        = {ytree: merger-tree toolkit},
  month        = feb,
  year         = 2018,
  doi          = {10.5281/zenodo.1174374},
  url          = {https://doi.org/10.5281/zenodo.1174374}
}

If possible, please also add a footnote pointing to https://treefarm.readthedocs.io.