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/inc/annoColumn.h src/inc/annoColumn.h
new file mode 100644
index 0000000..79b11c2
--- /dev/null
+++ src/inc/annoColumn.h
@@ -0,0 +1,26 @@
+/* annoColumn -- def. of column plus flag for inclusion in output of annoGratorQuery framework */
+#ifndef ANNOCOLUMN_H
+#define ANNOCOLUMN_H
+
+#include "common.h"
+#include "asParse.h"
+
+struct annoColumn
+/* A column as defined by autoSql, and whether it is currently set to be included in output. */
+    {
+    struct annoColumn *next;
+    struct asColumn *def;
+    boolean included;
+    };
+
+struct annoColumn *annoColumnsFromAsObject(struct asObject *asObj);
+/* Create a list of columns from asObj; by default, all are set to be included in output.
+ * Callers: do not modify any column's def! */
+
+struct annoColumn *annoColumnCloneList(struct annoColumn *list);
+/* Shallow-copy a list of annoColumns.  Callers: do not modify any column's def! */
+
+void annoColumnFreeList(struct annoColumn **pList);
+/* Shallow-free a list of annoColumns. */
+
+#endif//ndef ANNOCOLUMN_H