06d7be056190c14b85e71bc12523f18ea6815b5e
markd
  Mon Dec 7 00:50:29 2020 -0800
BLAT mmap index support merge with master

diff --git src/hg/hgGene/malaCards.c src/hg/hgGene/malaCards.c
index a4159d0..1543a53 100644
--- src/hg/hgGene/malaCards.c
+++ src/hg/hgGene/malaCards.c
@@ -31,31 +31,31 @@
 }
 static void malaCardsPrint(struct section *section, 
 	struct sqlConnection *conn, char *geneId)
 /* Print out malaCards section. */
 {
 char query[1024];
 struct sqlResult *sr;
 char **row;
 char *itemName;
 
 sqlSafef(query, sizeof(query), "select k.geneSymbol from kgXref k, malacards m"
     " where k.kgId='%s' and k.geneSymbol = m.geneSymbol", geneId);
 itemName = sqlQuickString(conn, query);
 
 printf("<B>MalaCards Gene Search: ");
-printf("<A HREF='http://www.genecards.org/cgi-bin/carddisp.pl?gene=%s' target=_blank>", itemName);
+printf("<A HREF='http://www.malacards.org/search/bySymbol/%s' target=_blank>", itemName);
 printf("%s</B></A>\n", itemName);
 
 /* List diseases associated with the gene */
 sqlSafef(query, sizeof(query),
 "select maladySymbol, urlSuffix, mainName, round(geneScore), isElite from malacards where geneSymbol='%s' order by geneScore desc",
 itemName);
 sr = sqlMustGetResult(conn, query);
 row = sqlNextRow(sr);
 
 if (row != NULL) 
     printf("<BR><B>Diseases sorted by gene-association score:  </B>");
 
 int eliteCount = 0;
 
 while (row != NULL)