3 if [ "$1" == "1l2y_clust_int" ]; then
4 file=1l2y_csa_GB000_clust.int
10 if [ ! -f $file ]; then
11 echo "CRITICAL: out $file does not exist"
15 fam=`grep THERE 1l2y_csa_GB000_clust.out|head -1|awk '{print $3}'`
16 grep THERE 1l2y_csa_GB000_clust.out
17 grep REMARK 1l2y_csa*[0-9][0-9][1-9].pdb
19 if [ "$fam" != "6" ]; then
20 echo 'ERROR: number of families not equal 6'