Skip to content

Commit

Permalink
Implemented inpaint_str and added example
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph Watson authored and davidcjuergens committed Sep 14, 2023
1 parent ba8446e commit 46c0ef6
Show file tree
Hide file tree
Showing 4 changed files with 1,042 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/inference/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ inference:
contigmap:
contigs: null
inpaint_seq: null
inpaint_str: null
provide_seq: null
length: null

Expand Down
12 changes: 12 additions & 0 deletions examples/design_ppi_flexible_peptide.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash
# 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).
# We first provide the output path and input pdb of the target protein (5uul)
# We then describe the protein we want with the contig input:
# - residues 10-35 of the B chain of the target protein
# - a chainbreak (as we don't want the binder fused to the target!)
# - A 70-100 residue binder to be diffused (the exact length is sampled each iteration of diffusion)
# We tell diffusion to target two specific residues on the target, specifically residues 28 and 29 of the B chain
# We make 10 designs
# 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.

../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]'
Loading

0 comments on commit 46c0ef6

Please sign in to comment.