Add features on newick tree (then by creating a NHX format)
0
0
Entering edit mode
3.2 years ago
Chvatil ▴ 130

Hello everyone, I need help to add information in my phylogenetic tree on each branch.

I have two pieces of information at my disposal:

1 ) A phylogenetic tree in newick format :

**(mammal:0.14,turtle:0.02,(rayfinfish:0.25,(frog:0.01,salamander:0.01)50:0.12)95:0.09);**

2 ) A matrix with the edge number and information in the Information column:

Edge    Inf
7        0
6        0
5        2
4        1
3        2
2        2
1        2

Does someone have an idea in order to add these informations by creating a NHX format in python (witg ete3 for instance) or with a R package ?

Here is the tree :

Capture-d-e-cran-2021-03-02-a-08-17-57 Thank you for your help

newick nhx phylogeny python r • 843 views
ADD COMMENT
0
Entering edit mode

You've already mentioned ETE3 - what is it about this task that you cannot accomplish with a tool such as this?

ADD REPLY

Login before adding your answer.

Traffic: 1789 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