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("<B>Protein Data Bank (PDB) 3-D Structure</B><BR>"); 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("<TABLE><TR>\n"); + hPrintf("<A href=\"../goldenPath/help/chimera.html\" TARGET=_blank>Chimera help</A>\n"); while ((row = sqlNextRow(sr)) != NULL) { if (++column > maxColumn) { hPrintf("</TR><TR>"); column = 1; if (rowCount == 0) { hPrintf("<TD ALIGN=CENTER COLSPAN=4><I>To conserve bandwidth, only the images from the first %d structures are shown.</I>", maxColumn); hPrintf("</TR><TR>"); } ++rowCount; } hPrintf("<TD>"); hPrintf("<A HREF=\"http://www.rcsb.org/pdb/cgi/explore.cgi?pdbId=%s\" TARGET=_blank>", row[0]); if (rowCount < 1) hPrintf("<IMG SRC=\"http://www.rcsb.org/pdb/images/%s_asym_r_250.jpg\"><BR>", row[0]); hPrintf("%s</A> - %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(" <A HREF=\"%s\">Chimera</A>", chimerax.forHtml); if (lsSnpPdbHasPdb(conn2, row[0])) - hPrintf(" <A HREF=\"%s\" TARGET=_blank>LS-SNP</A>", lsSnpPdbGetUrlPdbSnp(row[0], NULL)); + hPrintf(" <A HREF=\"%s\" TARGET=_blank>MuPIT</A>", lsSnpPdbGetUrlPdbSnp(row[0], NULL)); hPrintf("</TD>\n"); } hPrintf("</TR></TABLE>\n"); - hPrintf("<A href=\"../goldenPath/help/chimera.html\" TARGET=_blank>Chimera help</A>\n"); hPrintf("<BR><BR>\n"); slFreeList(&list); sqlDisconnect(&conn2); } /* Do modBase link. */ { hPrintf("<B>ModBase Predicted Comparative 3D Structure on "); modBaseAnchor(swissProtAcc); hPrintf("%s", swissProtAcc); hPrintf("</A></B><BR>\n"); hPrintf("<TABLE><TR>"); hPrintf("<TD>"); modBaseAnchor(swissProtAcc);