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/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c index a32490d..b2473c2 100644 --- src/hg/hgTracks/hgTracks.c +++ src/hg/hgTracks/hgTracks.c @@ -3158,6 +3158,19 @@ tg->nextItemButtonable = TRUE; tg->customPt = ct; } +else if (sameString(type, "bedDetail")) + { + tg = trackFromTrackDb(tdb); + bedDetailCtMethods(tg, ct); + tg->mapItemName = ctMapItemName; /* must be here to see ctMapItemName */ + } +else if (sameString(type, "pgSnp")) + { + tg = trackFromTrackDb(tdb); + pgSnpCtMethods(tg); + //tg->mapItemName = ctMapItemName; + tg->customPt = ct; + } else { errAbort("Unrecognized custom track type %s", type);