ba5f4c097ecdf323f94adab36f4cf52f7f59e8cf
jcasper
  Mon Mar 3 09:47:13 2025 -0800
Initial commit of heatmap code for bigBeds, still plenty to do, refs #31812

diff --git src/hg/lib/heatmap.as src/hg/lib/heatmap.as
new file mode 100644
index 00000000000..3b6ff0f5177
--- /dev/null
+++ src/hg/lib/heatmap.as
@@ -0,0 +1,21 @@
+table bed12Source
+"Browser extensible data (12 fields) plus the source of this item."
+    (
+    string chrom;      "Chromosome (or contig, scaffold, etc.)"
+    uint   chromStart; "Start position in chromosome"
+    uint   chromEnd;   "End position in chromosome"
+    string name;       "Name of item"
+    uint   score;      "Score from 0-1000"
+    char[1] strand;    "+ or -"
+    uint thickStart;   "Start of where display should be thick (start codon)"
+    uint thickEnd;     "End of where display should be thick (stop codon)"
+    uint reserved;     "Used as itemRgb as of 2004-11-22"
+    int blockCount;    "Number of blocks"
+    int[blockCount] blockSizes; "Comma separated list of block sizes"
+    int[blockCount] chromStarts; "Start positions relative to chromStart"
+    int rowCount;    "Number of heatmap rows"
+    string[rowCount] labels; "Comma separated list of row labels"
+    lstring scoreArray; "Comma-separated row-first list of scores, ,, indicates N/A"
+    lstring labelArray; "Comma-separated row-first list of mouseover labels, ,, indicates N/A"
+    lstring maveLink; "Link to MaveDB"
+    )