6031d05b102c1cb34c9e8394a8acf5809a8eca8f angie Mon Jan 31 16:19:37 2011 -0800 Track #34 (dbVar for human): Added new track type gvf with basichandlers in hgTracks and hgc. dbVar's GVF attributes are recognized, esp. var_type is used to color items, and items are sorted using the Parent keyword so that parents appear immediately before their children, and children are sorted by var_type. Attributes are displayed in hgc; need to do a bit better for the Start_range and End_range (e.g. translate "." to "inner start unknown" etc.). diff --git src/hg/lib/bed8Attrs.as src/hg/lib/bed8Attrs.as new file mode 100644 index 0000000..33d6dd2 --- /dev/null +++ src/hg/lib/bed8Attrs.as @@ -0,0 +1,15 @@ +table bed8Attrs +"Items with thin (outer) and/or thick (inner) regions and an arbitrary set of attributes" + ( + string chrom; "Reference sequence chromosome or scaffold" + uint chromStart; "Start position in chromosome" + uint chromEnd; "End position in chromosome" + string name; "Name of item" + uint score; "Score from 0-1000 (might not be applicable)" + char[1] strand; "+, - or . for unknown" + uint thickStart; "Start of where display should be thick" + uint thickEnd; "End of where display should be thick" + int attrCount; "Number of attributes" + string[attrCount] attrTags; "Attribute tags/keys" + string[attrCount] attrVals; "Attribute values" + )