RFdiffusion icon indicating copy to clipboard operation
RFdiffusion copied to clipboard

The run_inference.py section hasn't been changed

Open hzp13151231131 opened this issue 6 months ago • 17 comments

The run_inference.py section hasn't been updated, and design_macrocyclic_binder.sh cannot design cyclic peptides.

hzp13151231131 avatar Jun 24 '25 01:06 hzp13151231131

Hello, I don't believe run_inference.py needs to change in order to be able to run the cyclic peptide design. There are other modifications that enable this. Can you please be more specific with the issues you are facing? Are you seeing errors? Are the peptides simply not coming out cyclized?

davidcjuergens avatar Jun 24 '25 20:06 davidcjuergens

Hello, I don't believe run_inference.py needs to change in order to be able to run the cyclic peptide design. There are other modifications that enable this. Can you please be more specific with the issues you are facing? Are you seeing errors? Are the peptides simply not coming out cyclized?

Thank you for your response. I have run tests on the design_macrocyclic_monomer.sh script using the case provided in the paper, aiming to de novo generate macrocyclic peptides from 7zkr_GABARAP.pdb. However, the resulting peptide sequences did not form cyclic structures and remained linear, even after multiple attempts. I look forward to your guidance on this issue.

hzp13151231131 avatar Jun 25 '25 05:06 hzp13151231131

Yes, I also encountered the same problem. Only linear peptides could be obtained instead of cyclic peptides.

nalaterry avatar Jun 25 '25 06:06 nalaterry

Same thing is happening for me also , after using the two new flags inference.cyclic=True and inference.cyc_chains='a' still it is only generating structured peptides instead of cyclic peptides.

Sandippanja29 avatar Jun 26 '25 06:06 Sandippanja29

Hmm, interesting. This seems like a significant and reproducible issue--thanks all for noting your anecdotes. I will look into this now and report back, I apologize for the hiccup everyone!

davidcjuergens avatar Jun 26 '25 20:06 davidcjuergens

I apologize if I misunderstood. After opening the output structure in PyMOL, display the sequence, select the peptide sequence, and try showing it as a “lines” or “sticks”. It may be displayed as a cyclized.

jkamishi avatar Jun 27 '25 01:06 jkamishi

yes the code is working when attempting to run from a Google Colab notebook that Stephen Rettie set up. indeed the cyclic nature of the peptides is more obvious when you show sticks and util.chainbow in pymol. @nalaterry @Sandippanja29 @hzp13151231131 can you try this?

davidcjuergens avatar Jun 27 '25 23:06 davidcjuergens

Thanks for your reply. I followed your suggestion and confirmed that it's not a visualization issue. I've tested the "examples/design_macrocyclic_binder.sh" command multiple times, and the resulting binder is consistently a helical structure. I'm using the latest version of the GitHub repository.

nalaterry avatar Jun 28 '25 09:06 nalaterry

yes the code is working when attempting to run from a Google Colab notebook that Stephen Rettie set up. indeed the cyclic nature of the peptides is more obvious when you show sticks and util.chainbow in pymol. @nalaterry @Sandippanja29 @hzp13151231131 can you try this?

Thanks for your reply.Of course,I try to open the output structure in PyMOL, display the sequence, select the peptide sequence, and try showing it as a “lines” or “sticks”.But it also shows linear peptide.

hzp13151231131 avatar Jun 28 '25 09:06 hzp13151231131

yes the code is working when attempting to run from a Google Colab notebook that Stephen Rettie set up. indeed the cyclic nature of the peptides is more obvious when you show sticks and util.chainbow in pymol. @nalaterry @Sandippanja29 @hzp13151231131 can you try this?

In my case i can see the peptides as circular now! Thanks @davidcjuergens

Sandippanja29 avatar Jun 28 '25 09:06 Sandippanja29

yes the code is working when attempting to run from a Google Colab notebook that Stephen Rettie set up. indeed the cyclic nature of the peptides is more obvious when you show sticks and util.chainbow in pymol. @nalaterry @Sandippanja29 @hzp13151231131 can you try this?

In my case i can see the peptides as circular now! Thanks @davidcjuergens

Hello, are you using this GitHub repository to run RFpeptide, and is the command "examples/design_macrocyclic_binder.sh"?

nalaterry avatar Jun 28 '25 10:06 nalaterry

yes the code is working when attempting to run from a Google Colab notebook that Stephen Rettie set up. indeed the cyclic nature of the peptides is more obvious when you show sticks and util.chainbow in pymol. @nalaterry @Sandippanja29 @hzp13151231131 can you try this?

In my case i can see the peptides as circular now! Thanks @davidcjuergens

Hello, are you using this GitHub repository to run RFpeptide, and is the command "examples/design_macrocyclic_binder.sh"?

Something interesting happened! I reconfigured my SE3nv virtual environment and was then able to design cyclic peptides.

nalaterry avatar Jun 29 '25 12:06 nalaterry

yes the code is working when attempting to run from a Google Colab notebook that Stephen Rettie set up. indeed the cyclic nature of the peptides is more obvious when you show sticks and util.chainbow in pymol. @nalaterry @Sandippanja29 @hzp13151231131 can you try this?

In my case i can see the peptides as circular now! Thanks @davidcjuergens

Hello, are you using this GitHub repository to run RFpeptide, and is the command "examples/design_macrocyclic_binder.sh"?

Something interesting happened! I reconfigured my SE3nv virtual environment and was then able to design cyclic peptides.

Thank you!I will try this!

hzp13151231131 avatar Jun 30 '25 04:06 hzp13151231131

hi @davidcjuergens thank you for your support can you post the link to the Stephen Rettie Google Colab notebook that works for cyclic peptide designs? thank you in advance!

Alberto-tycho avatar Jul 09 '25 16:07 Alberto-tycho

yes the code is working when attempting to run from a Google Colab notebook that Stephen Rettie set up. indeed the cyclic nature of the peptides is more obvious when you show sticks and util.chainbow in pymol. @nalaterry @Sandippanja29 @hzp13151231131 can you try this?

In my case i can see the peptides as circular now! Thanks @davidcjuergens

Hello, are you using this GitHub repository to run RFpeptide, and is the command "examples/design_macrocyclic_binder.sh"?

Something interesting happened! I reconfigured my SE3nv virtual environment and was then able to design cyclic peptides.

Hello, how can you reconfigure the environment? I am encoutering the same issue as you.

DazLe-Q avatar Jul 11 '25 17:07 DazLe-Q

yes the code is working when attempting to run from a Google Colab notebook that Stephen Rettie set up. indeed the cyclic nature of the peptides is more obvious when you show sticks and util.chainbow in pymol. @nalaterry @Sandippanja29 @hzp13151231131 can you try this?

In my case i can see the peptides as circular now! Thanks @davidcjuergens

Hello, are you using this GitHub repository to run RFpeptide, and is the command "examples/design_macrocyclic_binder.sh"?

Something interesting happened! I reconfigured my SE3nv virtual environment and was then able to design cyclic peptides.

Hello, how can you reconfigure the environment? I am encoutering the same issue as you.

SE3nv.txt Here are the packages in my conda environment. Hope this helps. @DazLe-Q

nalaterry avatar Jul 16 '25 08:07 nalaterry

yes the code is working when attempting to run from a Google Colab notebook that Stephen Rettie set up. indeed the cyclic nature of the peptides is more obvious when you show sticks and util.chainbow in pymol. @nalaterry @Sandippanja29 @hzp13151231131 can you try this?

Is the CoLab notebook you mentioned publicly available?

rclune avatar Sep 17 '25 15:09 rclune