ea8b7de586447b28fdcf004a045d94891f213250
braney
  Tue Jan 11 11:58:02 2011 -0800
gencode metadata autoSql
diff --git src/hg/inc/wgEncodeGencodeUniProt.h src/hg/inc/wgEncodeGencodeUniProt.h
new file mode 100644
index 0000000..feacafb
--- /dev/null
+++ src/hg/inc/wgEncodeGencodeUniProt.h
@@ -0,0 +1,62 @@
+/* wgEncodeGencodeUniProt.h was originally generated by the autoSql program, which also 
+ * generated wgEncodeGencodeUniProt.c and wgEncodeGencodeUniProt.sql.  This header links the database and
+ * the RAM representation of objects. */
+
+#ifndef WGENCODEGENCODEUNIPROT_H
+#define WGENCODEGENCODEUNIPROT_H
+
+#define WGENCODEGENCODEUNIPROT_NUM_COLS 2
+
+struct wgEncodeGencodeUniProt
+/* Gencode metadata table of associated UniProt peptide IDs */
+    {
+    struct wgEncodeGencodeUniProt *next;  /* Next in singly linked list. */
+    char *transcriptId;	/* Transcript ID for Gencode gene */
+    char *uniProtId;	/* UniProt/Swiss-Prot ID */
+    };
+
+void wgEncodeGencodeUniProtStaticLoad(char **row, struct wgEncodeGencodeUniProt *ret);
+/* Load a row from wgEncodeGencodeUniProt table into ret.  The contents of ret will
+ * be replaced at the next call to this function. */
+
+struct wgEncodeGencodeUniProt *wgEncodeGencodeUniProtLoad(char **row);
+/* Load a wgEncodeGencodeUniProt from row fetched with select * from wgEncodeGencodeUniProt
+ * from database.  Dispose of this with wgEncodeGencodeUniProtFree(). */
+
+struct wgEncodeGencodeUniProt *wgEncodeGencodeUniProtLoadAll(char *fileName);
+/* Load all wgEncodeGencodeUniProt from whitespace-separated file.
+ * Dispose of this with wgEncodeGencodeUniProtFreeList(). */
+
+struct wgEncodeGencodeUniProt *wgEncodeGencodeUniProtLoadAllByChar(char *fileName, char chopper);
+/* Load all wgEncodeGencodeUniProt from chopper separated file.
+ * Dispose of this with wgEncodeGencodeUniProtFreeList(). */
+
+#define wgEncodeGencodeUniProtLoadAllByTab(a) wgEncodeGencodeUniProtLoadAllByChar(a, '\t');
+/* Load all wgEncodeGencodeUniProt from tab separated file.
+ * Dispose of this with wgEncodeGencodeUniProtFreeList(). */
+
+struct wgEncodeGencodeUniProt *wgEncodeGencodeUniProtCommaIn(char **pS, struct wgEncodeGencodeUniProt *ret);
+/* Create a wgEncodeGencodeUniProt out of a comma separated string. 
+ * This will fill in ret if non-null, otherwise will
+ * return a new wgEncodeGencodeUniProt */
+
+void wgEncodeGencodeUniProtFree(struct wgEncodeGencodeUniProt **pEl);
+/* Free a single dynamically allocated wgEncodeGencodeUniProt such as created
+ * with wgEncodeGencodeUniProtLoad(). */
+
+void wgEncodeGencodeUniProtFreeList(struct wgEncodeGencodeUniProt **pList);
+/* Free a list of dynamically allocated wgEncodeGencodeUniProt's */
+
+void wgEncodeGencodeUniProtOutput(struct wgEncodeGencodeUniProt *el, FILE *f, char sep, char lastSep);
+/* Print out wgEncodeGencodeUniProt.  Separate fields with sep. Follow last field with lastSep. */
+
+#define wgEncodeGencodeUniProtTabOut(el,f) wgEncodeGencodeUniProtOutput(el,f,'\t','\n');
+/* Print out wgEncodeGencodeUniProt as a line in a tab-separated file. */
+
+#define wgEncodeGencodeUniProtCommaOut(el,f) wgEncodeGencodeUniProtOutput(el,f,',',',');
+/* Print out wgEncodeGencodeUniProt as a comma separated list including final comma. */
+
+/* -------------------------------- End autoSql Generated Code -------------------------------- */
+
+#endif /* WGENCODEGENCODEUNIPROT_H */
+