ccsb-scripps / AutoDock-Vina

AutoDock Vina
http://vina.scripps.edu
Apache License 2.0
605 stars 212 forks source link

Installing Autodock Vina for use in Chimera? #94

Open Knots-hocks opened 2 years ago

Knots-hocks commented 2 years ago

I've downloaded the mac os file "vina_1.2.3_mac_x86_64" and put it into a folder on my mac. I've set the Autodock Vina to run as a local file and pointed Chimera to the file I downloaded, but when I try to run it I get an error; "vina_1.2.3_mac_x86_64" is not an executable". Am I misunderstanding the instructions or does Vina 1.2.3 no longer run inside Chimera?

diogomart commented 2 years ago

Maybe you need to give it permission to execute:

chmod +x vina_1.2.3_mac_x86_64
Knots-hocks commented 2 years ago

Thanks for this. My mac will now run it (after I overrode the non-verified developer bar), but it fails with a "no output" error. Are there some instructions that show non-specialist users how to run the newer versions of Vina on macs?

diogomart commented 2 years ago

We have information on how to run vina from the command line, which identical to vina v1.1.2 for many use cases: https://autodock-vina.readthedocs.io/en/latest/docking_basic.html

  1. Is Chimera raising the "no output" error?
  2. Does vina print anything when executed directly in the command line?
Knots-hocks commented 2 years ago

Yes, the "no output" error occurs in Chimera. Does this mean that the newer versions of Vina cannot be run in Chimera on a mac? Version 1.1.2 and the windows version of 1.2.3, run in Chimera.

I'm sorry I don't have any experience of running Vina from the terminal on a mac. The instructions you cite say that an additional software suite is also required, ADFR? But there are warning messages about that not running in some versions of mac os? Is there somewhere I find instructions on the syntax etc for use in running Vina from the terminal?

diogomart commented 2 years ago

I don't know if the newer version of Vina can run in Chimera.

ADFR has nice tools for receptor preparation, but it is possible to prepare receptors in others ways, with MGLTools or OpenBabel. So it is possible to run Vina without ADFR.

The docs I shared contain the instructions for running Vina from the terminal.