-
Notifications
You must be signed in to change notification settings - Fork 51
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
Output file not containing structures #312
Comments
Hi @benrshep-iu Could you please share the input fille, and all outputs (if any of them was not empty)? It would be greatly helpful to have the files so that we could reproduce and track down the issue. Thanks, |
I attached the PDB file I have been trying to use. I'm running the commands in anaconda prompt. I should also mention due to issues surrounding rdkit.six, I implemented a workaround in rdkit_mol_create.py, changing line 11 " from from rdkit.six import StringIO " to " from io import StringIO"
From: Amy He ***@***.***>
Sent: Monday, January 20, 2025 2:15 PM
To: forlilab/Meeko ***@***.***>
Cc: Shepard, Benjamin Royce ***@***.***>; Mention ***@***.***>
Subject: [External] Re: [forlilab/Meeko] Output file not containing structures (Issue #312)
You don't often get email from ***@***.******@***.***>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
This message was sent from a non-IU address. Please exercise caution when clicking links or opening attachments from external sources.
Hi @benrshep-iu<https://github.com/benrshep-iu>
Could you please share the input fille, and all outputs (if any of them was not empty)? It would be greatly helpful to have the files so that we could reproduce and track down the issue.
Just to confirm: You were using Meeko in Windows Powershell, is that correct?
Thanks,
-
Reply to this email directly, view it on GitHub<#312 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BOSHWGJUP6MNNBZ5X3AR3I32LVDKZAVCNFSM6AAAAABVQ7QUSKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMBTGEYDCNJUGY>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
It also seems like you were not using the most up-to-date version. There has been a syntax change since version 0.6. Would you be able to download the latest version of Meeko? Many issues have been fixed, including the one you mentioned (rdkit.six) Please refer to basic usage with new syntax: https://rwxmeeko.readthedocs.io/en/latest/cli_rec_prep.html If you are able to install the develop branch from this repository, there's a potentially important fix for Windows (#266) that currently exists in the develop version but not the release. Therefore, I recommend the develop version. |
Note that we're unable to receive attachments from email. It would be greatly appreciated if you could upload the files in GitHub, here for the issue you opened: #312 Feel free to reach out if we can be of any further assistance. |
Hi, I reinstalled Meeko to ensure I have the latest release. I attempted to run the script again and no files were generated at all this time. (AutoDock_Sync) C:\Users\bensh\Documents\autodock-vina_build_environment>mk_ Github will not allow me to attach PDB files here. This is the source link of my file: https://www.rcsb.org/structure/3L61 |
Hi @benrshep-iu Thanks for the prompt retry! I don't have a Windows device to test at the moment, but I will try to reproduce that later today. One minor concern I have is that mk_prepare_receptor.py is a python script, and it might not work using sh to run, as indicated by the error message. Would it work if you do something like |
I had forgotten a step when reinstalling Meeko, it should be correctly installed now and the new output is this: options: mk_prepare_receptor.py: error: the following arguments are required: -o/--output_filename I went back to my original line which included parameters for the box, and the issue with the output file being empty is still persisting |
mk_prepare_receptor.py: error: the following arguments are required: -o/--output_filename Were you able to resolve this error? Could you try the following instead?
Also could you please confirm for me, that you were running it in Windows CMD (in the Windows Command Prompt, cmd.exe)? |
I believe i am running it in windows command prompt. I opened it through the Anaconda navigator, I do not know if that makes a difference. I can replace -i with --pdb and it accepts that statement, but -p is still listed as an unrecognized argument |
Hi @benrshep-iu import meeko
meeko.__version__ The expected output for the latest version is:
Thanks again for checking |
I must be installing meeko incorrectly i guess?
|
Hey @benrshep-iu Would you be able to try setting up a new python environment, with Python 3.9? If you use conda, here's one recommended way (in our tutorial: https://meeko.readthedocs.io/en/release/tutorial1.html):
You might need to make some syntax adaptation to the platform, or the specific package manager you use |
Thank you very much! I think it is working now, I was able to have it format the example file correctly. Thank you for all of your help, I am new to having to run docking this way. |
Thanks for the confirmation! Closing the issue for now, but please feel free to re-open or leave a comment if we can be of any further assistance with anything. |
I am trying to prepare a receptor file for docking.
Here is the script I ran and the resulting output:
(AutoDock_Sync) C:\Users\bensh\Documents\autodock-vina_build_environment>mk_prepare_receptor.py --pdb 3l61.pdb -o 3l61.pdbqt --box_size 65 39 57 --box_c
enter 3 27 12
Files written:
3l61.pdbqt <-- static (i.e., rigid) receptor input file
boron-silicon-atom_par.dat <-- atomic parameters for B and Si (for autogrid)
3l61.gpf <-- autogrid input file
3l61.gpf.pdb <-- PDB file to visualize the grid box
In the command prompt it appeared to run correctly, but the input file had a size of 334kb and all of the output files have a reported size of 0kb and when attempting to view the .pdbqt file in chimera, chimera could not find structures in the file data. Opening the .pdbqt in notepad dislpalys nothing. Am I forgetting something in the command line?
The text was updated successfully, but these errors were encountered: