The FlowCytometryTools is a python package. As such, it requires a python interpreter to work. In addition, this package makes use of a few scientific and data analysis libraries for python. All the dependencies are listed below, followed by a section containing instructions on how to install all the dependencies on the different operating systems.
Required Dependencies
Optional Dependencies
A simple way of obtaining the dependencies is by installing either canopy or anaconda.
If you intend to use the GUI, you’ll still need to install wx-python.
You have at least two options:
Installing using the command line (this is the better option if you’re comfortable with the command line).
Open a terminal window and enter the following:
sudo apt-get build-dep python-matplotlib # Dependencies of matplotlib
sudo apt-get install python-pip python-dev
sudo apt-get install python-wxgtk2.8 # Optional dependency for FlowCytometryTools GUI
sudo pip install --upgrade pip
sudo pip install setuptools
sudo apt-get install gfortran libopenblas-dev liblapack-dev # Dependencies for scipy
sudo pip install pyzmq jinja2 tornado # Dependencies for ipython notebook
sudo pip install numpy scipy matplotlib ipython ipython-notebook pandas sympy
This should install both optional and required the dependencies. Please shoot us an email if we forgot to include something. (Or if you have specific instructions for a different flavor of unix.)
Alternatively, you can install a distribution like canopy or anaconda.
Note
canopy/anaconda may not come with wx-python. In this case, in order to use the GUI, you’ll still need to install wx-python. Also, after installing it make sure that canopy/anaconda know how to find your installation of wx-python.
IMPORTANT Make sure all required dependencies are installed before you proceed to install the package!
Install pip if you do not already have it.
Go to your command terminal and enter the following:
sudo pip install setuptools
sudo pip install git+https://bitbucket.org/gorelab/flowcytometrytools.git
You should be all set.
This option is recommended if you intend to contribute to developing the FlowCytometryTools library.
Install git on your machine. Please give git access to the command line. If you don’t, the git commands below won’t work.
Open your command terminal
In your command terminal enter:
ipython -c 'import os, matplotlib; print os.path.split(matplotlib.__path__[0])[0];'
The printed path will be your site-packages path!
In the command terminal navigate to that path:
cd (enter here the path you got above)
Enter the commands below:
git clone https://bitbucket.org/gorelab/goreutilities.git GoreUtilities
git clone https://bitbucket.org/gorelab/flowcytometrytools.git FlowCytometryTools
cd FlowCytometryTools
git checkout [version number]
Updating using git
If you’ve installed the package using git, you can also use git to update the package when new releases are available. To update:
cd (enter here the path you got above)
cd GoreUtilities
git fetch origin
git pull
git checkout [needed version/branch]
cd ..
cd FlowCytometryTools
git fetch origin
git pull
git checkout [needed version/branch]