The Molecular Graphics Laboratory Forum

AutoDock, AutoLigand, MGLTools, Vina, PyRx and more.
It is currently Sat May 25, 2013 3:12 am

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Wed Nov 11, 2009 12:02 am 
Offline
Millimolar User
Millimolar User
User avatar

Joined: Tue Nov 10, 2009 11:45 pm
Posts: 1
Dear all,
I'm new to vina. I watched the tutorial and installed vina to my laptop (windows xp). I could dock the ligand separately under windows command prompt using the following settings:
conf.txt
receptor = itk.pdbqt
ligand = cta068.pdbqt

center_x = 22
center_y = 0
center_z = 12

size_x = 50
size_y = 50
size_z = 60

and using the command >"\Program Files\The Scripps Research Institute\Vina\vina.exe" --config conf.txt --log log.txt
but I have many ligands such as cta050, cta060, cta070... to dock into the same protein.
I'm wondering how I could modify the above settings to do a virtual screening of the ligands and rank them by binding energys.
Thank you very much,
Wenchang


Top
 Profile  
 
PostPosted: Wed Nov 11, 2009 10:10 am 
Offline
Millimolar User
Millimolar User
User avatar

Joined: Mon Sep 07, 2009 10:13 am
Posts: 5
I use a Mac.
I have python installed; I start UNIX and run a python script which automates the process. It includes a reference to the vina program.
Not sure how it would work on windows.

It can be a bit of time to get ones head around though...


Top
 Profile  
 
PostPosted: Thu Aug 26, 2010 11:53 pm 
Offline
Micromolar User
Micromolar User
User avatar

Joined: Fri Aug 13, 2010 10:57 pm
Posts: 40
Dear nAll,

Have you found an answer?? I would also like to do VS using vina installed in a machine running windows 7. I am using PyRx and wrks well, but I do not wnat to manually save the poses generated... :(
Thanks!

MI

_________________
MI


Top
 Profile  
 
PostPosted: Sat Oct 02, 2010 8:50 am 
Offline
Millimolar User
Millimolar User
User avatar

Joined: Sat Oct 02, 2010 8:48 am
Posts: 1
I also have this problem, so any suggestions would be appreciated.


Top
 Profile  
 
PostPosted: Fri Oct 08, 2010 3:43 pm 
Offline
Micromolar User
Micromolar User
User avatar

Joined: Sun Apr 18, 2010 6:51 pm
Posts: 17
A colleague of mine was so impressed with the ease of scripting serial docking in the (UNIX) Bash shell that he wrote some DOS batch files that can accomplish the same. I will ask him if he would share them here.

Edit: He provided me with his script file, which was rather extensive. However, he only agreed to sharing the part which does a batch docking. To rank ligands there is a python script named 'sortscript.py' (I think) that someone, probably Dr. Trott, provided.

You can paste the following lines into a text file and save it with the extension .bat to make the serial docking script:
Code:
::cmd
@echo off
TITLE VINA BAT
:start
color b1
echo             *      *   *      *
echo          *   *     * * *     *   *
echo        *      *   *     *   *      *
echo       *         **       **         *
echo       *      HELLO. I AM VINA BAT.  *
echo        *                           *
echo          *  * * *  *   *  *  * *  *
echo            *   *     *     *    *
pause
echo VINA BAT expects:
echo The configuration file is named "vina.txt".
echo Ligands are located in a directory named "ligands."
echo vina.exe is copied to the current directory or in the user's PATH.
pause
echo Output (results) and logs will be put in directories named "out" and "log".
echo These directories will be created if they do not already exist.
echo Vina will run as a low priority process.
pause
mkdir out
mkdir log
start /low /b for %%T in (ligands/*.pdbqt) do (vina --ligand ligands/%%T --config vina.txt --log log/%%~nT.txt --out out/%%T)

The script starts vina in a low-priority mode in case you are running it on your workstation and want the system to remain responsive for your other work.
I've tried to make sure the usage instructions (in the script) are clear but I am assuming a basic level of familiarity with command-line operations. Please try it and let me know if you need help.


Top
 Profile  
 
PostPosted: Wed Jan 04, 2012 7:43 pm 
Offline
Millimolar User
Millimolar User
User avatar

Joined: Wed Nov 30, 2011 1:37 am
Posts: 6
Sorry for bumping an old thread, but where is this "sortscript.py" that you mentioned?


Top
 Profile  
 
PostPosted: Mon Mar 19, 2012 4:05 pm 
Offline
Millimolar User
Millimolar User
User avatar

Joined: Mon Mar 19, 2012 4:02 pm
Posts: 2
PhDock wrote:
I use a Mac.
I have python installed; I start UNIX and run a python script which automates the process. It includes a reference to the vina program.
Not sure how it would work on windows.

It can be a bit of time to get ones head around though...


I want to perform a screening by using a sdf library file. I am wondering if I can run the PyRx on the command line to automate the process for each ligand. Actually a Python script to do this job would be great for either Mac or Windows.
Thank you.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: Heritrix [Crawler] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
POWERED_BY
Translated by MaĆ«l Soucaze © 2009 phpBB.fr