Entering edit mode
9.1 years ago
crystalrose
▴
40
I want to find the ancestor of each sequence in my phylogenetic tree,is there any package can be used in perl or python? My tree file is nwk format and I don't need to consider the branch length. Perl package is better because I'm more good at it.Thank you very much!
You mean the last shared common ancestor in relation to some other sequence in your tree?
yes,I think I just need the last common ancestor.Could you please give me some suggestion? thank you!
I suggest you have a look at the tree. Last common ancestor is always relative to other taxa. For example, if I had a tree with 4 leaves: human, chimp, chicken, and e. coli, what would be the last common ancestor of human? The question makes no sense. Sensible questions would include: 1) what is the last common ancestor of human and chimp? 2) what is the last common ancestor of human and chicken; 3) what is the last common ancestor of human and e.coli. I hope you understand the point I am trying to make. Perhaps you are not looking for the last common ancestor but the nearest phylogenetic neighbor?