preprint coming out soon about this specifically :)
in the meantime, here's a simple tool paper we wrote explaining how you can treat this like a cool graph database challenge [1] and a preprint showing how you could approach that question when your number of samples per animal is close to N=1 [2]. basically..... it's hard! but also.... it's cool!