Newick and nhx input functions for tnt