phylogeny

Dendropy: Add inner node midway between two nodes

Dendropy: Add inner node midway between two nodes Question: I’m very new to DendroPy. What I want to do seems simple but I can’t figure how to do it correctly and I didn’t find anything on the internet. I want to add a node midway between two nodes in a existing rooted dendropy tree. from …

Total answers: 1

Newick tree representation to scipy.cluster.hierarchy linkage matrix format

Newick tree representation to scipy.cluster.hierarchy linkage matrix format Question: I have a set of genes which have been aligned and clustered based on DNA sequences, and I have this set of genes in a Newick tree representation (https://en.wikipedia.org/wiki/Newick_format). Does anyone know how to convert this format to the scipy.cluster.hierarchy.linkage matrix format? From the scipy docs …

Total answers: 3