Functions to read and write APE-compatible phylogenetic trees in NEXUS and Newick formats, while preserving annotations.