Journal structure based mutation analysis (PKU)

From Bioinformatikpedia
Revision as of 07:00, 22 June 2012 by Hollizeck (talk | contribs) (Created page with "== runAllMinimiser.sh == <source lang="bash"> #!/bin/sh #only for use in the biolab if [ -f /opt/SS12-Practical/minimise/minimise ]; then echo minimise has been located echo …")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

runAllMinimiser.sh

<source lang="bash">

  1. !/bin/sh
  2. only for use in the biolab

if [ -f /opt/SS12-Practical/minimise/minimise ]; then

echo minimise has been located
echo starting for ${1}.pdb
i=0
while [ $i != 5 ]; do
 echo iteration $i
 if [ $i -eq 0 ]; then
  echo "calling: /opt/SS12-Practical/minimise/minimise ${1}.pdb ${1}_min1.pdb > minimise${1}_1.log 2> /dev/null"
  /opt/SS12-Practical/minimise/minimise ${1}.pdb ${1}_min1.pdb > minimise${1}_1.log 2> /dev/null
 else
  next=$((i+1))
  echo "calling: /opt/SS12-Practical/minimise/minimise ${1}_min${i}.pdb ${1}_min${next}.pdb > minimise${1}_${next}.log 2> /dev/null"
  /opt/SS12-Practical/minimise/minimise ${1}_min${i}.pdb ${1}_min${next}.pdb > minimise${1}_${next}.log 2> /dev/null
 fi
 i=$((i+1)) 
done

fi echo end

</source>