# Extract the best constraints #cat constraints.under | sort -g -k 7 -r | gawk -f ../scripts/getbestconstraints.awk -v PERC=$1 > bestconstraints.under # Extract the best constraints (new method) rmdir -rf getbest mkdir getbest cp constraints.under getbest cp res2cbatom.dat getbest cp ~palu/predict/starter-directory-2007/ID.t06.CB8-sep9.rdb getbest cd getbest cat ID.t06.CB8-sep9.rdb|gawk -f ~palu/test/scripts/cleanprobabilities.awk > probabilities.dat ~palu/predict/src/main probabilities.dat res2cbatom.dat constraints.under bestconstraints.under 0.9 cp bestconstraints.under .. cd .. # plot mkdir plots rm -rf ../plot/constraintweights/weightdist.pdf cp constraint.weights.costs.dat ../plot/constraintweights cp bestconstraints.under ../plot/constraintweights cp plottitle ../plot/constraintweights cd ../plot/constraintweights ./plot.sh cp weightdist.pdf ../../ID/plots cd ../../ID rm -rf ../plot/locationplot/plot.pdf rm -rf plots/locationplot.pdf rm -rf plots/locationplot-diff.pdf rm -rf ../plot/locationplots/bestconstraints.under cp constraint.weights.costs.dat ../plot/locationplots cp bestconstraints.under ../plot/locationplots cp plottitle ../plot/locationplots cd ../plot/locationplots ./plot.sh cp plot.pdf ../../ID/plots/locationplot.pdf cp plot-diff.pdf ../../ID/plots/locationplot-diff.pdf cd ../../ID # test against servers echo "InfilePrefix /projects/compbio/experiments/protein-predict/casp7/ID/decoys/" > servers.no-scwrl.under cat /projects/compbio/experiments/protein-predict/casp7/ID/decoys/read-pdb+servers.under|grep -i -v scwrl >> servers.no-scwrl.under ~palu/karplus/undertaker/undertaker < evaluate.constraints.servers.under rm -rf ../plot/server.decoys/servers.pdf rm -rf plots/servers.pdf cp decoys/evaluate.constraints.rdb ../plot/server.decoys cp plottitle ../plot/server.decoys cd ../plot/server.decoys ./plot.sh cp servers.pdf ../../ID/plots cp bestservers.pdf ../../ID/plots cp histogram.pdf ../../ID/plots cd ../../ID