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/hg/lib/annoStreamWig.c src/hg/lib/annoStreamWig.c index 5ee1316..c9c3ad9 100644 --- src/hg/lib/annoStreamWig.c +++ src/hg/lib/annoStreamWig.c @@ -1,29 +1,32 @@ /* annoStreamWig -- subclass of annoStreamer for wiggle database tables */ /* Copyright (C) 2014 The Regents of the University of California * See README in this or parent directory for licensing information. */ #include "annoStreamWig.h" #include "annoStreamDb.h" #include "jksql.h" #include "wiggle.h" char *annoRowWigAsText = "table annoRowWig\n" "\"autoSql description of a single annoRowWig 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 annoStreamWig { struct annoStreamer streamer; // Parent class members & methods / external interface // Private members struct annoStreamer *wigStr; // Internal streamer for .wig as in wiggle db tables FILE *wibF; // wib file handle char *wibFile; // name of wib file on which wibF was opened }; static void aswSetRegion(struct annoStreamer *vSelf, char *chrom, uint regionStart, uint regionEnd) /* Set region -- and free current sqlResult if there is one. */