124b0e19b769534dc9df4fde38a33bec0ef02948
jcasper
Fri Jul 28 13:11:26 2023 -0700
Quick fix - updating DECIPHER urls, refs #31809
diff --git src/hg/hgc/hgc.c src/hg/hgc/hgc.c
index 4365a9b..0ef8629 100644
--- src/hg/hgc/hgc.c
+++ src/hg/hgc/hgc.c
@@ -10995,31 +10995,31 @@
while (row != NULL)
{
printf("
");
printf("%s\n", row[0]);
row = sqlNextRow(sr);
}
printf("");
}
sqlFreeResult(&sr);
}
/* link to Ensembl DECIPHER Patient View page */
printf("Patient View: \n");
printf("More details on patient %s at ", itemName);
printf("",
- "https://decipher.sanger.ac.uk/patient/", itemName);
+ "https://www.deciphergenomics.org/patient/", itemName);
printf("DECIPHER.
");
/* print position info */
printPosOnChrom(chrom, start, end, strand, TRUE, itemName);
hFreeConn(&conn);
}
void doDecipherSnvs(struct trackDb *tdb, char *item, char *itemForUrl)
/* Put up DECIPHER track info. */
{
genericHeader(tdb, item);
printDecipherSnvsDetails(tdb, item, FALSE);
printTrackHtml(tdb);
}
@@ -11097,31 +11097,31 @@
while (row != NULL)
{
printf("");
printf("%s\n", row[0]);
row = sqlNextRow(sr);
}
printf("");
}
sqlFreeResult(&sr);
}
/* link to Ensembl DECIPHER Patient View page */
printf("Patient View: \n");
printf("More details on patient %s at ", itemName);
printf("",
- "https://decipher.sanger.ac.uk/patient/", itemName);
+ "https://www.deciphergenomics.org/patient/", itemName);
printf("DECIPHER.
");
/* print position info */
printPosOnChrom(chrom, start, end, strand, TRUE, itemName);
/* print UCSC Genes in the reported region */
sqlSafef(query, sizeof(query),
"select distinct t.name "
// mysql 5.7: SELECT list w/DISTINCT must include all fields in ORDER BY list (#18626)
", geneSymbol "
"from knownCanonToDecipher t, kgXref x where value ='%s' and x.kgId=t.name order by geneSymbol", itemName);
sr = sqlMustGetResult(conn, query);
row = sqlNextRow(sr);
if (row != NULL)
{