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?
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):
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
vinaforce field was used.Then, according to the above cited information, I made one change in the
first_example.pyscript - the substitution of'vina'with'ad4'.Unfortunately, regardless of the receptor used, the error message with AD4 force field remians the same:
Is it a bug?