Giter VIP home page Giter VIP logo

Comments (13)

diogomart avatar diogomart commented on July 30, 2024 1

@alchymy does this help? https://github.com/forlilab/tutorials/tree/main/installation-mac#vina-executable

from autodock-vina.

rwxayheee avatar rwxayheee commented on July 30, 2024 1

macBook is same as yours with Monterey 12.7.4 Download just shows as a Kind 'Document'

It shows as "Document" to me too. It should still work in Terminal. Mac displays it as a "Document" likely because it doesn't have a specified extension. You could change the icon (appearance) and its Type by adding the extension .dylib if you want to make it a Unix Executable to Mac. But it won't affect the content/nature/function of the script

ps. This isn't a necessary step to run vina. The only change after Mac recognizes the file type is now we could launch Terminal (and a dry run with no options or variable specification, will print only the help message) by double-clicking the executable in Finder. The type of files was not actually changed, but the default way to open it now becomes Terminal, if this is something you wanted to :>

from autodock-vina.

alchymy avatar alchymy commented on July 30, 2024 1

Have now got Vina running with some sample pdbqt format data from the source code "basic_docking/data" on Windows 11 and macOS. There are also sample files in the Scripps ADFR reducing tutorial. Autodock Vina 1.1.2 is also available as an integrated extension to "SAMSON 2023 R1 (macOS)" which seems to be able to take MOL and PDB files and pass the data in the correct format to Vina to process - this app has a GUI interface.

from autodock-vina.

rwxayheee avatar rwxayheee commented on July 30, 2024

Hi @alchymy
It runs for me on macOS Monterey and my model is MacBook Pro (Retina, 15", Mid 2015).
What is your model and OS?

from autodock-vina.

alchymy avatar alchymy commented on July 30, 2024

iMac 27" Intel 2019 running Sonoma 14.4 Will check on my macBook as well.

from autodock-vina.

alchymy avatar alchymy commented on July 30, 2024

iMac shows it as a "Kind - Script Editor Document" when downloaded.

from autodock-vina.

alchymy avatar alchymy commented on July 30, 2024

macBook is same as yours with Monterey 12.7.4 Download just shows as a Kind 'Document'

from autodock-vina.

alchymy avatar alchymy commented on July 30, 2024

The original 1.1.2 vina from scripps downloads appeared as an executable file, did have to "chmod +x vina" to get it to run from a script which passes the parameters to it, but it works and appeared as correct file type when downloaded.

from autodock-vina.

alchymy avatar alchymy commented on July 30, 2024

the windows .exe version downloaded as is works fine in a bat file. Will check the above solution.

from autodock-vina.

alchymy avatar alchymy commented on July 30, 2024

Yes adding the dylib extension and "./vina_1.2.5_mac_x86_64.dylib" in the .command script works. Many thanks.

from autodock-vina.

diogomart avatar diogomart commented on July 30, 2024

@alchymy if you don't add .dylib extension and you execute ./vina_1.2.5_mac_x86_64 what does it print?

from autodock-vina.

alchymy avatar alchymy commented on July 30, 2024

If I take .dylib off again it still runs now. Have got it reading a config file.

My issue now is getting the receptor / ligand file format from mol / pdb to pdbqt format. The suggested ADFR tools don't work in macOS now, Windows version installs but starts then just exits. This is on Windows 11 so not sure if it still runs.

from autodock-vina.

rwxayheee avatar rwxayheee commented on July 30, 2024

Hi @alchymy

If they're command line tools, it's normal to start and just exit. To not exit instantly, run them in a pre-opened terminal instead of starting from Finder. Adding or changing the extension may change how his file is opened by default but again this shouldn't be a necessary thing. I regret making that comment ><!

Check out the Meeko project for ligand and receptor preparation based on Python libraries:
https://github.com/forlilab/Meeko

If ADFR is preferred, having a Ubuntu VM on Mac will be helpful. See the following notes I left to my fellow students, to use ADT/ADFR on Mac with Apple Silicon (skip the Rosetta parts if yours is Intel)
https://rwxayheee.github.io/ADFR-Suite-and-ADT-in-Ubuntu-VM-on-Apple-Silicon

See this official guide on using ADFR on Win10 through WSL:
https://ccsb.scripps.edu/adcp/windows10/

from autodock-vina.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.