def bootstrap_consensus(msa, times, tree_constructor, consensus):
 trees = bootstrap_trees(msa, times, tree_constructor)
 tree = consensus(list(trees))
 return tree

def bootstrap_consensus ( msa , times , tree_constructor , consensus ) : trees = bootstrap_trees ( msa , times , tree_constructor ) tree = consensus ( list ( trees ) ) return tree
consensus tree of a series of bootstrap trees for a multiple sequence alignment .