src/utils/qa/getLiftOver.csh 1.4
1.4 2009/03/24 19:10:44 rhead
Reverting to -h hgwbeta.
Index: src/utils/qa/getLiftOver.csh
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/getLiftOver.csh,v
retrieving revision 1.3
retrieving revision 1.4
diff -b -B -U 1000000 -r1.3 -r1.4
--- src/utils/qa/getLiftOver.csh 21 Mar 2009 00:29:25 -0000 1.3
+++ src/utils/qa/getLiftOver.csh 24 Mar 2009 19:10:44 -0000 1.4
@@ -1,56 +1,56 @@
#!/bin/tcsh
#######################
#
# 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"
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 hgofbeta'
+ set host='-h hgwbeta'
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