# Error associated with metal ion

**URL:** <https://ask.bioexcel.eu/t/error-associated-with-metal-ion/4744>\
**Category:** HADDOCK\
**Created:** [December 27, 2023, 7:14am UTC](https://ask.bioexcel.eu/t/error-associated-with-metal-ion/4744 "2023-12-27T07:14:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@Peter](https://ask.bioexcel.eu/u/Peter)\
**Post date:** [December 27, 2023, 7:14am UTC](https://ask.bioexcel.eu/t/error-associated-with-metal-ion/4744/1 "2023-12-27T07:14:21Z")

</div>

I am trying to carry out protein-ligand docking in HADDOCK 2.4. The preparation of the PDB file of the receptor (protein) was satisfactory, however, problems have arisen with the ligand. The source of the ligand structure is a CIF file that I transformed to PDB using Pymol to obtain a single chain. So when I submit the ligand’s structure, it returns an error associated with a metal ion, specifically iron (II), belonging to its structure. I have already reviewed the library and the supported ions, in conclusion, I have made multiple changes in the writing of the file based on the examples and tutorials and it keeps returning the same error.  
I would appreciate some advice on this. Maybe my problem is in the conversion from CIF to PDB, or directly in writing the PDB.

---

<div class="post-metadata">

**Author:** ![amjjbonvin](https://dub1.discourse-cdn.com/flex013/user_avatar/ask.bioexcel.eu/amjjbonvin/32/23_2.png) [@amjjbonvin](https://ask.bioexcel.eu/u/amjjbonvin)\
**Post date:** [December 27, 2023, 3:27pm UTC](https://ask.bioexcel.eu/t/error-associated-with-metal-ion/4744/2 "2023-12-27T15:27:00Z")

</div>

Hi Peter

Ions in a ligand are not supported unfortunately - has to do with the ligand topo/param generation.

Only ions associated with a protein/nuclei acids are supported.

---

<div class="post-metadata">

**Author:** ![Peter](https://avatars.discourse-cdn.com/v4/letter/p/278dde/32.png) [@Peter](https://ask.bioexcel.eu/u/Peter)\
**Post date:** [December 28, 2023, 5:41pm UTC](https://ask.bioexcel.eu/t/error-associated-with-metal-ion/4744/3 "2023-12-28T17:41:39Z")

</div>

Thank you very much for the quick answer. The software has offered me very good results in protein-protein interactions, it is a shame not to be able to use it in this context. If you have any suggestions for this type of procedure I would appreciate it.

---

<div class="post-metadata">

**Author:** ![amjjbonvin](https://dub1.discourse-cdn.com/flex013/user_avatar/ask.bioexcel.eu/amjjbonvin/32/23_2.png) [@amjjbonvin](https://ask.bioexcel.eu/u/amjjbonvin)\
**Post date:** [December 29, 2023, 8:47am UTC](https://ask.bioexcel.eu/t/error-associated-with-metal-ion/4744/4 "2023-12-29T08:47:30Z")

</div>

You could try to parametrize your ligand with e.g. acpype and then run HADDOCK locally.

Check for example:

[https://mmb.irbbarcelona.org/biobb/workflows/tutorials/ligand-parameterization](https://mmb.irbbarcelona.org/biobb/workflows/tutorials/ligand-parameterization)

and

[https://github.com/bioexcel/biobb\_wf\_ligand\_parameterization](https://github.com/bioexcel/biobb_wf_ligand_parameterization)

The git repo contains an example of parametrisation for CNS (used by HADDOCK)
