91cecec4e65aa52dfa528d17a1fba9e1b7672381 lrnassar Tue Jun 4 13:41:15 2019 -0700 Updating scripts to point to new beta machine #23616 diff --git src/utils/qa/updateTimesDb.sh src/utils/qa/updateTimesDb.sh index 202a972..2f3e8aa 100755 --- src/utils/qa/updateTimesDb.sh +++ src/utils/qa/updateTimesDb.sh @@ -1,171 +1,171 @@ #!/bin/bash # quit if something within the script fails set -beEu -o pipefail - +source `which qaConfig.bash` umask 002 ############################ # # 02-17-16 -- Matt Speir # # This script will output a the update # times for all of the tables in a single # database on dev and beta. One can also # specify a different database on beta # so that table update times can be # compared between different databases on # different machines. # # This script is intended to replace # updateTimesDb.csh # ############################ ##### Variables ##### # Set by command-line options dbDev="" dbBeta="" outputFiles=false ##### Functions ##### showHelp() { cat << EOF Usage: `basename $0` [-hf] [-d DATABASE DEV] [-b DATABASE BETA] -h Display this help and exit -d DATABASE DEV Database to check on Dev, e.g. hg19 or hg38. -b DATABASE BETA Database to check on Beta. -f Output lists of tables on Dev and Beta into files. Shows table update times for an entire database on Dev and Beta. If you wish to compare databases between the machines, use the -b option to specify the database on Beta. For example, to compare the same assembly on Dev and Beta updateTimesDb.sh -d ce10 Or, for example to compare two different databases on Dev and Beta updateTimesDb.sh -d ce6 -b ce10 Output is formatted as a table: dev db beta db tableName