mattb112885 / clusterDbAnalysis

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

Sanitized gene IDs do not work with db_displayTree or db_replaceGeneWithAnnotation #57

Closed mattb112885 closed 10 years ago

mattb112885 commented 10 years ago

Sanitized gene IDs (which you get from the tree programs since some tree displayers dont like special characters) do not get correctly replaced by the annotation in db_displayTree or db_replaceGeneWithAnnotation. The replacement should become a generic function used by both of these and whatever other scripts need to replace ITEP IDs with readable formats.

mattb112885 commented 10 years ago

I just fixed this; the old function for unsanitizing gene IDs (unsanitizeGeneId) was located in TreeFuncs.py but has been moved to the more logical place sanitizeString.py, and the proper calls were made. db_displayTree still needs some work to integrate more tightly with existing library functions but since it works now I'll close this.