6da76acba7f617920cc7eaa161b7d987362be78f
markd
  Wed Feb 14 11:29:46 2018 -0800
hide patent GenBank mRNA sequences by default based on accession prefix

diff --git src/hg/inc/hui.h src/hg/inc/hui.h
index bcf7d7d..4cd8a69 100644
--- src/hg/inc/hui.h
+++ src/hg/inc/hui.h
@@ -701,30 +701,33 @@
 
 /* Coloring help pages: */
 #define CDS_HELP_PAGE "../goldenPath/help/hgCodonColoring.html"
 #define CDS_MRNA_HELP_PAGE "../goldenPath/help/hgCodonColoringMrna.html"
 #define CDS_BASE_HELP_PAGE "../goldenPath/help/hgBaseLabel.html"
 
 /* Settings for coloring and filtering genePred tables from an item class table. */
 #define GENEPRED_CLASS_VAR "geneClasses"
 #define GENEPRED_CLASS_PREFIX "gClass_"
 #define GENEPRED_CLASS_TBL "itemClassTbl"
 #define GENEPRED_CLASS_NAME_COLUMN "itemClassNameColumn"
 #define GENEPRED_CLASS_NAME_COLUMN_DEFAULT "name"
 #define GENEPRED_CLASS_CLASS_COLUMN "itemClassClassColumn"
 #define GENEPRED_CLASS_CLASS_COLUMN_DEFAULT "class"
 
+/* genbank track cart variable suffixes: */
+#define SHOW_PATENT_SEQUENCES_SUFFIX "showPatentSequences"
+
 void baseColorDrawOptDropDown(struct cart *cart, struct trackDb *tdb);
 /* Make appropriately labeled drop down of options if any are applicable.*/
 
 enum baseColorDrawOpt baseColorDrawOptEnabled(struct cart *cart,
 					      struct trackDb *tdb);
 /* Query cart & trackDb to determine what drawing mode (if any) is enabled. */
 
 /*** Other Gene Prediction type options: ***/
 #define HIDE_NONCODING_SUFFIX "hideNoncoding"
 #define HIDE_NONCODING_DEFAULT FALSE
 
 /*** Control of fancy indel display code: ***/
 
 /* trackDb settings: */
 #define INDEL_DOUBLE_INSERT "indelDoubleInsert"