def bpp2newick(bppnewick):
regex1 = re.compile(r"<STR_LIT>")<EOL>regex2 = re.compile(r"<STR_LIT>")<EOL>regex3 = re.compile(r"<STR_LIT>")<EOL>new = regex1.sub("<STR_LIT::>", bppnewick)<EOL>new = regex2.sub("<STR_LIT:;>", new)<EOL>new = regex3.sub("<STR_LIT::>", new)<EOL>return new<EOL>
converts bpp newick format to normal newick