X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=files%2Fpbs_md.csh;h=bdf9161ae141bd5a91bb2e64635e08f7656b016a;hb=d03bf58e6dc3d690486f8eb7a8f18ad34938c71f;hp=00e3840ea76d7f386c412dd28524b14976625171;hpb=6776e7c469a38ab58676c9dda3b17d1971d90e0b;p=django_unres.git diff --git a/files/pbs_md.csh b/files/pbs_md.csh index 00e3840..bdf9161 100755 --- a/files/pbs_md.csh +++ b/files/pbs_md.csh @@ -33,19 +33,38 @@ setenv OUT1FILE YES $MPIRUN -machinefile $PBS_NODEFILE -np $NPROCS $UNRES_BIN +if ( `grep -c pdbref file.inp` ) then + awk '{if ( NF == 14 ) print}' file_GB000.stat > md.stat +else + awk '{if ( NF == 10 ) print}' file_GB000.stat > md.stat +endif + ../files/matplotlib_fit_hist.py $dimen3 +rm md.stat 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