Skip to content

Commit 46c0ef6

Browse files
Joseph Watsondavidcjuergens
authored andcommitted
Implemented inpaint_str and added example
1 parent ba8446e commit 46c0ef6

File tree

4 files changed

+1042
-1
lines changed

4 files changed

+1042
-1
lines changed

config/inference/base.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ inference:
2525
contigmap:
2626
contigs: null
2727
inpaint_seq: null
28+
inpaint_str: null
2829
provide_seq: null
2930
length: null
3031

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/bin/bash
2+
# Here, we're designing binders to the glp1 helical peptide, without specifying the topology of the binder a priori, and without specifying the structure of the peptide (we know peptides can be flexible).
3+
# We first provide the output path and input pdb of the target protein (5uul)
4+
# We then describe the protein we want with the contig input:
5+
# - residues 10-35 of the B chain of the target protein
6+
# - a chainbreak (as we don't want the binder fused to the target!)
7+
# - A 70-100 residue binder to be diffused (the exact length is sampled each iteration of diffusion)
8+
# We tell diffusion to target two specific residues on the target, specifically residues 28 and 29 of the B chain
9+
# We make 10 designs
10+
# We mask (diffuse) the structure of the peptide using the inpaint_str flag. This has the effect of having RFdiffusion simultaneously design a binder and predict the structure of the peptide within the complex.
11+
12+
../scripts/run_inference.py inference.output_prefix=example_outputs/design_ppi_flexible_peptide inference.input_pdb=input_pdbs/3IOL.pdb 'contigmap.contigs=[B10-35/0 70-100]' 'ppi.hotspot_res=[B28,B29]' inference.num_designs=10 'contigmap.inpaint_str=[B10-35]'

0 commit comments

Comments
 (0)