mattb112885 / clusterDbAnalysis

ITEP - Integrated Toolkit for Exploration of microbial Pan-genomes
26 stars 15 forks source link

Need a function to reroot a tree without replacing gene names with organism names and annotations #40

Closed mattb112885 closed 11 years ago

mattb112885 commented 11 years ago

Some functions (like the neighborhood tree displayer) require you to still have the original IDs in there, and FigTree adds a quote to every ID which makes it very hard to figure out what is wrong if you don't know what you're looking for. I should just make a function to reroot the tree so we don't have to go through db_displayTree to do it (which replaces the gene IDs with annotations and organism names - good for displaying the tree, not so good for making a new tree for further analysis that interacts with the database).

mattb112885 commented 11 years ago

Added rerootTree.py to fulfill this function.