Skip to content

Latest commit

 

History

History
211 lines (174 loc) · 7.17 KB

installation.md

File metadata and controls

211 lines (174 loc) · 7.17 KB

Installation instructions in 3 steps

Step 1 - Download ChemFlow sources.

The sources code for ChemFlow_py can be downloaded from the Github Repository.

To clone the repository:

git clone https://github.com/lmonari5/ChemFlow_py.git

Then add the ChemFlow_py scripts to your PATH and PYTHONPATH. To do so modify your ~/.bashr with your favourite text editor:

nano ~/.bashrc

Add:

export CHEMFLOW_PY_HOME="/your_path_to_ChemFlow_py"
export PYTHONPATH="${PYTHONPATH}:/${CHEMFLOW_PY_HOME}/modules"
export PATH="${PATH}:/${CHEMFLOW_PY_HOME}/modules"

Source the bashrc to update the PATH in the current terminal:

source ~/.bashrc

Remark : make sure the script you want to run are executables:

chmod +x your_path_to_ChemFlow_py/modules/chemflow.py
chmod +x your_path_to_ChemFlow_py/modules/bound_shape.py

Step 2 - Install Anaconda3 and set the environment

If you don't have Anaconda installed, follow the steps of the Anaconda Installation Guide

Then create the ChemFlow_py environment:

conda env create -n chemflowpy --file chemflowpy.yml

Remember to activate the environment before running the code

To activate the environment run:

conda activate chemflowpy

If the environment creation fails, tries these fix in order:

  • set conda config --set channel_priority false
  • you can find useful resources in the directory ChemFlow_py/templates/help/environment. Try again with:

    conda create -n chemflowpy --file chemflowpy_advanced.txt

  • In the directory ChemFlow_py/templates/help/environment you can find 'manual_install_environment.txt'. Just open the file and run every line in the terminal

Step 3 - Install the docking/rescoring/MD programs supported

This step is quite simple: download the programs you want, make them executable and add them to the PATH.

Each program is optional