shell tools for processing phylogenetic trees