CABS in python
pip install CABS==0.9.14
This is a repository for the CABSdock standalone application for molecular docking of peptides to proteins. CABSdock allows for flexible docking (also with large-scale conformational changes) without knowledge about the binding site. CABSdock enables peptide docking using only information about the peptide sequence and the protein receptor structure. Many advanced options are available that allow for manipulation of a simulation setup, the degree of protein flexibility or guiding the peptide binding etc.
Most Linux distributions come with Python2.7 already installed. To check if you have the correct Python version open the terminal and type:
python --version
macOS comes with Python2.7 already installed. To check if you have the correct Python version open the Terminal.app
and type:
python --version
If you get the message: bash: python: command not found
it may mean that your system doesn't have Python installed, or
Python's binary is not in the system PATH
. To check this run in the Terminal.app
the following command:
/Library/Frameworks/Python.framework/Versions/2.7/bin/python --version
If you still get the message: bash: python: command not found
you need to install Python2.7. Otherwise add Python's
binary to the system's PATH
by running in the Terminal.app
the following command:
echo "export PATH=/Library/Frameworks/Python.framework/Versions/2.7/bin/:$PATH" >> ~/.bash_profile
Follow instructions on python.org. To check if you have the correct Python version open command prompt
(press cmd + R
; enter "cmd"; hit enter
) and run the following command:
python --version
If you get the message: python: command not found
add Python's binary to the system's PATH
by running in the
command prompt
the following command:
set %PATH% = %PATH%;"C:\\path\\to\\python\\binary"
Minimum required python version for CABSdock is 2.7.12. You can always download latest version from python.org. Note that Python3.X is NOT the latest version of Python2.7 and you should always use Python2.7 to run CABSdock.
###2. Install pip
Assuming you've already installed Python2.7 and made it accessible under command "python", download this script, change to the directory with downloaded script and run:
python get-pip.py
###3. Install CABS
Download latest CABS package from https://bitbucket.org/lcbio/cabsdock/downloads and run:
pip install CABS<version>.tar.gz
If you get an error during installation of the matplotlib regarding missing libpng and/or libfreetype libraries you need to install them prior to installing CABS. These should normally be already present on your system.
###4. Install gfortran
Follow instructions on https://gcc.gnu.org/wiki/GFortran
###5. Install MODELLER (optional)
Follow instructions. Remeber to add
/modeller/installation/directory/modlib
to PYTHONPATH system variable.
CABSdock method has been first made available as a web server. The standalone application version [submitted to publication] provides the same modeling methodology equipped with many additional features and customizable options.
Laboratory of Computational Biology, 2017