5a63b70b7e8405a187c8fba71c557cca655e0424
kate
  Wed Aug 24 12:17:38 2016 -0700
Add config option to display ENS geneId.  For synergy with new GTEx gene sorter column. refs #17288

diff --git src/hg/inc/gtexUi.h src/hg/inc/gtexUi.h
index 76777f5..a02d7ee 100644
--- src/hg/inc/gtexUi.h
+++ src/hg/inc/gtexUi.h
@@ -50,25 +50,32 @@
 /* Tissue filter */
 #define GTEX_TISSUE_SELECT      "tissues"
 
 /* Gene filter */
 #define GTEX_CODING_GENE_FILTER                 "codingOnly"
 #define GTEX_CODING_GENE_FILTER_DEFAULT         FALSE
 
 /* Hide exons */
 #define GTEX_SHOW_EXONS         "showExons"
 #define GTEX_SHOW_EXONS_DEFAULT FALSE
 
 /* Suppress whiteout behind graph (to show highlight and blue lines) */
 #define GTEX_NO_WHITEOUT         "noWhiteout"
 #define GTEX_NO_WHITEOUT_DEFAULT        FALSE
 
+/* Item name is gene symbol, accession, or both */
+#define GTEX_LABEL                "label"
+#define GTEX_LABEL_SYMBOL         "name"
+#define GTEX_LABEL_ACCESSION      "accession"
+#define GTEX_LABEL_BOTH           "both"
+#define GTEX_LABEL_DEFAULT  GTEX_LABEL_SYMBOL
+
 void gtexPortalLink(char *geneId);
 /* print URL to GTEX portal gene expression page using Ensembl Gene Id*/
 
 boolean gtexGeneBoxplot(char *geneId, char *geneName, char *version, 
                                 boolean doLogTransform, struct tempName *pngTn);
 /* Create a png temp file with boxplot of GTEx expression values for this gene. 
  * GeneId is the Ensembl gene ID.  GeneName is the HUGO name, used for graph title;
  * If NULL, label with the Ensembl gene ID */
 
 #endif /* GTEXUI_H */