3d72b973573f2db8c77f1a22f4e6852e2091c5d9 galt Fri Oct 13 22:20:12 2017 -0700 Updating links to the CDC HuGE database resources. fixes #20317 diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c index c29fe11..df7e8ec 100644 --- src/hg/hgc/hgc.c +++ src/hg/hgc/hgc.c @@ -9739,34 +9739,33 @@ currentCgiUrl = cgiUrlString(); printf("

Gene %s: ", itemName); sqlSafef(query, sizeof(query), "select geneName from gadAll where geneSymbol='%s';", itemName); sr = sqlMustGetResult(conn, query); row = sqlNextRow(sr); if (row != NULL)printf("%s", row[0]); printf("

"); sqlFreeResult(&sr); printf("Genetic Association Database: "); printf("", url, itemName); printf("%s\n", itemName); printf("
CDC HuGE Published Literature: "); - printf("", - "http://www.hugenavigator.net/HuGENavigator/searchSummary.do?firstQuery=", - itemName, - "&publitSearchType=now&whichContinue=firststart&check=n&dbType=publit&Mysubmit=go"); + printf("", + itemName); printf("%s\n", itemName); sqlSafef(query, sizeof(query), "select distinct g.omimId, o.title from gadAll g, hgFixed.omimTitle o where g.geneSymbol='%s' and g.omimId <>'.' and g.omimId=o.omimId", itemName); sr = sqlMustGetResult(conn, query); row = sqlNextRow(sr); if (row != NULL) printf("
OMIM: "); while (row != NULL) { printf("", "https://www.ncbi.nlm.nih.gov/omim/", row[0]); printf("%s %s\n", row[0], row[1]); row = sqlNextRow(sr); }