Parsing treebreaker output

Treebreaker is a nice piece of software which detects changes in the distribution of a phenotype across a phylogenetic tree. Code here. Paper here. In my case, I’m using it to find clades of lineage 4¬†M. tuberculosis¬†which are associated with East/Southeast Asia. It takes a phylogenetic tree and a phenotype file (the leaf labels and…