Skip to content
New issue

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

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

Already on GitHub? # to your account

Scaffold Hopping #43

Open
sirine90 opened this issue Nov 13, 2023 · 1 comment
Open

Scaffold Hopping #43

sirine90 opened this issue Nov 13, 2023 · 1 comment
Assignees

Comments

@sirine90
Copy link

Hello!

Thank you for sharing the code.

Could you please share an example how you do scaffold hopping (or scaffold elaboration/ fragment merging/ fragment growing).
I tried using the inpaint_ligand function, but it does not seem to work.

Thanks in advance :)

@Pang-chao
Copy link

Hello. I don't know if you have solved the problem. I just had the same problem. The problem is due to a wrong parameter in line 113 of the inpaint.py file.
That line should be changed to
ligand, pocket, lig_fixed, pocket_fixed,
At the same time, insert a new line below line 92.
pocket_fixed = torch.ones_like(pocket['mask'])
This line of code makes all the pocket nodes fixed during inpaint.

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

No branches or pull requests

3 participants