Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About arguments in hallucination.py for two-chain hallucination #9

Closed
jongseo-park opened this issue Jul 27, 2022 · 3 comments
Closed

Comments

@jongseo-park
Copy link

I have several questions about free hallucination to generate protein binders.

Here is my command line input.

python3 /opt/tools/RFDesign/hallucination/hallucinate.py 
--pdb=./binder.pdb 
--out=test/test 
--steps=m300 
--num=10 
--start_num=1 
--mask=13,A9-15,60 
--spike=0.05 
--spike_fas=./binder_80aa.fasta 
--exclude_aa=C 
--receptor=./receptor_trunc.pdb 
--rec_placement=second 
--w_rog=1 
--rog_thresh=16 
--save_pdb=True 
--track_step 1 
--use_template=A9-15

Q1
I want to know whether the --mask=10,A6-10,65 (total 80 aa) and --mask=80 are same when the argument --spike is set to 0.05.

In addition,
Since the --spike=0.05 means random sequence, I think that there is no significancy which sequence is enter to the --spike_fas, but there is significancy only in the sequence length. is it right ?

Q2
In the Fig S17-C of the 2022 Science paper,

it seems that only the binding target (= receptor?) was used as template.

If it is right, how can I enter the binding target as template ? which argument is required ?

or is binding target automatically provided as template to hallucination if the binding target pdb file is provided to the --receptor argument ?

Q3
To perform free hallucination, I run the script without --use_template, but some error was occurred.

Saving /proc_1/RFDesign/binder/test/test_1: Traceback (most recent call last):
  File "/opt/tools/RFDesign/hallucination/hallucinate.py", line 739, in <module>
    main()
  File "/opt/tools/RFDesign/hallucination/hallucinate.py", line 731, in main
    optimization.save_result(out_prefix, Net, ml, trb['msa'], args, trb, 
  File "/opt/tools/RFDesign/hallucination/util/../optimization.py", line 179, in save_result
    idx_tmpl = net_kwargs['idx'].cpu().numpy()[0]
KeyError: 'idx'

When I enter the dummy value (like Z999-1000) to the --use_template, then the script worked well.

is it proper way to perform free hallucination ?

Sincerely,

jongseo

@jueseph
Copy link
Collaborator

jueseph commented Jul 27, 2022 via email

@jongseo-park
Copy link
Author

Thank you for kind and helpful reply !

I have last two questions.

Q1

Is there any way to specify binder binding site on the receptor without --use_template ?

I want to design binders using unconstrained hallucination with the specific binding site on the receptor.

or is it a right way that use the --mask and --use_template as well as --w_cce=0


Q2
In the case of protein binder design, I already read 2~3 previous papers that describe docking > seq. design > scoring.

(Cao et al., 2022 Nature // Dauparas et al., 2022 BioRxiv // Bennett et al., 2022 BioRxiv)
https://www.nature.com/articles/s41586-022-04654-9
https://www.biorxiv.org/content/10.1101/2022.06.03.494563v1
https://www.biorxiv.org/content/10.1101/2022.06.15.495993v1

Comparing those two similar methods with this RFDesign, which approach has a higher success rate to design binder proteins ?

Sincerely,

Jongseo

@jueseph
Copy link
Collaborator

jueseph commented Jul 28, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants