Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は、ete2 コマンド Tree()、.add_child()、.add_sister() などを使用して Python でツリーを描画しました。このツリーを対応する Newick 形式に変換する方法はありますか?
from ete3 import Tree tree = Tree() tree.add_child(name="c") tree.add_child(name="b") print tree.write() #(c:1,b:1);