Skip to content
Snippets Groups Projects
Commit 66441ae4 authored by Lingling Jin (lij313)'s avatar Lingling Jin (lij313)
Browse files

check median structure with ancestor numbers

parent f97e90ef
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,8 @@ class GeneFamily:
[leaf1.replace("-", ","), leaf2.replace("-", ","), self.find_other_leaves(leaf1, leaf2, all_leaves)])
newick_tree = newick_tree.replace(newick_tree[last_left: first_right + 1], leaf_pair)
# print(median_structure)
print("The order of ancestors: ")
print(median_structure[-1])
# print(newick_tree)
first_right = newick_tree.find(")")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment