How best to draw very large trees #577
Unanswered
theo-allnutt-bioinformatics
asked this question in
Q&A
Replies: 1 comment
-
That's challenging for ETE v3. We are working on a new version (ete4 branch
on github) that should enable exploring very large trees in both
rectangular and circular mode.
There is a demo at http://treeview.etetoolkit.org
…On Thu, 14 Oct 2021 at 07:51, Theo Allnutt Bioinformatics < ***@***.***> wrote:
Hi,
I need to use ete3 to draw and annotate a very large tree (~6000 leaves).
I am usign a circular style. I need to be able to zoom in and preserve e.g.
font resolution. I have tried .svg but it does not render any text for me.
.pdf is better, but when I try to make a large image, it becomes very very
faint.
How do users best do this?
Thanks,
T.
e.g. my render line:
t= get_tree(tree1,data,font_size,all_colours) #function to annotate and
generate tree
ts = TreeStyle()
ts.show_leaf_name = False
ts.mode='c'
t.render(name1+".pdf", w=8000, dpi=1200,tree_style=ts)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#577>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABH6SX5YSZYFZ4A4NS3IPDUGZVUPANCNFSM5F6ZR5YQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I need to use ete3 to draw and annotate a very large tree (~6000 leaves). I am usign a circular style. I need to be able to zoom in and preserve e.g. font resolution. I have tried .svg but it does not render any text for me. .pdf is better, but when I try to make a large image, it becomes very very faint.
How do users best do this?
Thanks,
T.
e.g. my render line:
t= get_tree(tree1,data,font_size,all_colours) #function to annotate and generate tree
ts = TreeStyle()
ts.show_leaf_name = False
ts.mode='c'
t.render(name1+".pdf", w=8000, dpi=1200,tree_style=ts)
Beta Was this translation helpful? Give feedback.
All reactions