549dcd456f5d557e15426176e487f91246363548
kate
  Mon Apr 10 17:21:22 2017 -0700
Better integration with bigBed cod. Fixes loading problem and allows labelFields code to operate (not yet tested). refs #18736

diff --git src/hg/lib/barChartBed.sql src/hg/lib/barChartBed.sql
index fd10c06..ccc4a28 100644
--- src/hg/lib/barChartBed.sql
+++ src/hg/lib/barChartBed.sql
@@ -1,21 +1,21 @@
 # barChartBed.sql was originally generated by the autoSql program, which also 
 # generated barChartBed.c and barChartBed.h.  This creates the database representation of
 # an object which can be loaded and saved from RAM in a fairly 
 # automatic way.
 
 # TODO: add unique ID field, allow name to be non-unique ?
 
 #BED6+ with additional fields for category count and values
 CREATE TABLE barChartBed (
     chrom varchar(255) not null,	# Reference sequence chromosome or scaffold
     chromStart int unsigned not null,	# Start position in chromosome
     chromEnd int unsigned not null,	# End position in chromosome
     name varchar(255) not null,	        # Item identifier
-    score int unsigned not null,	# Score from 0-1000
+    score int unsigned not null,	# Score from 0-1000; derived from total median all categories (log-transformed and scaled)
     strand char(1) not null,	        # + or - for strand
     expCount int unsigned not null,	# Number of categories
     expScores longblob not null,	# Comma separated list of category values
               #Indices
     PRIMARY KEY(name),
     INDEX(chrom(20), chromStart)
 );