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

Multiple-ligand docking pose PDBQT cannot be (re)scored #327

Open
rwxayheee opened this issue Jun 20, 2024 · 1 comment
Open

Multiple-ligand docking pose PDBQT cannot be (re)scored #327

rwxayheee opened this issue Jun 20, 2024 · 1 comment

Comments

@rwxayheee
Copy link
Collaborator

rwxayheee commented Jun 20, 2024

Not working with binary and Python API. Might be due to the multiple appearances of ROOT keyword in a PDBQT pose containing multiple fragments

File ~/micromamba/envs/meeko_eco/lib/python3.10/site-packages/vina/vina.py:182, in Vina.set_ligand_from_file(self, pdbqt_filename)
    179         raise TypeError('Error: Vina requires a PDBQT file for the ligand.')
    181 if len(pdbqt_filename) == 1:
--> 182     self._vina.set_ligand_from_file(pdbqt_filename[0])
    183 else:
    184     self._vina.set_ligand_from_file(pdbqt_filename)

File ~/micromamba/envs/meeko_eco/lib/python3.10/site-packages/vina/vina_wrapper.py:710, in Vina.set_ligand_from_file(self, *args)
    709 def set_ligand_from_file(self, *args):
--> 710     return _vina_wrapper.Vina_set_ligand_from_file(self, *args)

TypeError: 

PDBQT parsing error: Unknown or inappropriate tag found in flex residue or ligand.
 > ROOT
@rwxayheee
Copy link
Collaborator Author

A walkaround to this at the moment is to read individual PDBQT files.

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

1 participant