I have been working with phylogenetic trees and I am using biopython 1.72. The module "BaseTree" has class "Tree" and there is a class method named "randomized" which "create a randomized bifurcating tree given a list of taxa." If anyone has a knowledge about this pakage,
1) I want to ask if this method can be used for protein sequence files ? For example, for an aligned sequence file, if the taxa names are stored as the keys of dictionary and the respected sequences are stored as the values of dictionary, then how can this method of biopython be used to give a randomized bifurcating tree?
2) How a given unrooted tree be converted to a rooted tree using biopython?