1b76e256179d0c4f03343c671645bb006e549848 braney Tue Jun 18 18:11:26 2013 -0700 add a missing slash that Fan failed to add in 2009. RIP. This fixes link-outs in "Other names" in the case of splice isoforms. diff --git src/hg/hgGene/synonym.c src/hg/hgGene/synonym.c index b244404..0e25722 100644 --- src/hg/hgGene/synonym.c +++ src/hg/hgGene/synonym.c @@ -357,31 +357,31 @@ differentWord(curGeneChrom,"none"))) { safef(condStr, sizeof(condStr), "name = '%s' and chrom = '%s' and txStart=%d and txEnd=%d", id, curGeneChrom, curGeneStart, curGeneEnd); kgProteinID = sqlGetField(database, "knownGene", "proteinID", condStr); } hPrintf("<B>Protein: "); if (strstr(kgProteinID, "-") != NULL) { parAcc = cloneString(kgProteinID); chp = strstr(parAcc, "-"); *chp = '\0'; /* show variant splice protein and the UniProt link here */ - hPrintf("<A HREF=\"http://www.uniprot.org/uniprot%s\" " + hPrintf("<A HREF=\"http://www.uniprot.org/uniprot/%s\" " "TARGET=_blank>%s</A></B>, splice isoform of ", kgProteinID, kgProteinID); hPrintf("<A HREF=\"http://www.uniprot.org/uniprot/%s\" " "TARGET=_blank>%s</A></B>\n", parAcc, parAcc); } else { hPrintf("<A HREF=\"http://www.uniprot.org/uniprot/%s\" " "TARGET=_blank>%s</A></B>\n", protAcc, protAcc); } /* show SWISS-PROT display ID if it is different than the accession ID */ /* but, if display name is like: Q03399 | Q03399_HUMAN, then don't show display name */ spDisplayId = spAnyAccToId(spConn, protAcc);