The Molecular Graphics Laboratory Forum

AutoDock, AutoLigand, MGLTools, Vina, PyRx and more.
It is currently Thu Sep 20, 2018 4:24 pm

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Fri Jul 29, 2011 7:43 pm 
Offline
Millimolar User
Millimolar User
User avatar

Joined: Fri Jul 29, 2011 7:38 pm
Posts: 2
Hi,

I was follwing the vina tutorial, and I am stuck in the step where I have to open config file.
I have saved my config file as "config.txt"
And this is what I have written in that text file:

receptor = TM-Eminimized.pdbqt
ligand = R-568.pdbqt

out = out.pdbqt

center_x = 11.463
center_y = 43.5
center_z = 72.036

size_x = 40
size_y = 40
size_z = 40



On Windows command prompt, I typed:
"\Program Files\The Scripps Research Institute\Vina\vina.exe" --config config.txt --log log.txt
(as in tutorial)
However, I get the error message saying "could not open "config.txt" for reading."
And, yes I have checked the FAQ section and made sure that the file extension was not hidden after the file name.

How could I possibly resolve this issue?

Any help would be appreciated.
Thank you.


Top
 Profile  
 
PostPosted: Mon Aug 01, 2011 8:23 am 
Offline
Millimolar User
Millimolar User
User avatar

Joined: Thu Jun 23, 2011 12:39 pm
Posts: 5
most probably it is because your config.txt is not in the working directory of autodock vina. You should try set up environment path in windows so that you can just call vina in any of your windows directory in dos/command window and then work in the directory containing the config.txt file.

Or, you could supply the full path for the config.txt.


Top
 Profile  
 
PostPosted: Mon Aug 01, 2011 9:48 pm 
Offline
Millimolar User
Millimolar User
User avatar

Joined: Fri Jul 29, 2011 7:38 pm
Posts: 2
Hi, Thank you for the message.
I was working in the correct folder, and it still didnt seem to work corretly...

For other people who are having the same problem as me:
I tried writing everything out in command window instead of using config.txt file, and now it is working.


Top
 Profile  
 
PostPosted: Wed Nov 23, 2011 4:40 am 
Offline
Millimolar User
Millimolar User
User avatar

Joined: Wed Nov 23, 2011 4:37 am
Posts: 2
save config.txt as conf.txt it will work


Top
 Profile  
 
PostPosted: Tue Jan 03, 2012 4:42 am 
Offline
Millimolar User
Millimolar User
User avatar

Joined: Tue Jan 03, 2012 4:13 am
Posts: 1
Hi,
I have a problem about how to running vina

I was follwing the vina tutorial, and I am stuck in the step where I have to open config file.
I have saved my config file as "conf.txt"
And this is what I have written in that text file:

receptor = receptor.pdbqt
ligand = ligand.pdbqt

out = out.pdbqt

center_x = 11
center_y = 90.5
center_z = 57.5

size_x = 22
size_y = 24
size_z = 28



On Windows7 command prompt, I typed:
"\Program Files\The Scripps Research Institute\Vina\vina.exe" --config conf.txt.txt --log log.txt
(as in tutorial)
However, I get the error message saying "configuration file parse error:in option 'center_y' : invalid option value '90,5'

How could I possibly resolve this issue?

Any help would be appreciated.
Thank you.


Top
 Profile  
 
PostPosted: Tue Jan 03, 2012 7:08 pm 
Offline
Picomolar User
Picomolar User
User avatar

Joined: Sun Jun 21, 2009 11:37 pm
Posts: 163
The error message suggests that there may be a typo in config.txt:
..."invalid option value '90,5'"

Try replacing the comma with a period:
'90.5' instead of '90,5'


Top
 Profile  
 
PostPosted: Tue Apr 30, 2013 1:09 pm 
Offline
Millimolar User
Millimolar User
User avatar

Joined: Tue Apr 30, 2013 1:05 pm
Posts: 1
When you enter the code to change directory, you can only do that once...
For example: cd "my documents\vina"
after your enter the directory, you can no longer change it. So to access vina from program files, you will have to enter the following:

"\program files\the scripps research institute\vina\vina.exe" --help

...followed by...

"\program files\the scripps research institute\vina\vina.exe" --config conf.txt --log log.txt

Hope that helps!


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: No registered users and 7 guests


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