Commit 289b9991 authored by Carine Rey's avatar Carine Rey Committed by LANORE Vincent
Browse files

update the C4AmaranthaceaePolyroot tree

parent 85a79617
from ete3 import Tree
import sys
def m_bl(t_n, m):
nb_root_children = len(t.get_children())
if nb_root_children > 2:
print("Unrooted tree")
for n in t.traverse():
n.dist = n.dist * m
out_n = t_n.replace(".nhx",".bl_%.2f.nhx" %(m))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment