A tutorial for running Rosetta ligand docking on macOS using Docker, covering setup, a G-protein coupled receptor docking example, and analysis.
This document is a rewrite of the Rosetta ligand_docking_tutorial.md file in R Markdown, with added comments on how to combine a Docker container with a local macOS computer. It is intended for macOS users, since no Windows binaries are available, and it explains how to run Rosetta ligand docking natively on the local machine while using Docker for the Linux-based parts of the tutorial.
The tutorial covers Rosetta preparations, starting a Docker container, following the original "Ligand Docking with a G-Protein Coupled Receptor" tutorial, and analysis steps including RMSD plots. It also includes an appendix with R and Python 3 code.
| Rosetta version used | Rosetta 3.14 |
|---|---|
| M1 binary download size | 13Gb |
| Intel Mac binary download size | 14Gb |
| Disk space needed after unarchiving | about 45 Gb |
| Docker image | rosettacommons/rosetta:latest |
| Container operating system | Ubuntu 20.04.6 LTS |
| Supported macOS chips | Intel amd64 or arm64 Silicon Chip M series |
It is written for macOS users, with Docker providing the Linux environment. No Windows binaries are available, so Windows users should use the WSL2 method to install Linux under Windows.
The tutorial downloads the Rosetta Docker image with the command docker pull rosettacommons/rosetta:latest, which provides access to the Linux compiled binaries.
The experimental data comes from the structure of the human dopamine D3 receptor in complex with a D2/D3 selective antagonist, published in Science 330, 1091-5 (2010).
The tutorial installs wget, nano and pymol with apt-get, and adding the pymol Python module allows the creation of PyMOL .pse files.