e4283be29c2aa32a8c68edc90bcd7a0ecaef6bb5 braney Wed Sep 26 12:18:45 2012 -0700 use proteome.spXref3 instead of depricated proteom.spXref2 to decide what color to make known genes on assemblies that don't have kgColor table. (#8694) diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c index 5a48a5d..65dfcc8 100644 --- src/hg/hgTracks/simpleTracks.c +++ src/hg/hgTracks/simpleTracks.c @@ -4820,31 +4820,31 @@ else { col = hvGfxFindColorIx(hvg, lighter.r, lighter.g, lighter.b); } } sqlFreeResult(&sr); } } /* set to dark blue if there is a corresponding Swiss-Prot protein */ sprintf(cond_str, "name='%s'", (char *)(lf->name)); proteinID= sqlGetField(database, "knownGene", "proteinID", cond_str); if (proteinID != NULL && protDbName != NULL) { sprintf(cond_str, "displayID='%s' AND biodatabaseID=1 ", proteinID); - ans= sqlGetField(protDbName, "spXref2", "displayID", cond_str); + ans= sqlGetField(protDbName, "spXref3", "displayID", cond_str); if (ans != NULL) { col = tg->ixColor; } } /* if a corresponding PDB entry exists, set it to black */ if (protDbName != NULL) { sprintf(cond_str, "sp='%s'", proteinID); pdbID= sqlGetField(protDbName, "pdbSP", "pdb", cond_str); } if (pdbID != NULL) {