Biopython get_terminals() doesn't get all terminals
1
0
Entering edit mode
3 months ago
khp35 • 0

Hello,

I downloaded the bac120.tree from GTDB. It has 136646 terminals. When I run

tree = Phylo.read("bac120.tree", "newick")

tips = tree.get_terminals()

I get a list of size one, which is one of the 136646 terminals. I was hoping to get a list of all terminals.

What am I doing wrong?

Thanks and best regards,

biopython tree get_terminals gtdb • 607 views
ADD COMMENT
0
Entering edit mode

welcome back to biostars . 6 years ago you asked a question , you got answer but you left no comment / upvote / validation : Algal vs bacterial 16s chloroplast . It would be nice if you could comment/validate

ADD REPLY
0
Entering edit mode
3 months ago
khp35 • 0

Sorry, my bad. The tree wasn't imported correctly. It works now.

ADD COMMENT

Login before adding your answer.

Traffic: 4995 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6