Open kullrich opened 1 month ago
Hi, this is a feature request. In the documentation there is the following example:
from ete3 import NCBITaxa ncbi = NCBITaxa() tree = ncbi.get_topology([9606, 9598, 10090, 7707, 8782]) print tree.get_ascii(attributes=["sci_name", "rank"])
The question for me is now how to change the original tree that it will use the sci_name insead of the taxid printing or writing a newick tree.
sci_name
The get_ascii is not helping here since it does not output in newick format.
get_ascii
An easy way how to e.g. combine "sci_name", "taxid", with a delimiter would be a nice feature.
Thank you in anticipation
Best regards
Kristian
Hi! Indeed we tried not to change the original tree newick format. That sounds like a interesting feature, I will see what I can do!
Best, Ziqi
Hi, this is a feature request. In the documentation there is the following example:
The question for me is now how to change the original tree that it will use the
sci_name
insead of the taxid printing or writing a newick tree.The
get_ascii
is not helping here since it does not output in newick format.An easy way how to e.g. combine "sci_name", "taxid", with a delimiter would be a nice feature.
Thank you in anticipation
Best regards
Kristian