Ceci est une ancienne révision du document !


How to use Vina

MPI-vina is an MPI program that should be used with parallel.q queue here is an example of SGE script according to the one found in Src folder :

#!/bin/bash
 
#$ -q parallel.q
#$ -pe mpi 16   ## change me
 
module load vina
 
#Compile the application.
ls > ligandlist ./Ligand
mkdir -p Output
mkdir -p ProcessedLigand
make
 
#Run the application.
echo "MPI-Vina is running..."
mpirun mpiVINA > Output/MpiVina.log
echo "Processing has finished"
echo "See the MpiVina.log file."
 
#Result analysis.
echo "Analysizing the results..."
cd Output
grep "  1 " *.txt | cut -c1-12,35-42 > result
#grep "  1 " *.txt | cut -c1-7,30-35 > result
echo "See the 'result' file in 'Output' directory."
#cat result
 
echo "Sorting the results..."
sort -n +1 -2 result -o SortedResult
echo "See the 'SortedResult' file in 'Output' directory."
#cat SortedResult
As always it's better and safe to test the program interactively on mesoshared before using SGE.
  • vina.1584531295.txt.gz
  • Dernière modification : 2020/03/18 11:34
  • de admin