Switch to dendropy from ete and collapse nodes.