AutoDock-Vina icon indicating copy to clipboard operation
AutoDock-Vina copied to clipboard

Batch mode cannot be executed from config file

Open DaniDelHoyo opened this issue 1 year ago • 0 comments

Seems like when the batch input mode is specified from the config file, vina (as installed from conda, AutoDock Vina 58016d8-mod) does not recognize the batch option and tries to read the batch regular expression (input_dir/*.pdbqt) as a file, resulting in an error. I can always specify the batch option from the command line, so it is not a big deal, but still might be worth check in.

------ Command --------

vina --config configFile.txt

------ Config file --------

batch = ./tmp/*.pdbqt scoring = ad4 maps = 1s63_tz center_x = 11.148385089189023 center_y = 125.14929904879297 center_z = 1.9764267131155862 size_x = 70.0 size_y = 70.0 size_z = 70.0 dir = . cpu = 4 exhaustiveness = 3 max_evals = 0 num_modes = 2 min_rmsd = 2.0 verbosity = 2

----- Error ------

Scoring function : ad4 Exhaustiveness: 3 CPU: 4 Verbosity: 2

Reading AD4.2 maps ... done.

Error: could not open "./tmp/*.pdbqt" for reading.

----- Alternative ------

Remove batch line from config file Command: vina --batch ./tmp/.pdbqt --config configFile.txt

DaniDelHoyo avatar May 16 '23 14:05 DaniDelHoyo