Hi Rutger,
I am considering this tree:
(A,(((B,(C,D)),E),((F,G),(H,(I,(J,K))))),L);
The following are actual cherries: (A,L), (C,D), (F,G), (J,K);
But get_cherries() does not report (A,L).
Is this a bug, or am I misunderstanding?
The
reason I came across this, is that I would like to consider every
bipartition in a tree. I did not see a way to do this so I tried using
get_entities to traverse every possible clade and build my own
bipartitions, but this did not behave as I expected. Many clades are
missing from my get_entities call – for example, (A,L) and
((A,L),(((B,(C,D)),E)). I thought maybe it was a rooting problem, but
is_root() function says this tree is not rooted. Am I missing something
here as well?
Best wishes,
Joe