src/utils/qa/getLiftOver.csh 1.6

1.6 2009/05/05 23:13:56 kuhn
added sqlrr variable where needed to set up for new machine testing
Index: src/utils/qa/getLiftOver.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/getLiftOver.csh,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -B -U 1000000 -r1.5 -r1.6
--- src/utils/qa/getLiftOver.csh	11 Apr 2009 00:37:03 -0000	1.5
+++ src/utils/qa/getLiftOver.csh	5 May 2009 23:13:56 -0000	1.6
@@ -1,57 +1,57 @@
 #!/bin/tcsh
 source `which qaConfig.csh`
 
 #######################
 #
 #  9-18-2008
 #
 #  get the assemblies to/from which a particular assembly has liftOver files.
 #
 #  Ann Zweig
 #
 #######################
 
 set machine="hgw1"
 set db=""
 set central="hgcentral"
-set host="-h genome-centdb"
+set host="-h $sqlrr"
 
 if ( "$HOST" != "hgwdev" ) then
  echo "\n error: you must run this script on dev!\n"
  exit 1
 endif
 
 if ($#argv < 1 || $#argv > 2 ) then
   echo
   echo "  get the assemblies to/from which a particular db has liftOver files."
   echo
   echo "    usage: db [hgwdev|hgwbeta]"
   echo "         defaults to RR machines"
   echo
   exit
 endif
 
 
 # assign command line arguments
 set db=$argv[1]
 
 if ($#argv == 2 ) then
   set machine=$argv[2]
 endif
 
 if ($machine == 'hgwbeta') then
  set central='hgcentralbeta'
  set host='-h $sqlbeta'
 endif
 if ($machine == 'hgwdev') then
  set central='hgcentraltest'
  set host='-h hgwdev'
 endif
 
 echo "\nliftOver chains TO $db on $machine --\n" 
 hgsql $host -Ne "SELECT fromDb FROM liftOverChain WHERE toDb = '$db' \
  ORDER BY fromDb" $central
 
 echo "\nliftOver chains FROM $db on $machine --\n" 
 hgsql $host -Ne "SELECT toDb FROM liftOverChain WHERE fromDb = '$db' \
  ORDER BY toDb" $central