implement the function to analyze clone genealogies for SEI