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/hgc/hgc.h src/hg/hgc/hgc.h index 1ed48f8..837ff38 100644 --- src/hg/hgc/hgc.h +++ src/hg/hgc/hgc.h @@ -401,18 +401,21 @@ void printCustomUrl(struct trackDb *tdb, char *itemName, boolean encode); /* Wrapper to call printCustomUrlWithLabel using the url setting in trackDb */ void doBamDetails(struct trackDb *tdb, char *item); /* Show details of an alignment from a BAM file. */ void doMakeItemsDetails(struct customTrack *ct, char *itemIdString); /* Show details of a makeItems item. */ void doBedDetail(struct trackDb *tdb, struct customTrack *ct, char *itemName); /* generate the detail page for a custom track of bedDetail type */ void doPgSnp(struct trackDb *tdb, char *itemName, struct customTrack *ct); /* print detail page for personal genome track (pgSnp) */ +void doGvf(struct trackDb *tdb, char *item); +/* Show details for variants represented as GVF, stored in a bed8Attrs table */ + #define NUCCORE_SEARCH "http://www.ncbi.nlm.nih.gov/sites/entrez?db=nuccore&cmd=search&term=" #endif