Installation
============
Currently working on Linux. We did not test on Windows and Mac.
**OpenDock installation using pip**:
.. note::
When using ``pip``, it's good pratice to use a virtual environment and also the easiest solution. An example with the `Conda package manager `_ is available further down.
.. code-block:: bash
$ pip install opendock
**OpenDock installation in a Conda environment**:
The Anaconda Python distribution, which can be download from `https://docs.continuum.io/anaconda/install `_. This is a Python distribution specially designed for scientific applications, with many of the most popular scientific packages preinstalled. Alternatively, you can use `Miniconda `_, which includes only Python itself, plus the Conda package manager.
1. Begin by installing the most recent 64 bit, Python 3.x version of either Anaconda or Miniconda
2. Create a dedicated environment for ``OpenDock``
.. code-block:: bash
$ conda create -n opendock python=3.8
$ conda activate opendock
$ conda config --env --add channels conda-forge
3. Before you can use the framework, you may install the following python packages
.. code-block:: bash
$ pip install prody
$ pip install numpy
$ pip install pytorch
$ pip install pandas
$ pip install scipy
$ pip install scikit-learn
4. Install `OpenDock` package from source
.. code-block:: bash
$ cd opendock/
$ pip install .