1caf0560fb6ecf569f8a6ebf17d3593612a5d7f6
angie
  Fri May 22 15:59:17 2015 -0700
hgIntegrator: instead of comma-separated lists of wiggle values that get
quite long for large regions, output the average of values in a region.
I got a couple requests for this at the Biology of Genomes poster session.
refs #14579

diff --git src/lib/annoFormatTab.c src/lib/annoFormatTab.c
index d6683ce..dde5d8f 100644
--- src/lib/annoFormatTab.c
+++ src/lib/annoFormatTab.c
@@ -153,31 +153,31 @@
 
 static char **wordsFromRow(struct annoRow *row, struct annoStreamer *source,
 			   boolean *retFreeWhenDone)
 /* If source->rowType is arWords, return its words.  Otherwise translate row->data into words. */
 {
 if (row == NULL)
     return NULL;
 boolean freeWhenDone = FALSE;
 char **words = NULL;
 if (source->rowType == arWords)
     words = row->data;
 else if (source->rowType == arWig)
     {
     freeWhenDone = TRUE;
     //#*** config options: avg? more stats? list of values?
-    boolean doAvg = FALSE;
+    boolean doAvg = TRUE;
     if (doAvg)
 	words = wordsFromWigRowAvg(row);
     else
 	words = wordsFromWigRowVals(row);
     }
 else
     errAbort("annoFormatTab: unrecognized row type %d from source %s",
 	     source->rowType, source->name);
 if (retFreeWhenDone != NULL)
     *retFreeWhenDone = freeWhenDone;
 return words;
 }
 
 static void printColumns(struct annoFormatTab *self, struct annoStreamer *streamer,
 			 struct annoRow *row, boolean isFirst)