Ask Your Question
0

How to use E.T.E. a Python tree package within Sage?

asked 2013-01-19 10:04:51 +0100

Rolandb gravatar image

Hi, ETE is a Python based tree building package with nice graphical support. Can I use it within Sage? Thanks, Roland

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-01-22 03:03:27 +0100

benjaminfjones gravatar image

updated 2013-01-22 03:04:19 +0100

I followed the instructions from the ETE webpage and it looks like you can install ETE inside the Sage shell environment (so that the python modules will be picked up by Sage), but it looks like there will be some optional dependencies missing:

> cd <TOP LEVEL SAGE DIRECTORY>
> ./sage -sh
> easy_install -U ete2

...

Installing ETE (A python Environment for Tree Exploration).

Checking dependencies...
MySQLdb cannot be found in your python installation.
MySQLdb is required for the PhylomeDB access API.
PyQt4 cannot be found in your python installation.
PyQt4 is required for tree visualization and image rendering.
lxml cannot be found in your python installation.
lxml is required from Nexml and Phyloxml support.

However, you can still install ETE without such functionality.
Do you want to continue with the installation anyway? [y,n]
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-01-19 10:04:51 +0100

Seen: 719 times

Last updated: Jan 22 '13