9f894797053ecf3631c44d70dac433d57010c482
kate
  Fri Jul 24 17:31:02 2015 -0700
Restore a bit of lost code.

diff --git src/hg/lib/gtexTissue.c src/hg/lib/gtexTissue.c
index a05ed0b..b7a2dd5 100644
--- src/hg/lib/gtexTissue.c
+++ src/hg/lib/gtexTissue.c
@@ -165,16 +165,34 @@
 if (sep == ',') fputc('"',f);
 fputc(sep,f);
 if (sep == ',') fputc('"',f);
 fprintf(f, "%s", el->description);
 if (sep == ',') fputc('"',f);
 fputc(sep,f);
 if (sep == ',') fputc('"',f);
 fprintf(f, "%s", el->organ);
 if (sep == ',') fputc('"',f);
 fputc(sep,f);
 fprintf(f, "%u", el->color);
 fputc(lastSep,f);
 }
 
 /* -------------------------------- End autoSql Generated Code -------------------------------- */
+void gtexTissueCreateTable(struct sqlConnection *conn, char *table)
+/* Create expression record format table of given name. */
+{
+char query[1024];
+
+sqlSafef(query, sizeof(query),
+"CREATE TABLE %s (\n"
+"    id int unsigned not null, # internal id\n"
+"    name varchar(255) not null,       # short UCSC identifier\n"
+"    description varchar(255) not null, # GTEx tissue type detail\n"
+"    organ varchar(255) not null,      # GTEx tissue collection area\n"
+"              #Indices\n"
+"    PRIMARY KEY(id)\n"
+")\n",   table);
+sqlRemakeTable(conn, table, query);
+}
+
+