f84661314839764efb9dd1a74f23a498357e6716
angie
  Tue Jun 14 15:07:26 2011 -0700
Bug #4302 (link in table schema for BAM files gives a 404):Fixed broken link to SAM spec, and removed dead code (that had the correct link
but is no longer exercised).

diff --git src/hg/hgTables/schema.c src/hg/hgTables/schema.c
index 9d47e71..1efbf74 100644
--- src/hg/hgTables/schema.c
+++ src/hg/hgTables/schema.c
@@ -367,34 +367,30 @@
 if (!sameString(splitTable, table))
     hPrintf(" (%s)", splitTable);
 hPrintf("&nbsp;&nbsp;&nbsp;&nbsp;<B>Row Count:</B> ");
 printLongWithCommas(stdout, sqlTableSize(conn, splitTable));
 hPrintf("<BR>\n");
 if (asObj != NULL)
     hPrintf("<B>Format description:</B> %s<BR>", asObj->comment);
 describeFields(db, splitTable, asObj, conn);
 if (tdbForConn != NULL)
     {
     char *type = tdbForConn->type;
     if (startsWithWord("bigWig", type))
 	printf("<BR>This table simply points to a file in "
 	       "<A HREF=\"/goldenPath/help/bigWig.html\" TARGET=_BLANK>"
 	       "BigWig</A> format.<BR>\n");
-    else if (startsWithWord("bam", type))
-	printf("<BR>This table simply points to a file in "
-	       "<A HREF=\"http://samtools.sourceforge.net/SAM1.pdf\" TARGET=_BLANK>"
-	       "BAM</A> format.<BR>\n");
     }
 jpList = joinerRelate(joiner, db, table);
 
 /* sort and unique list */
 slUniqify(&jpList, joinerPairCmpOnAandB, joinerPairFree);
 
 if (jpList != NULL)
     {
     webNewSection("Connected Tables and Joining Fields");
     for (jp = jpList; jp != NULL; jp = jp->next)
 	{
 	if (accessControlDenied(jp->b->database, jp->b->table))
 	    continue;
 	struct joinerSet *js = jp->identifier;
 	boolean aViaIndex, bViaIndex;