src/utils/qa/doGenbankTests 1.10
1.10 2009/05/26 23:21:13 rhead
Removed unused variable, changed date format slightly.
Index: src/utils/qa/doGenbankTests
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/doGenbankTests,v
retrieving revision 1.9
retrieving revision 1.10
diff -b -B -U 4 -r1.9 -r1.10
--- src/utils/qa/doGenbankTests 15 May 2009 02:24:02 -0000 1.9
+++ src/utils/qa/doGenbankTests 26 May 2009 23:21:13 -0000 1.10
@@ -48,9 +48,11 @@
fi
echo $res
}
+# keep track of errors vs. no errors
allOk=yes
+
# specify tables that should get each test
allTables="refGene xenoRefGene mgcFullMrna orfeomeMrna all_mrna intronEst /
all_est xenoMrna xenoEst"
genePredTables="refGene xenoRefGene mgcGenes orfeomeGenes"
@@ -58,19 +60,17 @@
xenoRefSeqAli xenoEst"
featureTables="refGene xenoRefGene mgcGenes mgcFullMrna orfeomeGenes /
orfeomeMrna all_mrna intronEst all_est xenoMrna xenoEst"
-# check host, set path to genbank table list
+# check host, set path to genbank sanity location
if [ "$HOST" != hgwdev -a "$HOST" != hgwbeta ]
then
echo "This script must be run from hgwdev or hgwbeta." >&2
exit 1
elif [ "$HOST" = hgwdev ]
then
- genbankPath="/cluster/data/genbank/etc/genbank.tbls"
sanityPath="/cluster/data/genbank"
else #host is hgwbeta
- genbankPath="/genbank/etc/genbank.tbls"
sanityPath="/genbank"
fi
# get arguments / give usage statement
@@ -166,9 +166,9 @@
done
echo
# run gbSanity
-filename=${db}.sanity.$(date +%m.%d.%Y-%R%p)
+filename=${db}.sanity.$(date +%m-%d-%Y.%R%p)
echo -e "--> Running gbSanity, and putting output in:"
echo -e "${HOST}:$sanityPath/misc/$filename"
# need to run in a subshell, since gbSanity wants to be run from this dir
(cd $sanityPath && bin/x86_64/gbSanity $db >& misc/$filename) || allOk=no