mirror of
http://43.156.76.180:8026/YuuMJ/EukPhylo.git
synced 2025-12-27 04:00:25 +08:00
Update ColorByClade.py
Changed to root on bacteria (Ba) and not prokaryotes (Ba, Za).... did not test
This commit is contained in:
parent
5486c4289b
commit
aec7f6caf9
@ -151,7 +151,7 @@ def reroot(tree):
|
||||
return best_clade
|
||||
|
||||
#Get the biggest clade for each taxonomic group (stops once it finds one)
|
||||
for taxon in [('Ba', 'Za'), ('Op'), ('Pl'), ('Am'), ('Ex'), ('Sr')]:
|
||||
for taxon in [('Ba'), ('Za'), ('Op'), ('Pl'), ('Am'), ('Ex'), ('Sr')]:
|
||||
clade = get_best_clade(taxon)
|
||||
|
||||
if len([leaf for leaf in clade if leaf.name[:2] in taxon]) > 3:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user