fcb3971566d6570959c4cd8022972d8f7c455ebc
chmalee
Mon Aug 19 13:21:18 2019 -0700
Remove links to lssnp from dbSnp hgc pages, and change lssnp links to mupit on hgGene pages, refs #22953
diff --git src/hg/hgGene/domains.c src/hg/hgGene/domains.c
index f6d9e4d..395d411 100644
--- src/hg/hgGene/domains.c
+++ src/hg/hgGene/domains.c
@@ -155,58 +155,58 @@
list = spExtDbAcc1List(spConn, swissProtAcc, "PDB");
if (list != NULL)
{
struct sqlConnection *conn2 = sqlConnect(db);
char query[256], **row;
struct sqlResult *sr;
int column = 0, maxColumn=3, rowCount=0;
hPrintf("Protein Data Bank (PDB) 3-D Structure
");
sqlSafef(query, sizeof(query),
"select extAcc1,extAcc2 from extDbRef,extDb"
" where extDbRef.acc = '%s'"
" and extDb.val = 'PDB' and extDb.id = extDbRef.extDb"
, swissProtAcc);
sr = sqlGetResult(spConn, query);
hPrintf("
To conserve bandwidth, only the images from the first %d structures are shown.", maxColumn); hPrintf(" | |||
");
hPrintf("", row[0]);
if (rowCount < 1)
hPrintf("![]() ", row[0]); hPrintf("%s - %s ", row[0], row[1]); - // include links LS-SNP and to launch viewer in PDB chimera + // include links to MuPIT (formerly LS-SNP) and launch viewer in PDB chimera struct tempName chimerax; lsSnpPdbChimeraSnpAnn(conn, row[0], NULL, &chimerax); hPrintf(" Chimera", chimerax.forHtml); if (lsSnpPdbHasPdb(conn2, row[0])) - hPrintf(" LS-SNP", lsSnpPdbGetUrlPdbSnp(row[0], NULL)); + hPrintf(" MuPIT", lsSnpPdbGetUrlPdbSnp(row[0], NULL)); hPrintf(" | \n");
}
hPrintf("
"); modBaseAnchor(swissProtAcc); |