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/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c index d13bab9..2bb354b 100644 --- src/hg/hgTracks/simpleTracks.c +++ src/hg/hgTracks/simpleTracks.c @@ -11695,30 +11695,34 @@ { ldMethods(track); } else if (sameWord(type, "factorSource")) { factorSourceMethods(track); } else if (sameWord(type, "remote")) { remoteMethods(track); } else if (sameWord(type, "interaction")) { interactionMethods(track); } +else if (sameWord(type, "gvf")) + { + gvfMethods(track); + } #endif /* GBROWSE */ } static void compositeLoad(struct track *track) /* Load all subtracks */ { struct track *subtrack; long thisTime = 0, lastTime = 0; for (subtrack = track->subtracks; subtrack != NULL; subtrack = subtrack->next) { if (isSubtrackVisible(subtrack) && ( limitedVisFromComposite(subtrack) != tvHide)) { lastTime = clock1000(); if (!subtrack->loadItems) // This could happen if track type has no handler (eg, for new types)