You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm optimizing my workflow for speed and observed that I should use precomputed vina/vinardo maps.
The task is done by first computing maps for the target receptor, then following by application of maps in batch mode. The problem is that the command vina requires the user (me) to provide the --ligand or --batch option if I want to --write-maps. This isn't reasonable.
I'm using v1.2.5 by command line (not Python) because I want Windows support and can't find v1.2.6 on Anaconda builds.
A limitation I observed in the --batch mode is that it requires to pass many arguments, one for each ligand to be tried. This easily reaches the command line length limit, which are 2097152 and 830473 characters on Fedora Linux 41 and Windows, respectively. It sould be supported another way to enable batch processing which don't relies on command line, maybe iterating over contents of a folder.
not having one more elif clause with a single v.write_maps(out_maps); call. The v.set_ligand_from_file(ligand_names); shouldn't be required for such cases. Also, there are multiple calls to v.write_maps(out_maps); indicating a confusing logic (in my opinion).
I'd like to work on a pull request on this issue, it's feasible?
Best Regards,
Pedro
The text was updated successfully, but these errors were encountered:
I agree that --write_maps shouldn't require a ligand. If you open a PR for that it would be appreciated.
About --batch, it could take either the directory name and then find the files, or explicit filenames. This functionality exists in AutoDock GPU. It is also possible to use the python bindings for batch docking, just loop over the ligands and dock one at a time. If you open a PR for this please make it separate from the write_maps PR.
Just found a Github bug! It will close this issue as soon as any one of these PR get accepted. In this particular occasion both should got into to close this issue.
Hi,
I'm optimizing my workflow for speed and observed that I should use precomputed vina/vinardo maps.
The task is done by first computing maps for the target receptor, then following by application of maps in batch mode. The problem is that the command
vina
requires the user (me) to provide the--ligand
or--batch
option if I want to--write-maps
. This isn't reasonable.I'm using v1.2.5 by command line (not Python) because I want Windows support and can't find v1.2.6 on Anaconda builds.
A limitation I observed in the
--batch
mode is that it requires to pass many arguments, one for each ligand to be tried. This easily reaches the command line length limit, which are 2097152 and 830473 characters on Fedora Linux 41 and Windows, respectively. It sould be supported another way to enable batch processing which don't relies on command line, maybe iterating over contents of a folder.I'm blaming the if-elif at
AutoDock-Vina/src/main/main.cpp
Line 417 in db571f4
AutoDock-Vina/src/main/main.cpp
Line 458 in db571f4
v.write_maps(out_maps);
call. Thev.set_ligand_from_file(ligand_names);
shouldn't be required for such cases. Also, there are multiple calls tov.write_maps(out_maps);
indicating a confusing logic (in my opinion).I'd like to work on a pull request on this issue, it's feasible?
Best Regards,
Pedro
The text was updated successfully, but these errors were encountered: