04a8bccb5e10e09d1c37b01541389aa5083ccf7b
angie
  Mon Feb 7 15:25:24 2011 -0800
Track #1684 (SNPs 132 (dbSNP)): Added filtering by allele frequency:min/max minor allele freq and min chromosome sample count (2N).

diff --git src/hg/inc/snp125Ui.h src/hg/inc/snp125Ui.h
index aef6bdf..73d7912 100644
--- src/hg/inc/snp125Ui.h
+++ src/hg/inc/snp125Ui.h
@@ -11,30 +11,33 @@
 /* Look for a setting that specifies a table with orthologous alleles.
  * If retSpeciesCount is not null, set it to the number of other species
  * whose alleles are in the table. Do not free the returned string. */
 
 struct slName *snp125FilterFromCart(struct cart *cart, char *track, char *attribute,
 				    boolean *retFoundInCart);
 /* Look up snp125 filter settings in the cart, keeping backwards compatibility with old
  * cart variable names. */
 
 char *snp125OldColorVarToNew(char *oldVar, char *attribute);
 /* Abbreviate an old cart var name -- new name is based on track plus this. Don't free result. */
 
 #define SNP125_DEFAULT_MAX_WEIGHT 1
 #define SNP125_DEFAULT_MIN_AVHET 0.0
 #define SNP132_DEFAULT_MIN_SUBMITTERS 0
+#define SNP132_DEFAULT_MIN_MINOR_AL_FREQ 0.0
+#define SNP132_DEFAULT_MAX_MINOR_AL_FREQ 0.5
+#define SNP132_DEFAULT_MIN_AL_FREQ_2N 0
 
 extern boolean snp125ExtendedNames;
 
 enum snp125Color {
     snp125ColorRed,
     snp125ColorGreen,
     snp125ColorBlue,
     snp125ColorGray,
     snp125ColorBlack,
 };
 
 extern char *snp125ColorLabel[];
 extern int snp125ColorArraySize;
 
 /****** Color source related controls *******/