Use for questions related to the ETE toolkit version 3, a Python framework to work with trees.
Questions tagged [ete3]
36 questions
0
votes
1 answer
Most closely related leaves in a tree (ete3 package)
Hello I have a tree such as :
>>> print(tree)
/-A
--|
| /-B
\-|
| /-C
\-|
| /-D
\-|
\-E
tree=Tree("(A,(B,C,(D,E)));") (ete3 function)
And I'm looking for a way to see the closest leaves to a…

Grendel
- 783
- 4
- 12
0
votes
1 answer
How specific leafs can be removed using ete3
I have a list of objects:
Data:
0 RS_GCF_001999625.1
1 RS_GCF_001658645.1
2 RS_GCF_900117665.1
3 RS_GCF_000652055.1
4 RS_GCF_003037025.1
5 RS_GCF_002138225.1
6 RS_GCF_001186785.1
7 …

Manolo Dominguez Becerra
- 1,205
- 11
- 21
0
votes
1 answer
Unable to run t.render() from ete3 Python at MacOS Sierra
I am trying to run the code from ete3 website, but keep getting the following error:
ImportError Traceback (most recent call last)
in ()
1 from ete3 import Tree
2 t =…

Fxs7576
- 1,259
- 4
- 23
- 31
0
votes
3 answers
Is there any way to have simple ascii visualization of binary search tree?
I have developed a binary search tree structure and I want to add some function which can visualize the tree.
The code below belongs to Binary Search Tree:
class Node(object):
def __init__(self, data):
self.data = data
…

Masoud Masoumi Moghadam
- 1,094
- 3
- 23
- 45
0
votes
1 answer
ETE3: How to get different attributes on the tree made by .get_topology
I made a phylotree using .get_topology on a list, but I cannot add the scientific names and rank to the nodes. Specifically :
from ete3 import NCBITaxa, Tree, TreeStyle, NodeStyle
Ltax = [561863, 333367, 518636, 1262999, 657322, 550540, 44012,…

Arash Saber Tehrani
- 51
- 2
-1
votes
1 answer
How to display multiple trees simultaneously with ete3?
I debuted recently on ete3 (on Python3), and for debugging purposes I would find convenient to display two trees side to side, as in matplotlib.pyplot.subfig for instance. However, I found no information about this in the documentation nor on this…

globglogabgalab
- 103
- 8