Giter VIP home page Giter VIP logo

Comments (5)

diogomart avatar diogomart commented on July 30, 2024

Thank you for reporting this. I can reproduce on my end, will post here when fixed.

from autodock-vina.

diogomart avatar diogomart commented on July 30, 2024

Nitrogens with a +1 formal charge were incorrectly assigned the "NA" atom type. The correct type is "N". It's fixed now in commit 2ae097d. You can get the fixed version by following the instruction to install from source.

Thanks again for reporting this.

from autodock-vina.

jasonlse avatar jasonlse commented on July 30, 2024

Hi, I had the same issue. But when I install the fixed version from source I get the following error instead:

Traceback (most recent call last):
File "/opt/miniconda3/envs/vina/bin/mk_prepare_ligand.py", line 173, in
ligand_prepared = preparator.write_pdbqt_string()
File "/opt/miniconda3/envs/vina/lib/python3.9/site-packages/meeko/preparation.py", line 208, in write_pdbqt_string
return self._writer.write_string(self.setup, remove_index_map, remove_smiles)
File "/opt/miniconda3/envs/vina/lib/python3.9/site-packages/meeko/writer.py", line 142, in write_string
self._walk_graph_recursive(root, first=True)
File "/opt/miniconda3/envs/vina/lib/python3.9/site-packages/meeko/writer.py", line 82, in _walk_graph_recursive
self._pdbqt_buffer.append(self._make_pdbqt_line(member))
File "/opt/miniconda3/envs/vina/lib/python3.9/site-packages/meeko/writer.py", line 54, in _make_pdbqt_line
atom_symbol = mini_periodic_table[atomic_num]
KeyError: 0

Is there still an error in the code or am I doing something wrong?

from autodock-vina.

diogomart avatar diogomart commented on July 30, 2024

Fixed in forlilab/Meeko@7e25748
Thanks for finding it and posting here :)

from autodock-vina.

jasonlse avatar jasonlse commented on July 30, 2024

Yup, seems to work now. Cheers.

from autodock-vina.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.