GithubHelp home page GithubHelp logo

autodock-vina_scripts's Introduction

Autodock vina docking scripts


docking.sh

How it works?

  1. When you run the docking.sh for the first time it checks if the folder named results exist. If it is exist then it counts the result count in the folder for the further usage. If it doesn't exist then it creates results folder.
    • results folder is the location of where the console output of Autodock vina will be save.
  2. Then it checks the existence of results_table.csv file. If it doesnt exist it creates one.
    • results_table.csv is the where the summary of results will be save (Number of result, Lowest affinity value, Average value of 'dist from rmsd', Maximum value of 'dist from rmsd', Seed number, etc.).
  3. Then it detects the config file. Config file must be named as (some_name)_conf.txt (Check config file). PS: Be sure that there is not file contains _conf.txt in the name.
  4. Then it starts to work until it reaches the 'maxattempt' number which you entered at the top of docking.sh line.
  5. Script prints the summary of the result (Average value of 'dist from rmsd', Maximum value of 'dist from rmsd', Lowest affinity value) and it stores the detailed information in the results_table.csv table.
  6. When process is finished. You can check the results_table.csv for the value you want to find. When you find the result, you can copy the seed number of result and then run the vina with the seed you copied to reach result that you want.

Example workflow

  1. Open the terminal in the docking folder. Docking folder must be contains ((some_name)_conf.txt, protein.pdbqt file, ligand.pdbqt file which you defined in the config file (Check config file).
  2. Then edit the maxattempt number in the docking.sh as you want.
  3. Then type ./docking.sh in the terminal. It must be give a output like <result_number> started... that means script is working.
  4. If you see Process finished that means script is finished working. You can check the results_table.csv for the pick result for the seed.
  5. Then run vina --config test_conf.txt --seed <seed_number>

Example config file

receptor= protein.pdbqt
ligand= SO.pdbqt

center_x= 4.402
center_y= -8.060
center_z= 8.874

size_x= 66
size_y= 56
size_z= 54

out= vina_outSO.pdbqt
log= logSO.txt

exhaustiveness= 8

autodock-vina_scripts's People

Contributors

cnkndmr avatar

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.