You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expanded the Sphinx static path to include RFD3 assets and made minor formatting and clarity improvements in the main and RFD3-specific documentation. The PPI design tutorial was revised for clarity, improved step-by-step instructions, and better separation of setup and execution steps.
Copy file name to clipboardExpand all lines: models/rfd3/docs/ppi_design_tutorial.md
+14-8Lines changed: 14 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,9 @@
1
1
# Protein-Protein Interface Design in RFdiffusion3
2
2
3
3
## Before We Get Started...
4
-
This tutorial does not cover installing RFD3, before continuing you should make sure that RFdiffusion3 (RFD3) is installed and able to be run on your system. See the [README](../README.md) for how to install RFD3. You will need to remember the path to the directory where you stored your checkpoint files.
4
+
This tutorial does not cover installing RFD3, before continuing you should make sure that RFdiffusion3 (RFD3) is installed and able to be run on your system.
5
+
6
+
See the [README](../README.md) for installation instructions. You will need to remember the path to the directory where you stored your checkpoint files.
5
7
6
8
```{note}
7
9
The instructions below assume that you have installed RFD3 via the pip commands.
@@ -10,7 +12,7 @@ You may need to slightly modify how you run the calculations based on your setup
10
12
11
13
Make sure you have activated any environments you used to install RFD3.
12
14
13
-
RFD3 runs best on GPUs. It is suggested to follow this activity on an interactive GPU node, if you have access to one. <!-- TO DO: Say memory requirement-->
15
+
RFD3 runs best on GPUs. It is suggested to follow this tutorial on an interactive GPU node, if you have access to one. <!-- TO DO: Say memory requirement-->
14
16
15
17
You will need the file `4zxb_cropped.pdb`. This is provided in [`foundry/models/rfd3/docs/input_pdbs`](input_pdbs/4zxb_cropped.pdb).
16
18
@@ -38,11 +40,11 @@ There is also an already made YAML file available here. <!-- TO DO: Add example
38
40
In this tutorial, we will be briefly describing each of the settings we will be using for this example binder design project.
39
41
40
42
1. Using your editor of choice, open a new file called `rfd3_ppi_tutorial.yaml`. This is where we will be storing all of the settings that tell RFD3 the type of designs we would like to make.
41
-
1. Our calculation needs a name. For this tutorial, we will only be including one example calculation, but your YAML file could have several. A name allows you to differentiate them. Since we are designing binders for the human insulin receptor, let's just call it `insulinr`:
43
+
1. Our calculation needs a name. For this tutorial, we will only be including one example calculation, but your YAML file could have several. A name allows you (and RFD3) to differentiate them. Since we are designing binders for the human insulin receptor, let's just call it `insulinr`:
42
44
```yaml
43
45
insulinr:
44
46
```
45
-
Everything that comes after this should be indented to show that it's part of this `insulinr` calculation. You will want to use spaces, not the tab character. If a tab character (`\t `) is found in the file RFD3 will crash.
47
+
Everything that comes after this should be indented to show that it's part of this `insulinr` calculation. You will want to use spaces, not the tab character. If a tab character (`\t `) is found in the file, RFD3 will crash.
@@ -85,6 +87,7 @@ In this tutorial, we will be briefly describing each of the settings we will be
85
87
infer_ori_strategy: hotspots
86
88
```
87
89
This setting will place the ORI token 10Å outward from the center of mass of the `hotspots`. The center of mass of the diffused region should be within 5Å of the ORI token.
90
+
1. Save you file and close it.
88
91
89
92
### Other useful settings
90
93
1. RFD3 does atom-level diffusion, so it can redesign side chains (change the sequence) we will leave this setting set to `false`. If you would like to see what happens when RFD3 redesigns the target/motif (your input structure), try setting this to `true`: <!-- Maybe add a sentence about when people should think about doing this. -->
@@ -100,10 +103,13 @@ In this tutorial, we will be briefly describing each of the settings we will be
100
103
```
101
104
Here, an empty list indicates that all atoms are flexible, `BKBN` keeps the backbone atoms fixed while allowing side chain atoms to move, and for the last residue, specific atoms are fixed in place while allowing the others to move. Feel free to try adding this to your YAML file as well.
102
105
103
-
Save your file and close it.
104
-
105
106
## Running RFD3
106
-
To actually run RFD3 you need to know the directory you want the outputs to be stored in, the path to the YAML (or JSON) file that stores the specific settings for the calculation, and the location of your checkpoint files. Once you have these three things you can run something like this from the command line:
107
+
To actually run RFD3 you need to know:
108
+
- the directory you want the outputs to be stored in
109
+
- the path to the YAML (or JSON) file that stores the specific settings for the calculation
110
+
- the location of your checkpoint files
111
+
112
+
Once you have these three things you can run something like this from the command line:
@@ -116,7 +122,7 @@ You may see several warning messages when you run RFD3, these should not interfe
116
122
## Analyzing the Outputs
117
123
You should end up with 8 designs, numbered 0-7, each with its own `.cif.gz` and `.json` file. If you want to adjust the number, add the configuration option `diffusion_batch_size` to your `rfd3 design` command.
118
124
119
-
The JSON file has many details about your diffusion run, including the options in your YAML file. The compressed CIF file that you can easily visualize with tools like PyMOL.
125
+
The JSON file has many details about your diffusion run, including the options in the YAML file you created. The compressed CIF file that you can easily visualize with tools like PyMOL.
0 commit comments