You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DendroPy Users
I have a largish newick file (~20,000 trees, 1500 tips on each tree), and it's taking a fair while to read all these trees into a TreeList. Is there any way I can output a status bar for how long this is going to take (I tend to use the python tqdm library to report this sort of thing, but even printing out to the console would be fine)?
Jeet Sukumaran
unread,
Oct 20, 2020, 3:03:48 PM10/20/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dendrop...@googlegroups.com
Hi Yan Wong,
What I do in these cases is to use a tree iterator as opposed to a tree
collection. This returns one tree at a time, as opposed to reading all
the trees and then returning, allowing me to maintain a current count.
In cases where trees can be processed singly, it's also more memory
efficient as each tree can be discarded after being processed or
statistics collected.
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dendrop...@googlegroups.com
Hi Yan Wong,
What I do in these cases is to use a tree iterator as opposed to a tree
collection. This returns one tree at a time, as opposed to reading all
the trees and then returning, allowing me to maintain a current count.
In cases where trees can be processed singly, it's also more memory
efficient as each tree can be discarded after being processed or
statistics collected.