def stringClade(taxrefs, name, at):
string = []<EOL>for ref in taxrefs:<EOL><INDENT>d = float(at-ref.level)<EOL>ident = re.sub("<STR_LIT>", "<STR_LIT:_>", ref.ident)<EOL>string.append('<STR_LIT>'.format(ident, d))<EOL><DEDENT>string = '<STR_LIT:U+002C>'.join(string)<EOL>string = '<STR_LIT>'.format(string, name)<EOL>return string<EOL>
Return a Newick string from a list of TaxRefs