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

update prepare_gpf4.py/prepare_dpf4.py for Python 3.0 > #269

Open
amir-tagh opened this issue Jul 21, 2024 · 2 comments
Open

update prepare_gpf4.py/prepare_dpf4.py for Python 3.0 > #269

amir-tagh opened this issue Jul 21, 2024 · 2 comments

Comments

@amir-tagh
Copy link

Hello,

I have written a script which uses biopython, obabel and pymol to loop over RNA-small molecule complexes and extracts the binding pocket and prepared the pdbqt fies for docking (Python 3.9.10).
I am trying to incorporate the prepare_gpf4.py/prepare_dpf4.py into script to automate all the steps before running the docking (autodock_gpu_64wi).
As the prepare*.py scripts are quite old they are not compatible with new python version, do you happen to have updated versions?
if not any suggestions or workarounds?

Thanks for your help.

Best,
Amir

@rwxayheee
Copy link
Collaborator

rwxayheee commented Jul 21, 2024

Hi @amir-tagh
Did you get prepy_*.py from MGLTools or ADFRSuite? The scripts can be run with pythonsh, which comes with the scripts. You can locate this special python interpreter at
mgltools_x86_64Linux2_1.5.7/bin
or
ADFRsuite-1.0/bin
You can run it as a subprocess in a Python script.

Other options for receptor preparation:
I think there's a Python3 (3.7?) prepare_receptor in https://ccsb.scripps.edu/adcpv11/ but I never tested it for RNA. I don't think a prepare_gpf is included. If you have a specific way of defining the grid in your mind, writing a .gpf using Python script might be easier than using the script.

There's also a receptor preparation script in Meeko. However, RNA is not currently supported (? based on the built-in residue parameters) There seems to be ongoing work and might be possible with:
forlilab/Meeko#133
Let us know what you think!

@amir-tagh
Copy link
Author

Hi @rwxayheee

Thanks for your reply. I have used both from MGLTools or ADFRSuite but they are both incompatible with Python 3.0 (>). I have started writing a .gpf script.
Meeko is a good suggestion, see if I can get it to work.
Thanks for the suggestions and help, appreciated.

Best,
Amir

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