Installation

Note: This tutorial is for installation of g2gtools Release Version 0.1.XX. This version only supports python2.

We highly recommend using Anaconda distribution of python (https://www.continuum.io/downloads) to install all the dependencies without issues although g2gtools is available at PyPI (https://pypi.python.org/pypi/g2gtools/) for ‘pip install’ or ‘easy_install’. The most recent version of g2gtools is also available on Anaconda Cloud, so add the following channels if you have not already:

$ conda config --add channels r
$ conda config --add channels bioconda

To avoid conflicts among dependencies, we highly recommend using conda virtual environment:

$ conda create -n g2gtools python=2 jupyter ipykernel
$ source activate g2gtools

Once g2gtools virtual environment is created and activated, your shell prompt will show ‘(g2gtools)’ at the beginning to specify what virtual environment you are currently in. Now please type the following and install g2gtools:

(g2gtools) $ conda install -c kbchoi g2gtools=0.1.31

That’s all! We note that you can go out from g2gtools virtual environment anytime once you are done using g2gtools:

(g2gtools) $ source deactivate