src/utils/qa/chainNetTrio.csh 1.8

1.8 2009/04/11 00:37:01 rhead
Sourced new qaConfig file at the top. Changed -h hgwbeta lines to look for sql host stored in a variable, specified in the new qaConfig file.
Index: src/utils/qa/chainNetTrio.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/chainNetTrio.csh,v
retrieving revision 1.7
retrieving revision 1.8
diff -b -B -U 1000000 -r1.7 -r1.8
--- src/utils/qa/chainNetTrio.csh	2 May 2007 21:45:40 -0000	1.7
+++ src/utils/qa/chainNetTrio.csh	11 Apr 2009 00:37:01 -0000	1.8
@@ -1,44 +1,45 @@
 #!/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 (must 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 ( $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