Skip to content

wennading/ivy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ivy: interactive visual phylogenetics

ivy is a lightweight library and an interactive visual programming environment for phylogenetics. It is built on a powerful foundation of open-source software components, including numpy, scipy, matplotlib, and IPython.

ivy emphasizes interactive, exploratory visualization of phylogenetic trees. For example, in IPython:

from ivy.interactive import *

root = readtree("primates.newick")
fig = treefig(root)

This will open an interactive tree window that allows panning, zooming, and node selection with the mouse. Additionally, you can manipulate the figure from the console, e.g.:

fig.ladderize()
fig.toggle_leaflabels()

Documentation and other resources

(Woefully out of date and incomplete)

http://www.reelab.net/ivy

Installation

Recommended for non-developers: use conda for Python 3.

  1. Download and install Miniconda for Python 3

    https://conda.io/miniconda.html

    The following assumes conda is now in your $PATH.

  2. Create an environment for ivy:

    conda create -n ivy ipython jupyter numpy scipy matplotlib biopython pillow pyparsing lxml  
    # here 'ivy' is just the environment name,if you want to install the mudule in the defalt 
    # path of Anaconda,then don't creat a new encironment
  3. Activate the environment:

    source activate ivy
  4. Install ivy:

    pip install https://github.com/rhr/ivy/zipball/master # just install from here
  5. To update, uninstall it first:

    pip uninstall ivy-phylo

    then re-run pip as above.

About

Interactive Python shell for visual phylogenetics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 81.1%
  • Python 14.4%
  • JavaScript 2.9%
  • CSS 1.2%
  • Other 0.4%