src/utils/qa/chainNetTrio.csh 1.11

1.11 2010/02/24 19:20:54 ann
added informational statement about what to do when the script finishes
Index: src/utils/qa/chainNetTrio.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/chainNetTrio.csh,v
retrieving revision 1.10
retrieving revision 1.11
diff -b -B -U 1000000 -r1.10 -r1.11
--- src/utils/qa/chainNetTrio.csh	31 Jul 2009 18:50:35 -0000	1.10
+++ src/utils/qa/chainNetTrio.csh	24 Feb 2010 19:20:54 -0000	1.11
@@ -1,49 +1,52 @@
 #!/bin/tcsh
 source `which qaConfig.csh`
 
 # This script runs the chain.csh, chain2.csh, and net.csh
 # scripts in sucession.
 
 # enter the name of the database and the name of the chains/nets.
 
 if ($#argv < 1 || $#argv > 2) then
   echo
   echo " runs the three chain and net scripts in succession"
   echo " works for both split and unsplit chain tables"
   echo
   echo "    usage:  database Tablename"
   echo
   echo "    database is the 'from' database  "
   echo "    Tablename is the name of the chain tables (need not be capitalized)"
   echo "    e.g. chainNetTrio.csh mm8 Hg18"
   echo
   exit
 else
   set db=$argv[1]
   set table=$argv[2]
 endif
 
 # capitalize the first letter of the "other" chain table:
 # just in case
 set table=`echo $table | perl -wpe '$_ = ucfirst($_)'`
 
+
 set split=`getSplit.csh $db chain$table hgwdev`
 if ( $status ) then
   echo "\n\n $split \n"
   exit 1
 endif
 
 if ( $split == "unsplit" ) then
   # run the three scripts in order
   nice chain.csh  $db chain$table      >& $db.chain.$table
   nice chain2.csh $db chain$table      >& $db.chain2.$table
   nice net.csh    $db net$table        >& $db.net.$table
 else
   # run the three scripts in order
   nice chain.csh  $db chrN_chain$table >& $db.chain.$table
   nice chain2.csh $db chrN_chain$table >& $db.chain2.$table
   nice net.csh    $db net$table        >& $db.net.$table
 endif
 
+echo "\nThe script has finished.  You should now check the output in these"
+echo " three files: $db.chain.$table, $db.chain2.$table, $db.net.$table\n"
 
-
+exit 0