--- /dev/null
+#!/bin/bash
+
+if [ "$1" == "1L2Y_clust" ]; then
+ file=1L2Y_wham_T280K_ave.pdb
+else
+ exit 1
+fi
+
+# Check if file exist
+if [ ! -f $file ]; then
+ echo "CRITICAL: out $file does not exist"
+ exit 2
+fi
+
+fam=`grep THERE 1L2Y_clust_clust.out_000|awk '{print $3}'`
+grep THERE 1L2Y_clust_clust.out_000
+grep REMARK 1L2Y_wham*[1-9].pdb
+
+ if [ "$fam" != "5" ]; then
+ echo 'ERROR: number of families not equal 5'
+ exit 1
+ fi
+