src/utils/qa/doGenbankTests 1.6
1.6 2009/04/20 18:54:54 rhead
Added xenoEst to featureBits and pslCheck lists, removed unused trackList variable, reordered checks so they match priority in hgTracks.
Index: src/utils/qa/doGenbankTests
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/utils/qa/doGenbankTests,v
retrieving revision 1.5
retrieving revision 1.6
diff -b -B -U 4 -r1.5 -r1.6
--- src/utils/qa/doGenbankTests 17 Apr 2009 02:02:20 -0000 1.5
+++ src/utils/qa/doGenbankTests 20 Apr 2009 18:54:54 -0000 1.6
@@ -77,17 +77,17 @@
# get a list of all genbank tracks present in this assembly
echo "The following GenBank tracks are present in this assembly:"
# now look for the actual tracks
-tableExists $db refGene && trackList="${trackList} refGene" && echo -e "\tRefSeq Genes"
-tableExists $db xenoRefGene && trackList="${trackList} xenoRefGene" && echo -e "\tOther RefSeq"
-tableExists $db all_mrna && trackList="${trackList} all_mrna" && echo -e "\t\$Org mRNAs"
-tableExists $db xenoMrna && trackList="${trackList} xenoMrna" && echo -e "\tOther mRNAs"
-tableExists $db all_est && trackList="${trackList} all_est" && echo -e "\t\$Org ESTs"
-tableExists $db %intronEst && trackList="${trackList} %intronEst" && echo -e "\tSpliced ESTs"
-tableExists $db xenoEst && trackList="${trackList} xenoEst" && echo -e "\tOther ESTs"
-tableExists $db mgcGenes && trackList="${trackList} mgcGenes"&& echo -e "\tMGC Genes"
-tableExists $db orfeomeGenes && trackList="${trackList} orfeomeGenes"&& echo -e "\tORFeome Clones"
+tableExists $db refGene && echo -e "\tRefSeq Genes"
+tableExists $db xenoRefGene && echo -e "\tOther RefSeq"
+tableExists $db mgcGenes && echo -e "\tMGC Genes"
+tableExists $db orfeomeGenes && echo -e "\tORFeome Clones"
+tableExists $db all_mrna && echo -e "\t\$Org mRNAs"
+tableExists $db %intronEst && echo -e "\tSpliced ESTs"
+tableExists $db all_est && echo -e "\t\$Org ESTs"
+tableExists $db xenoMrna && echo -e "\tOther mRNAs"
+tableExists $db xenoEst && echo -e "\tOther ESTs"
echo
echo -e "--> Running genePredCheck and pslCheck:\n"
@@ -101,9 +101,9 @@
done
echo
# run pslChecks
-for table in all_mrna xenoMrna all_est refSeqAli xenoRefSeqAli
+for table in all_mrna xenoMrna all_est refSeqAli xenoRefSeqAli xenoEst
do
tableExists $db $table && {
echo pslCheck $table
nice pslCheck -db=$db $table || allOk=no
@@ -127,14 +127,14 @@
doJoinerCheck gbCdnaInfo gbCdnas
doJoinerCheck refGene refSeqId
doJoinerCheck xenoRefGene xenoRefSeqId
+doJoinerCheck mgcGenes mgcAccession
+doJoinerCheck orfeomeGenes orfeomeAccession
doJoinerCheck all_mrna nativeMrnaAccession
-doJoinerCheck xenoMrna xenoMrnaAccession
doJoinerCheck all_est nativeEstAccession # takes care of intronEst, too
+doJoinerCheck xenoMrna xenoMrnaAccession
doJoinerCheck xenoEst xenoEstAccession
-doJoinerCheck mgcGenes mgcAccession
-doJoinerCheck orfeomeGenes orfeomeAccession
echo
# run gbSanity
timestamp=$(date +%m.%d.%Y-%R%p)
@@ -146,9 +146,10 @@
echo -e "\nIf there are any errors here, consult Mark Diekhans.\n"
# run featureBits
echo -e "--> Running featureBits. Remember to paste this into the pushqueue:\n"
-for table in refGene xenoRefGene mgcGenes all_mrna intronEst all_est xenoMrna mgcFullMrna orfeomeGenes
+for table in refGene xenoRefGene mgcGenes mgcFullMrna orfeomeGenes \
+ all_mrna intronEst all_est xenoMrna xenoEst
do
tableExists $db $table && {
echo featureBits -countGaps $db $table
nice featureBits -countGaps $db $table || allOk=no