@Jean-karim - thanks! ape is what i wanted, nj and mvr do the trick, but a little issue, i need to construct a tree assuming that let's say, if i get 1,2,3 there is a possibility of 1 being the father of 2,3 (that are brothers). nj and mvr give me a tree where all the samples are leaves, and none of them are the father of one another,
is there a way not to assume that?
thanks.
what kind of format you have?
i am trying to construct phylogenetic tree for texts, so the format is somewhat more complex, a matrix of n*m, every matrix(i,j) is a word. i have a component that will calculate the distance beetween different entries of the matrix.
i can reduce the words to vector of values and can calculate distance beetween them. i need to be able to activate the phylogenetic algorithm with my own distance calculation.
@medhat
is this do the job?
http://pycogent.org/cookbook/building_phylogenies.html
http://etetoolkit.org/docs/latest/tutorial/index.html
http://biopython.org/wiki/Phylo
@medhat
all the above are good for 1.inferring trees for genetic information 2.plotting trees that are allready made.
i need to infer trees for data, that is not genetic, hence, i need to be able to create the distance matrix for it. i can't find any way to do so with what you posted...