dbb7cbfd254794919a8e491cc3d3eb7c6009ba15
angie
  Tue Jan 25 14:58:05 2011 -0800
Track #1684 (SNPs 132 (dbSNP)): Added new coloring and filtering optionsfor new columns exceptions and bitfields.  Fixed remaining hardcoded cart
var names to use track name, keeping backwards compat with old sessions.
Lots of refactoring -- got rid of snp125Extended business (mostly so I
wouldn't have to make a snp132Extended); color is stored in snp->weight
now, and extraName stuff overwrites name.  Added new color-sorting in
squish mode so the most interesting SNPs appear at the top.  Also added
new trackDb var defaultMaxWeight for the NonUnique subset (so its items
aren't invisible by default).

diff --git src/hg/inc/snp125.h src/hg/inc/snp125.h
index bb3451d..dc9487a 100644
--- src/hg/inc/snp125.h
+++ src/hg/inc/snp125.h
@@ -101,26 +101,21 @@
     float avHet;	/* The average heterozygosity from all observations */
     float avHetSE;	/* The Standard Error for the average heterozygosity */
     char *func;	/* The functional category of the SNP (coding-synon, coding-nonsynon, intron, etc.) */
     char *locType;	/* How the variant affects the reference sequence */
     unsigned weight;	/* The quality of the alignment */
 	/*  extra fields */
     char *nameExtra;    /* additional text to be drawn with name in image */
     Color color;       /* color for drawing in hgTracks */
     };
 
 struct snp125Extended *snpExtendedLoad(char **row);
 /* Load a snp125 from row fetched with select * from snp125 from
  * database.  Additional fields are for run-time drawing and
  * calculations */
 
-struct snp125Extended *snp125ExtendedLoad(char **row);
-/* Load a snp125 from row fetched with select * from snp125 from
- * database.  Additional fields are for run-time drawing and
- * calculations */
-
 int snpVersion(char *track);
 /* If track starts with snpNNN where NNN is 125 or later, return the number;
  * otherwise return 0. */
 
 #endif /* SNP125_H */