6c16a029709c60f4d88f5a2a01ef7422c78c89c4 braney Fri Sep 19 15:30:36 2014 -0700 show SNPs as red in maf and wigMaf tracks if "showSnp on" is set in the trackDb diff --git src/hg/hgTracks/mafTrack.h src/hg/hgTracks/mafTrack.h index 68430be..a5fe740 100644 --- src/hg/hgTracks/mafTrack.h +++ src/hg/hgTracks/mafTrack.h @@ -15,23 +15,24 @@ void *list; struct customTrack *ct; }; struct mafPriv *getMafPriv(struct track *track); /* zoom level where summary file is used */ #define MAF_SUMMARY_VIEW 1000000 /* zoom level that displays synteny breaks and nesting brackets */ #define MAF_DETAIL_VIEW 30000 void drawMafRegionDetails(struct mafAli *mafList, int height, int seqStart, int seqEnd, struct hvGfx *hvg, int xOff, int yOff, int width, MgFont *font, Color color, Color altColor, - enum trackVisibility vis, boolean isAxt, boolean chainBreaks); + enum trackVisibility vis, boolean isAxt, boolean chainBreaks, + boolean doSnpMode); /* Draw wiggle/density plot based on scoring things on the fly. */ void drawMafChain(struct hvGfx *hvg, int xOff, int yOff, int width, int height, boolean isDouble); /* draw single or double chain line between alignments in MAF display */ #endif