def bootstrap_trees(msa, times, tree_constructor):
 msas = bootstrap(msa, times)
 for aln in msas:
  tree = tree_constructor.build_tree(aln)
  (yield tree)

def bootstrap_trees ( msa , times , tree_constructor ) : msas = bootstrap ( msa , times ) for aln in msas : tree = tree_constructor . build_tree ( aln ) ( yield tree )
generate bootstrap replicate trees from a multiple sequence alignment .