src/hg/hgc/hgc.c 1.1570
1.1570 2009/09/08 23:24:44 hartera
Changed code for Ensembl and Vega message given on details page if there is no protein prediction available.
Index: src/hg/hgc/hgc.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgc/hgc.c,v
retrieving revision 1.1569
retrieving revision 1.1570
diff -b -B -U 4 -r1.1569 -r1.1570
--- src/hg/hgc/hgc.c 31 Aug 2009 18:31:53 -0000 1.1569
+++ src/hg/hgc/hgc.c 8 Sep 2009 23:24:44 -0000 1.1570
@@ -2302,17 +2302,12 @@
if (autoTranslate == NULL || differentString(autoTranslate, "0"))
{
puts("<LI>\n");
/* put out correct message to describe translated mRNA */
- if (sameString(geneTable, "ensGene"))
+ if ((sameString(geneTable, "ensGene")) || (sameString(geneTable, "vegaGene")) || (sameString(geneTable, "vegaPseudoGene")))
{
- printf("No protein prediction for Ensembl gene");
+ printf("Non-protein coding gene or gene fragment, no protein prediction available.");
}
- else if ((sameString(geneTable, "vegaGene")) || (sameString(geneTable, "vegaPseudoGene")))
- {
- printf("No protein prediction for Vega gene");
- }
-
else if (!genbankIsRefSeqNonCodingMRnaAcc(geneName))
{
hgcAnchorSomewhere("htcTranslatedPredMRna", geneName,
"translate", seqName);