013ccd312d93bfb526241f9d81c4327a3b169b2e
kate
  Tue Aug 9 14:52:59 2016 -0700
Extend gtexAse file format to include quartiles, donors. Add GTEx abbreviation to tissue table.  Generalize the new hub as GTex analysis.

diff --git src/hg/inc/gtexTissue.h src/hg/inc/gtexTissue.h
index e8b1e08..937a878 100644
--- src/hg/inc/gtexTissue.h
+++ src/hg/inc/gtexTissue.h
@@ -1,36 +1,37 @@
 /* gtexTissue.h was originally generated by the autoSql program, which also 
  * generated gtexTissue.c and gtexTissue.sql.  This header links the database and
  * the RAM representation of objects. */
 
 #ifndef GTEXTISSUE_H
 #define GTEXTISSUE_H
 
 #include "jksql.h"
-#define GTEXTISSUE_NUM_COLS 5
+#define GTEXTISSUE_NUM_COLS 6
 
 extern char *gtexTissueCommaSepFieldNames;
 
 struct gtexTissue
 /* GTEx tissue information */
     {
     struct gtexTissue *next;  /* Next in singly linked list. */
     unsigned id;	/* internal id */
     char *name;	/* short UCSC identifier */
     char *description;	/* GTEX tissue type detail */
     char *organ;	/* GTEX tissue collection area */
     unsigned color;	/* GTEX assigned color */
+    char *abbrev;	/* GTEX tissue abbreviation */
     };
 
 void gtexTissueStaticLoad(char **row, struct gtexTissue *ret);
 /* Load a row from gtexTissue table into ret.  The contents of ret will
  * be replaced at the next call to this function. */
 
 struct gtexTissue *gtexTissueLoadByQuery(struct sqlConnection *conn, char *query);
 /* Load all gtexTissue from table that satisfy the query given.  
  * Where query is of the form 'select * from example where something=something'
  * or 'select example.* from example, anotherTable where example.something = 
  * anotherTable.something'.
  * Dispose of this with gtexTissueFreeList(). */
 
 void gtexTissueSaveToDb(struct sqlConnection *conn, struct gtexTissue *el, char *tableName, int updateSize);
 /* Save gtexTissue as a row to the table specified by tableName. 
@@ -83,16 +84,15 @@
 
 struct gtexTissue *gtexGetTissues(char *version);
 /* Get tissue id, descriptions, colors, etc. */
 
 struct hash *gtexGetTissueSampleCount(char *version);
 /* Return hash of sample counts keyed by tissue name */
 
 struct rgbColor gtexTissueBrightenColor(struct rgbColor rgb);
 /* Increase brightness for better visibility of small items */
 
 char *gtexGetTissueDescription(int id, char *version);
 /* Get description for a tissue specified by id.  
  * Use for single queries (o/w use gtexGetTissues) */
 
 #endif /* GTEXTISSUE_H */
-