BindCraft ships install_bindcraft.sh which creates the env, installs conda packages, ColabDesign, and PyRosetta, then downloads AF2 params. Run it with the CUDA version that matches your driver:
cd ~/cyclic-bindcraft/repo
bash install_bindcraft.sh --pkg_manager mamba --cuda 12.1
The script takes ~30 minutes on a fast connection. It will:
- Create
conda env BindCraft python=3.10
- Install all conda packages (JAX/jaxlib CUDA build, BioPython, scipy, flax<0.10, dm-haiku, optax, chex, etc.)
pip install git+https://github.com/sokrypton/ColabDesign.git --no-deps
pip install pyrosetta --find-links https://west.rosettacommons.org/pyrosetta/quarterly/release.cxx11thread.serialization (requires that your PyRosetta license is already registered)
- Download + extract
alphafold_params_2022-12-06.tar into ./params/
chmod +x functions/dssp functions/DAlphaBall.gcc