de99743a3385143c8e21ad26fd7c0fb77b4e6d27
jcasper
  Mon Mar 7 15:15:23 2016 -0800
Fix to handle 10-digit UniProt IDs, see http://www.uniprot.org/help/accession_numbers

diff --git src/hg/inc/spDb.h src/hg/inc/spDb.h
index 6ab2071..45892b6 100644
--- src/hg/inc/spDb.h
+++ src/hg/inc/spDb.h
@@ -12,31 +12,31 @@
  * free'd when you are done, and the routines that return lists
  * need them spFreeList'd when done unless you don't mind memory
  * leaks. */
 
 
 #ifndef SPDB_H
 #define SPDB_H
 
 #ifndef JKSQL_H
 #include "jksql.h"
 #endif
 
 #define UNIPROT_DB_NAME  "uniProt"
 #define PROTEOME_DB_NAME "proteome"
 
-typedef char SpAcc[12];	/* Enough space for accession and 0 terminator. */
+typedef char SpAcc[20];	/* Enough space for accession and 0 terminator. */
 
 struct spFeature
 /* A swissProt feature - that is an annotation attatched to
  * part of a protein. */
     {
     struct spFeature *next;
     int start;	/* Start coordinate (zero-based) */
     int end;	/* End coordinate (non-inclusive) */
     int featureClass; /* ID of featureClass */
     int featureType;  /* ID of featureType */
     char softEndBits;/* 1 for start <, 2 for start ?, 4 for end >, 8 for end ? */
     };
 #define spFeatureStartLess 1
 #define spFeatureStartFuzzy 2
 #define spFeatureEndGreater 4