I forgot to mention that, there are ~12k files !
• 0 views
•
link
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
Log in to answer this question.
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.