removed old code from motif_tree.py