fc13db4566f67eda0bb8d608c8cd691b559a1930
angie
  Fri May 22 16:32:00 2015 -0700
Add chrom, chromStart, chromEnd back into the autoSql for wig and bigWig annoStreamers.
Now the columns can be selected/deselected the usual way instead of being fudged into
the output with no choice.
refs #14579

diff --git src/lib/annoStreamBigWig.c src/lib/annoStreamBigWig.c
index 3541df8..8f8298f 100644
--- src/lib/annoStreamBigWig.c
+++ src/lib/annoStreamBigWig.c
@@ -1,27 +1,30 @@
 /* annoStreamBigWig -- subclass of annoStreamer for bigWig file or URL */
 
 /* Copyright (C) 2013 The Regents of the University of California 
  * See README in this or parent directory for licensing information. */
 
 #include "annoStreamBigWig.h"
 #include "bigWig.h"
 
 char *annoRowBigWigAsText =
 "table annoRowBigWig\n"
 "\"autoSql description of a single annoRowBigWig value, for filtering\"\n"
 "    (\n"
+"    string chrom;     \"Reference sequence chromosome or scaffold\"\n"
+"    uint chromStart;  \"Start position in chromosome\"\n"
+"    uint chromEnd;    \"End position in chromosome\"\n"
 "    float value;      \"data value for this range\"\n"
 "    )\n"
     ;
 
 struct annoStreamBigWig
     {
     struct annoStreamer streamer;	// Parent class members & methods
     // Private members
     struct bbiFile *bbi;		// bbi handle for bigBed file/URL.
     struct lm *intervalQueryLm;		// localmem object for bigWigIntervalQuery
     struct bbiInterval *intervalList;	// results of bigWigIntervalQuery
     struct bbiInterval *nextInterval;	// next result to be translated into row
     struct bbiChromInfo *chromList;	// list of chromosomes for which bbi actually has data
     struct bbiChromInfo *queryChrom;	// most recently queried chrom for whole-genome (or NULL)
     boolean eof;			// TRUE when we are done