2b789d0cc2a1f7c5d287820c20d2039a77a16009 kent Wed Jun 22 20:45:03 2022 -0700 Removing baseColorDrawCleanup. Adding "2bit" type to baseColorUseSequence trackDb setting. Adding otherTwoBitUrl tag to trackDb. Enabling psl and bitPsl to use "baseColorDrawCLeanup 2bit" and "otherTwoBitUrl someTwoBitUrl.2bit" combination to get differing bases to be hilit in red and displaying bases when zoomed in to base level. diff --git src/hg/hgTracks/cds.h src/hg/hgTracks/cds.h index 94f602c..4f442ba 100644 --- src/hg/hgTracks/cds.h +++ src/hg/hgTracks/cds.h @@ -170,34 +170,30 @@ * level, draw 1-pixel wide red lines only where bases/codons differ from * genomic. This tests drawing mode and zoom level but assumes that lf itself * has been drawn already and we're not in dense mode etc. */ void baseColorOverdrawQInsert(struct track *tg, struct linkedFeatures *lf, struct hvGfx *hvg, int xOff, int y, double scale, int heightPer, struct dnaSeq *mrnaSeq, struct psl *psl, int winStart, enum baseColorDrawOpt drawOpt, boolean indelShowQInsert, boolean indelShowPolyA); /* If applicable, draw 1-pixel wide orange lines for query insertions in the * middle of the query, 1-pixel wide purple lines for query insertions at the * end of the query, and 1-pixel wide green (instead of purple) when a query * insertion at the end is a valid poly-A tail. */ -void baseColorDrawCleanup(struct linkedFeatures *lf, struct dnaSeq **pMrnaSeq, - struct psl **pPsl); -/* Free structures allocated just for base/cds coloring. */ - struct simpleFeature *baseColorCodonsFromDna(int frame, int chromStart, int chromEnd, struct dnaSeq *seq, bool reverse); /* Create list of codons from a DNA sequence */ void baseColorDrawRulerCodons(struct hvGfx *hvg, struct simpleFeature *sfList, double scale, int xOff, int y, int height, MgFont *font, int winStart, int maxPixels, bool zoomedToText); /* Draw amino acid translation of genomic sequence based on a list of codons. Used for browser ruler in full mode*/ void baseColorSetCdsBounds(struct linkedFeatures *lf, struct psl *psl, struct track *tg); /* set CDS bounds in linked features for a PSL. Used when zoomed out too far