-
Notifications
You must be signed in to change notification settings - Fork 50
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
Support for metal atoms #252
Comments
Hi @frgoe003 Currently unsupported elements can’t be automatically ignored by -a. But you could delete them by argument delete_residues. |
Understood, thanks! What would be required to register an atom type? Since quite common metals are missing, it would be nice to add them. Happy to help! |
Hi @frgoe003 Meeko/meeko/utils/rdkitutils.py Line 254 in 07a38f8
Then if you want to do receptor preparation, I think the additional elements need to be registered in here also There might be other things to edit if you want to do this by changing the default parameter file (or alternatively in Python, there's an entry to input additional parameters). But unlike ligand preparation, it's not very straightforward to have metals and custom types in receptor preparation. Could you provide some PDB IDs that you would be interested in (for receptor preparation)? There might be other complications if the metals are part of a residue and need monomer mapping. But please keep this discussion open and we can consider it as an enhancement / feature in future Last but not least, if you only want a PDBQT file with the metal ions, the quickest way would be to insert the metal atom line directly and assign an integer charge. Then depending on the docking engines or next tasks you want to perform on the structure, you can pass the additional parameters in different ways (it might not be necessary to register the parameters and types in Meeko, although with the parameters |
Thanks @rwxayheee! An example system I'm looking at is 8J3C. I added the covalent radii in Meeko/meeko/utils/rdkitutils.py and registered them in Meeko/meeko/data/params/ad4_types.json, but now it fails to build the template (see below). I would add the metal ion directly to the PDBQT File, but receptor preparation raises an error with these metals present. Of course I could remove them before the preparation, but it would be nice to have native support with Meeko. Input residues {'-:1': 'CO'} not in residue_templates
|
Hi @frgoe003 |
Hello @frgoe003 If you're interested, see how that compares to the release: With this, I was able to generate receptor PDBQT files for 8J3C. Co2+ has an integer charge of +2. To use the modified code, you can check out that specific commit 32a7b3d from my fork and install with |
I'm using the cli to prepare metalloproteins for docking, however, it seems to have issues with some metals:
RuntimeError: Element Na doesn't have an implemented covalent radius, which was required for the perception of intermolecular bonds
I encounter this error for a couple elements like Na, Co, Ni, Pt, Yb and K.It seems meeko uses the rdkit periodic table module to get the radii. Is there a way to bypass it or use a dummy value? Or maybe it could be added to be considered under the
--allow_bad_res
flag.The text was updated successfully, but these errors were encountered: