4c9ae67ea6e03ec3069cea012398793046e9ff2a
giardine
  Tue Sep 21 15:00:29 2010 -0700
Adds new track type bedDetail to custom and resident tracks, also adds pgSnp (personal genome SNPs) as custom track type.  bedDetail is bed4 to bed12, with 2 extra fields for an ID and description for hgc clicks.
diff --git src/hg/lib/bedDetail.sql src/hg/lib/bedDetail.sql
new file mode 100644
index 0000000..4790edb
--- /dev/null
+++ src/hg/lib/bedDetail.sql
@@ -0,0 +1,24 @@
+# bedDetail.sql was originally generated by the autoSql program, which also 
+# generated bedDetail.c and bedDetail.h.  This creates the database representation of
+# an object which can be loaded and saved from RAM in a fairly 
+# automatic way.
+
+#Browser extensible data, with extended fields for detail page
+CREATE TABLE bedDetail (
+    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,	# Short Name of item
+    score int unsigned,	# Score from 0-1000
+    strand char(1),	# + or -
+    thickStart int unsigned,	# Start of where display should be thick (start codon)
+    thickEnd int unsigned,	# End of where display should be thick (stop codon)
+    reserved int unsigned,	# Used as itemRgb as of 2004-11-22
+    blockCount int,	# Number of blocks
+    blockSizes longblob,	# Comma separated list of block sizes
+    chromStarts longblob,	# Start positions relative to chromStart
+    id varchar(255) not null,	# ID to bed used in URL to link back
+    description longblob not null,	# Long description of item for the details page
+              #Indices
+    INDEX(chrom, chromStart)
+);