-
Notifications
You must be signed in to change notification settings - Fork 14
Installation
Installation via git is the best way to keep your copy of cmonkey2 up-to-date. However, there are additional dependencies that you will need to install separately. On Ubuntu, these can all be installed using
sudo apt-get install python-numpy python-scipy python-rpy2 python-beautifulsoup python-mysqldb python-xmlrunner python-biopython
Install git, and download and test the package:
sudo apt-get install git
git clone https://github.com/weiju/cmonkey-python.git
cd cmonkey-python
./run_tests.sh
If you will be running the cmonkey viewer/monitor, you will need three extra python packages:
sudo apt-get install python-cherrypy3 python-routes python-jinja2
To simplify system setup for Debian-based systems (including Ubuntu, Mint, etc.), we have also made cmonkey2 available as a Debian package.
You can install this together with all dependencies listed above, using
sudo dpkg -i cmonkey-python*.deb
Depending on your configuration, this might result in dpkg reporting dependency issues. In this case, execute
sudo apt-get -f install
to instruct your Debian/Ubuntu system to install the required dependencies.
Note that in order to use MEME, you will need to have MEME installed and available in your $PATH. MEME is available here. cmonkey2 is compatible with MEME versions XX, XX, and XX-XX.
The cmonkey2 distribution contains a MEME installation script which will download, configure, compile, and locally install the relevant MEME suite tools in the current working directory. MEME requires csh. Simply execute
sudo apt-get install csh ## or tcsh
tools/install_meme.sh
Using the Debian package will make the cmonkey-python command available. It is recommended that you create a project directory for your run containing your gene expression file and run it from there. cmonkey-python creates a cache and out directory in that directory by default.
cmonkey-python --organism <your organism> --ratios <your_ratios.tsv>
dpkg -r cmonkey-python