9865fea07f06e8f65cbe3e236e6db9dd6d19925a ceisenhart Thu Nov 13 14:31:35 2014 -0800 Added new fields to hgPos struct, used for bolding canonical genes diff --git src/hg/inc/hgFind.h src/hg/inc/hgFind.h index d6eaae6..5f46a88 100644 --- src/hg/inc/hgFind.h +++ src/hg/inc/hgFind.h @@ -59,28 +59,29 @@ void (*htmlOnePos)(struct hgPosTable *table, struct hgPos *pos, FILE *f); /* Print one position. */ void (*htmlEnd)(struct hgPosTable *table, FILE *f); /* Print end. */ }; struct hgPos /* A list of positions. */ { struct hgPos *next; /* Next in list. */ char *chrom; /* Chromosome. Not allocated here. */ int chromStart; /* Start position in chromosome. */ int chromEnd; /* End position in chromosome. */ char *name; /* Name of position - one word. */ char *description; /* Position description - a sentence or so. */ char *browserName; /* name as in hgTracks tg->itemName(). */ bool canonical; /* The gene is the canonical version. */ + struct tsrPos *tp; /* The trix search associated with the gene. */ }; void hgPositionsHelpHtml(char *organism, char *database); /* Display contents of dbDb.htmlPath for database, or print an HTML comment * explaining what's missing. */ char *hCarefulTrackOpenVis(char *db, char *trackName); /* If track is already in full mode, return full; otherwise, return * hTrackOpenVis. */ #endif /* HGFIND_H */