ea8b7de586447b28fdcf004a045d94891f213250
braney
  Tue Jan 11 11:58:02 2011 -0800
gencode metadata autoSql
diff --git src/hg/inc/wgEncodeGencodeGeneSymbol.h src/hg/inc/wgEncodeGencodeGeneSymbol.h
new file mode 100644
index 0000000..9d4866c
--- /dev/null
+++ src/hg/inc/wgEncodeGencodeGeneSymbol.h
@@ -0,0 +1,62 @@
+/* wgEncodeGencodeGeneSymbol.h was originally generated by the autoSql program, which also 
+ * generated wgEncodeGencodeGeneSymbol.c and wgEncodeGencodeGeneSymbol.sql.  This header links the database and
+ * the RAM representation of objects. */
+
+#ifndef WGENCODEGENCODEGENESYMBOL_H
+#define WGENCODEGENCODEGENESYMBOL_H
+
+#define WGENCODEGENCODEGENESYMBOL_NUM_COLS 2
+
+struct wgEncodeGencodeGeneSymbol
+/* Gencode metadata table of HGNC gene symbols for Gencode Genes */
+    {
+    struct wgEncodeGencodeGeneSymbol *next;  /* Next in singly linked list. */
+    char *transcriptId;	/* Transcript ID for Gencode gene */
+    char *id;	/* HGNC gene symbol */
+    };
+
+void wgEncodeGencodeGeneSymbolStaticLoad(char **row, struct wgEncodeGencodeGeneSymbol *ret);
+/* Load a row from wgEncodeGencodeGeneSymbol table into ret.  The contents of ret will
+ * be replaced at the next call to this function. */
+
+struct wgEncodeGencodeGeneSymbol *wgEncodeGencodeGeneSymbolLoad(char **row);
+/* Load a wgEncodeGencodeGeneSymbol from row fetched with select * from wgEncodeGencodeGeneSymbol
+ * from database.  Dispose of this with wgEncodeGencodeGeneSymbolFree(). */
+
+struct wgEncodeGencodeGeneSymbol *wgEncodeGencodeGeneSymbolLoadAll(char *fileName);
+/* Load all wgEncodeGencodeGeneSymbol from whitespace-separated file.
+ * Dispose of this with wgEncodeGencodeGeneSymbolFreeList(). */
+
+struct wgEncodeGencodeGeneSymbol *wgEncodeGencodeGeneSymbolLoadAllByChar(char *fileName, char chopper);
+/* Load all wgEncodeGencodeGeneSymbol from chopper separated file.
+ * Dispose of this with wgEncodeGencodeGeneSymbolFreeList(). */
+
+#define wgEncodeGencodeGeneSymbolLoadAllByTab(a) wgEncodeGencodeGeneSymbolLoadAllByChar(a, '\t');
+/* Load all wgEncodeGencodeGeneSymbol from tab separated file.
+ * Dispose of this with wgEncodeGencodeGeneSymbolFreeList(). */
+
+struct wgEncodeGencodeGeneSymbol *wgEncodeGencodeGeneSymbolCommaIn(char **pS, struct wgEncodeGencodeGeneSymbol *ret);
+/* Create a wgEncodeGencodeGeneSymbol out of a comma separated string. 
+ * This will fill in ret if non-null, otherwise will
+ * return a new wgEncodeGencodeGeneSymbol */
+
+void wgEncodeGencodeGeneSymbolFree(struct wgEncodeGencodeGeneSymbol **pEl);
+/* Free a single dynamically allocated wgEncodeGencodeGeneSymbol such as created
+ * with wgEncodeGencodeGeneSymbolLoad(). */
+
+void wgEncodeGencodeGeneSymbolFreeList(struct wgEncodeGencodeGeneSymbol **pList);
+/* Free a list of dynamically allocated wgEncodeGencodeGeneSymbol's */
+
+void wgEncodeGencodeGeneSymbolOutput(struct wgEncodeGencodeGeneSymbol *el, FILE *f, char sep, char lastSep);
+/* Print out wgEncodeGencodeGeneSymbol.  Separate fields with sep. Follow last field with lastSep. */
+
+#define wgEncodeGencodeGeneSymbolTabOut(el,f) wgEncodeGencodeGeneSymbolOutput(el,f,'\t','\n');
+/* Print out wgEncodeGencodeGeneSymbol as a line in a tab-separated file. */
+
+#define wgEncodeGencodeGeneSymbolCommaOut(el,f) wgEncodeGencodeGeneSymbolOutput(el,f,',',',');
+/* Print out wgEncodeGencodeGeneSymbol as a comma separated list including final comma. */
+
+/* -------------------------------- End autoSql Generated Code -------------------------------- */
+
+#endif /* WGENCODEGENCODEGENESYMBOL_H */
+