e2ec5ef77645a662ba31c7cfbd7499794975275a
angie
  Fri Mar 23 16:44:07 2012 -0700
Feature #6152 (Variant Annotation Tool): Initial work, squashed infrom origin/annoGrator branch.  Superclasses annoColumn, annoFilter,
annoRow, annoStreamer, annoGrator, and annoFormatter define the core
interfaces for passing data and configuration to and from components.
The annoGrator superclass can join annoRows on position and pass
forward all rows of secondary source.  The annoGratorQuery module
orchestrates the passing of annoRows between the primary source,
annoGrator(s) and annoFormatter(s).  The subclasses annoStreamDb and
annoFormatTab, together with hg/lib/tests/annoGratorTester.c, can join
columns of two database tables such as hg19's pgNA12878 and knownGene
into tab-separated output.

diff --git src/hg/inc/annoStreamDb.h src/hg/inc/annoStreamDb.h
new file mode 100644
index 0000000..deb180d
--- /dev/null
+++ src/hg/inc/annoStreamDb.h
@@ -0,0 +1,14 @@
+/* annoStreamDb -- subclass of annoStreamer for database tables */
+
+#ifndef ANNOSTREAMDB_H
+#define ANNOSTREAMDB_H
+
+#include "annoStreamer.h"
+#include "jksql.h"
+
+struct annoStreamer *annoStreamDbNew(struct sqlConnection *conn, char *table,
+				     struct asObject *asObj);
+/* Create an annoStreamer (subclass) object from a database table described by asObj.
+ * conn must not be shared. */
+
+#endif//ndef ANNOSTREAMDB_H