Skip to content

Commit f6ac51e

Browse files
Joseph Watsonnrbennet
authored andcommitted
Added example
1 parent b819fd5 commit f6ac51e

File tree

3 files changed

+726
-0
lines changed

3 files changed

+726
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
# Here, we're designing binders to a tau peptide. We want to specify that this peptide should adopt a helical conformation.
3+
# We first provide the output path and input pdb of the target protein (tau_peptide.pdb)
4+
# We then describe the protein we want with the contig input:
5+
# - A 70-100 residue binder to be diffused (the exact length is sampled each iteration of diffusion)
6+
# - a chainbreak (as we don't want the binder fused to the target!)
7+
# - residues 165-178 of the B chain of the target protein
8+
# We make 10 designs
9+
# 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.
10+
# We then specify that we want this to adopt a helical conformation
11+
# If you wanted to specify that it should adopt a strand conformation, you would specify `contigmap.inpaint_str_strand`
12+
13+
../scripts/run_inference.py inference.output_prefix=example_outputs/design_ppi_flexible_peptide_with_secondarystructure inference.input_pdb=input_pdbs/tau_peptide.pdb 'contigmap.contigs=[70-100/0 B165-178]' inference.num_designs=10 'contigmap.inpaint_str=[B165-178]' scaffoldguided.scaffoldguided=True 'contigmap.inpaint_str_strand=[B165-178]'

0 commit comments

Comments
 (0)