Skip to content

Error in Python API #468

Description

@DariuszKamil

Python API is a very useful tool of AutoDock Vina.
However, to the best of my knowledge, it does not support AD4 socring function.

According to the tutorial "Python scripting" (https://autodock-vina.readthedocs.io/en/latest/docking_python.html):

>>> v = Vina(sf_name='vina')
In the case you want to use another forcefield like AutoDock4 or Vinardo, just replace vina by ad4 or vinardo.

I successfully reproduced the action of the Python script using the data deposited on GitHub: https://github.com/ccsb-scripps/AutoDock-Vina/tree/develop/example/python_scripting , in which vina force field was used.
Then, according to the above cited information, I made one change in the first_example.py script - the substitution of 'vina' with 'ad4'.
Unfortunately, regardless of the receptor used, the error message with AD4 force field remians the same:

$ python3 first_example.py
ERROR: Only flexible residues allowed with the AD4 scoring function. No (rigid) receptor.

Is it a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions