4bb9e8caea515342ba98d3871da76cd4ec69916f chmalee Fri May 1 14:10:00 2026 -0700 Initial myVariants implementation: a form on hgTracks where users can enter item details in one of three ways: hgvs/item search, simple bed form, advanced bed form where additional non-bed fields can dynamically created. Allows changing the color of items, writing descriptions, and editing the items after creation. Show overlaps with hardcoded tracks when hgc page is open (not in the hgc dialog). Next commit has implementation of sharing these tracks with other users diff --git src/hg/lib/myVariants.as src/hg/lib/myVariants.as new file mode 100644 index 00000000000..ee318f8bdba --- /dev/null +++ src/hg/lib/myVariants.as @@ -0,0 +1,21 @@ +table myVariants +"An item in a myVariants type track." + ( + uint bin; "Bin for range index" + string chrom; "Reference sequence chromosome or scaffold" + uint chromStart; "Start position in chromosome" + uint chromEnd; "End position in chromosome" + string name; "Name of item - up to 16 chars" + uint score; "0-1000. Higher numbers are darker." + char[1] strand; "+ or - for strand" + uint thickStart; "Start of thick part" + uint thickEnd; "End position of thick part" + uint itemRgb; "RGB 8 bits each as in bed" + lstring description; "Longer item description" + string db; "database name of this annotation" + string ref; "reference allele" + string alt; "alternate allele" + string project; "project name for grouping variants" + string mouseover; "short mouseover text for hover display" + uint id; "Unique ID for item" + ) \ No newline at end of file