Compilation and Installation
Procedure
- Use PuTTY to log in to the server as the root user.
- Go to the source package directory.
cd /path/to/AlphaFold
- Decompress the installation package.
tar -xvf alphaFold-xxx.tar.gz
xxx indicates the software version.
- Go to the directory generated after the decompression.
cd alphafold
- Perform the installation.
pip3 install --upgrade pip && pip3 install -r ./requirements.txt && pip3 install --upgrade "jax[cuda111]" -f https://storage.googleapis.com/jax-releases/jax_releases.html && pip3 install jaxlib==0.1.70+cuda111 -f https://storage.googleapis.com/jax-releases/jax_releases.html # work_path=/path/to/alphafold-code work_path=$(PWD) # update openmm a=$(which python) cd $(dirname $(dirname $a))/lib/python3.8/site-packages patch -p0 < $work_path/docker/openmm.patch
- Download the database script.
wget https://github.com/kalininalab/alphafold_non_docker/blob/main/download_db.sh
- Download the alphafold_data file.
bash download_db.sh -d </home/johndoe/alphafold_data>
Parent topic: AlphaFold Porting Guide (CentOS 8.2)