0b6df1bb55673743a9edd4c67c1db3c7a5098414
cline
  Mon Jan 23 11:16:53 2012 -0800
In response to Redmine #6660, which rightly points out that the table descriptors are outdated where they reference SwissProt protein IDs, updated the table descriptors to indicate that those fields are actually UniProt IDs
diff --git src/hg/lib/kgXref.sql src/hg/lib/kgXref.sql
index af4ae95..b8f0638 100644
--- src/hg/lib/kgXref.sql
+++ src/hg/lib/kgXref.sql
@@ -1,28 +1,20 @@
 # kgXref.sql was originally generated by the autoSql program, which also 
 # generated kgXref.c and kgXref.h.  This creates the database representation of
 # an object which can be loaded and saved from RAM in a fairly 
 # automatic way.
 
 #Link together a Known Gene ID and a gene alias
 CREATE TABLE kgXref (
     kgID varchar(255) not null,	# Known Gene ID
     mRNA varchar(255) not null,	# mRNA ID
-    spID varchar(255) not null,	# SWISS-PROT protein Accession number
-    spDisplayID varchar(255) not null,	# SWISS-PROT display ID
+    spID varchar(255) not null,	# UniProt protein Accession number
+    spDisplayID varchar(255) not null,	# UniProt display ID
     geneSymbol varchar(255) not null,	# Gene Symbol
     refseq varchar(255) not null,	# RefSeq ID
     protAcc varchar(255) not null,	# NCBI protein Accession number
     description longblob not null,	# Description
     rfamAcc varchar(255) not null,	# Rfam accession number
     tRnaName varchar(255) not null,	# Name from the tRNA track
               #Indices
-    KEY(kgID),
-    KEY(mRNA),
-    KEY(spID),
-    KEY(spDisplayID),
-    KEY(geneSymbol),
-    KEY(refseq),
-    KEY(protAcc),
-    KEY(rfamAcc),
-    KEY(tRnaName)
+    PRIMARY KEY(kgID)
 );
