The Molecular Graphics Laboratory Forum

AutoDock, AutoLigand, MGLTools, Vina, PyRx and more.
It is currently Wed Jun 19, 2013 6:42 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Vina with SGE
PostPosted: Wed Aug 26, 2009 3:28 pm 
Offline
Millimolar User
Millimolar User
User avatar

Joined: Wed Aug 26, 2009 3:24 pm
Posts: 5
Hello everybody,

does anybody's using vina on a celuster with SGE ? If yes could you eventually supply jobs submission files ?

Thanks

nicolas


Top
 Profile  
 
 Post subject: Re: Vina with SGE
PostPosted: Thu Sep 03, 2009 3:49 pm 
Offline
Millimolar User
Millimolar User
User avatar

Joined: Wed Aug 26, 2009 3:24 pm
Posts: 5
HELLO, i solved my problem and then reply to my own post .... ;-)
Here follows an example script to run VINA on a ROCKS cluster with SGE and qsub as a queue sheduler.

Hope it will help.

Nicolas

#!/bin/csh

rm -rf ./DOCKINGS
mkdir ./DOCKINGS

foreach s (`ls ./STRUCTURES/*.pdbqt`)
set struct = `basename $s .pdbqt`
echo Processing Structure $struct

mkdir -p ./DOCKINGS/$struct

foreach f (`ls ./LIGANDS/*.pdbqt`)
set b = `basename $f .pdbqt`
echo Processing ligand $b
mkdir -p ./DOCKINGS/$struct/$b

echo "/mnt/pvfs2/VINA/vina --cpu 1 --exhaustiveness 20 --num_modes 20 --energy_range 10 --receptor $s --ligand $f --center_x 124.2 --center_y 111.5 --center_z 28.4 --size_x 25 --size_y 25 --size_z 25 --out ./DOCKINGS/${struct}
/${b}/solutions.pdbqt --log ./DOCKINGS/${struct}/${b}/log.txt " > job.sh

qsub -q all.q -cwd -o output.std -e output.err -m esa -M root job.sh

sleep 0.1

rm -f job.sh

end

end


Top
 Profile  
 
 Post subject: Re: Vina with SGE
PostPosted: Mon Mar 08, 2010 9:19 am 
Offline
Millimolar User
Millimolar User
User avatar

Joined: Thu Feb 11, 2010 4:12 am
Posts: 3
Dear nicolas,

Actually, I used some kind of cluster that using Sun Grid Engine too.
I would like to try your script
can you give me some explanation of using this script?
such us, where should I put the receptor etc

Thanks

Muhammad H Hilman


Top
 Profile  
 
 Post subject: Re: Vina with SGE
PostPosted: Mon Aug 02, 2010 8:13 pm 
Offline
Micromolar User
Micromolar User
User avatar

Joined: Thu Jul 22, 2010 4:12 pm
Posts: 13
Is there any way to reserve a single node for a vina job in SGE. I have tried to do a "qsub -l slots=2 Job.sge" style submission and it failed saying you need to use parallel environment. Is there another way to have SGE allocate a single node to a single job? This would allow multiple cores to work on a docking. Although this would not be helpful, time wise, for large numbers of ligands but small batches could run faster.

_________________
TJ Mustard
mustardt(at)onid(dot)orst(dot)edu


Top
 Profile  
 
 Post subject: Re: Vina with SGE
PostPosted: Wed Aug 04, 2010 12:14 am 
Offline
MGL member
MGL member
User avatar

Joined: Mon Oct 20, 2008 9:39 pm
Posts: 202
tjmustard wrote:
Is there any way to reserve a single node for a vina job in SGE. I have tried to do a "qsub -l slots=2 Job.sge" style submission and it failed saying you need to use parallel environment. Is there another way to have SGE allocate a single node to a single job? This would allow multiple cores to work on a docking. Although this would not be helpful, time wise, for large numbers of ligands but small batches could run faster.


Not sure about SGE specifically, but the qsub I use has an option for requesting the number of CPUs (cores) per node.
Code:
-l nodes=1:ppn=8
Check the manual.

_________________
Please do not email or PM me with questions. Vina.scripps.edu/questions.html explains where to find help.


Top
 Profile  
 
 Post subject: Re: Vina with SGE
PostPosted: Sat Oct 23, 2010 8:36 pm 
Offline
Millimolar User
Millimolar User
User avatar

Joined: Sat Oct 23, 2010 8:32 pm
Posts: 1
Thank you very much for your script. It was generous of you.

I am anxious to begin testing on my own and will report back. :)


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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:  
cron
POWERED_BY
Translated by MaĆ«l Soucaze © 2009 phpBB.fr