Entering edit mode
10.7 years ago
Pappu
★
2.1k
I would like to collapse the branches of a tree with topology support of <0.5 and also closely related branches by scripting. Could you tell me how it can be achieved. Here is an example.
(sp|P56726|SMO_MOUSE:0.00978,sp|P97698|SMO_RAT:0.00708,(sp|Q99835|SMO_HUMAN:0.03115,(sp|O42224|SMO_CHICK:0.13084,(sp|P91682|SMO_DROME:1.27659,(tr|Q90YY4|Q90YY4_DANRE:0.00055,tr|Q90X26|Q90X26_DANRE:0.00254)0.997:0.17060)0.982:0.11965)1.000:0.12313)0.990:0.03506);
Thank you.
what do you mean by "collapse"?
I mean hiding the branches will low topological support.
ok, but what is your output? Are you plotting it to a figure? Or printing to the terminal as ASCII characters? Or saving it to a file? Do you have some example code?
I would like to output nexus file. I don't understand ete2 properly.