altanalyze Wiki
Alternative splicing and functional prediction analysis tool
Brought to you by:
nsalomonis
note: Win32 and Win64 unofficial installers can be found here: http://www.lfd.uci.edu/~gohlke/pythonlibs/
- easy_install python-graph-core
* install MacPorts (easy install for mac apps – from dmg)
* sudo install graphviz
- ran example python-graph file and received a warning about trying to import the module gv. The module gv appears to be local to python graph and is called when graphviz is found in the indicated path (path is manually specified in the test code.) No graphviz folder containing a folder named python found. No solution on the Wiki for mac.
- Saw at http://stackoverflow.com/questions/5639049/setting-graph-attributes-in-pygraph that pyGraphViz can run virtually the same example and work without using the above python-graph… this worked! Use this instead (only dependency is graphviz and possibly dot – not sure). Need to test on PC and Linux.
- Depends on numpy (already installed)
* File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib-1.1.0-py2.7-macosx-10.6-intel.egg/matplotlib/animation.py", line 248, in _blit_clear _
* a.figure.canvas.restore_region(bg_cachea)
* AttributeError: 'FigureCanvasMac' object has no attribute 'restore_region'
* No function restore_region in the class FigureCanvasMac in the module “backend_macosx.py” (only one that contains FigureCanvasMac).
* After contacting the MatPlotLib community, discovered that setting blit=False will fix this problem.
- Depends on Cairo for non-SVG based visualization (PNG, PDF)