src/hg/hgc/hgc.c 1.1635
1.1635 2010/05/28 17:22:18 fanhsu
Updated OMIM URL.
Index: src/hg/hgc/hgc.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/hgc/hgc.c,v
retrieving revision 1.1634
retrieving revision 1.1635
diff -b -B -U 4 -r1.1634 -r1.1635
--- src/hg/hgc/hgc.c 24 May 2010 20:19:22 -0000 1.1634
+++ src/hg/hgc/hgc.c 28 May 2010 17:22:18 -0000 1.1635
@@ -400,9 +400,9 @@
/* Print URL for OMIM data on a protein. */
{
if (term != NULL)
{
- fprintf(f, "\"http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Search&db=OMIM&term=%s&doptcmdl=Detailed&tool=genome.ucsc.edu\"", term);
+ fprintf(f, "\"http://www.ncbi.nlm.nih.gov/omim/%s\"", term);
}
}
static void printEntrezUniSTSUrl(FILE *f, char *name)
@@ -8662,9 +8662,9 @@
if (row != NULL) printf("<BR><B>OMIM: </B>");
while (row != NULL)
{
printf("<A HREF=\"%s%s\" target=_blank>",
- "http://www.ncbi.nlm.nih.gov/entrez/dispomim.cgi?id=", row[0]);
+ "http://www.ncbi.nlm.nih.gov/omim/", row[0]);
printf("%s</B></A> %s\n", row[0], row[1]);
row = sqlNextRow(sr);
}
sqlFreeResult(&sr);