Entering edit mode
8.2 years ago
arunprasanna83
▴
60
Hello,
I have trees from treefix. The format in tree is a kind of stacked version of newick format. Like this:
(
Taxon_A,
Taxon_B
);
How to convert this into normal newick format ? (Taxon_A,Taxon_B);. Is there any existing method?
Thanks in Advance,
AP
ete3 can read newick files even if there are new lines and spaces in it. use tree.write() to export back in a clean newick string.