unres paper list update
[django_unres.git] / files / pbs_md_new.csh
index 177085f..57900e0 100755 (executable)
@@ -46,13 +46,25 @@ if ( -f "file_MD000.pdb" ) then
  mkdir tmp
  /users2/local/pymol_1.6/pymol -c ../files/movie.pml
  ffmpeg2theora tmp/aa%4d.png -o md.ogv
- rm -rf tmp
+ if ( `grep -c pdbstart file.inp` ) then
+  /users2/local/pymol_1.6/pymol -c ../files/overlap.pml
+  ../files/fluct_plot.py intra_fit.pdb > fluctuations.txt
+  /users2/local/pymol_1.6/pymol -c -r ../files/fluct.py
+  rm -f intra_fit.pdb
+ endif
+ rm -rf tmp 
 else
  /users2/czarek/UNRES/git3_tmp/build/bin/xdrf2pdb-mult one file.seq file_MD000.cx
  mkdir tmp
  /users2/local/pymol_1.6/pymol -c ../files/movie.pml
  ffmpeg2theora tmp/aa%4d.png -o md.ogv
- rm -rf tmp file_MD000.pdb
+ if ( `grep -c pdbstart file.inp` ) then 
+  /users2/local/pymol_1.6/pymol -c ../files/overlap.pml
+  ../files/fluct_plot.py intra_fit.pdb > fluctuations.txt
+  /users2/local/pymol_1.6/pymol -c -r ../files/fluct.py
+  rm -f intra_fit.pdb
+ endif
+ rm -rf tmp file_MD000.pdb 
 endif
 
 touch finished