Closed BJWiley233 closed 1 year ago
Hi,
The BioBB's rely on conda dependencies for working properly. In this case, the autodock vina developers have changed this property in the 1.2.3 version, but this version is not still in conda:
https://anaconda.org/search?q=autodock+vina
So for now, we must keep using the 1.2.2 version for the BioBB's. Once the 1.2.3 version is in conda, we will work on replacing it in the biobb_vs package.
In other BioBB's you could use your own distribution, but in this case, what you should do is to install biobb_vs in a conda environment. Conda will take car of installing the 1.2.2 version inside this environment, but outside it you will be able to use your own 1.2.3 version with no problems.
But if you need to use the 1.2.3 version, you can do as you said in your message: change manually the autodock_vina_run.py code in your computer.
Best.
Thanks,
I think the issue is that vina from conda installation doesn't work on new OS of macOS. See here, this is same error I get. Also version 1.2.2 of vina even has verbosity in replacement of log, so I think you mean version 1.1.2.
Brian
For anyone encountering an issue with using the --log command (unrecognised option) when running AutoDock VINA v1.2.3 (this is how I first got to this page), here's a link that might help: https://www.reddit.com/r/bioinformatics/comments/xfsvq3/autodock_vina_virtual_screening_issue/
Adding to this question, now autodock-vina 1.2.3 is on conda-forge, and it works with macOS but --log argument it's still an issue:
Old vina 1.1.2: https://anaconda.org/bioconda/autodock-vina New vina 1.2.3: https://anaconda.org/conda-forge/vina
biobb_vs has been updated to autodock-vina 1.2.3 in the new 4.0.0 version
Hi,
I installed biobb and everything works fine until I get to running Autodock Vina wrapper. They changed the code back in June 2020 to remove --log for new --verbosity argument. See here. Now I tried updating the code in my distribution installed with conda at
site-packages/biobb_vs/vina/autodock_vina_run.py
but when I update this code for newcmd
to look like below, it still calls the oldcmd
in the log to the python kernel. I am not sure how you implement your wrappers buy maybe it is really calling the cython compiledautodock_vina_run
?Code update to autodock_vina_run.py (which I will see when removing the log from the call to this program, but something else gets ran to keep --log in the call when correctly calling the program)
but this still shows with correct call (so I think it's really calling
site-packages/biobb_vs/vina/__pycache__/autodock_vina_run.cpython-37.pyc
???). --log should be replaced with --verbose 2 correct?