c7723adc566681d4f69232076df356c36aa5a1cf max Fri Sep 9 16:03:22 2016 -0700 adding first versin of pipeline for crispr tracks and trackDb statements supporting external extra fields, refs #17235 diff --git src/hg/hgc/hgc.h src/hg/hgc/hgc.h index 4b310d7..70ee4b6 100644 --- src/hg/hgc/hgc.h +++ src/hg/hgc/hgc.h @@ -465,26 +465,29 @@ void htcLrgCdna(char *item); /* Serve up LRG transcript cdna seq */ void doPeptideAtlas(struct trackDb *tdb, char *item); /* Details for PeptideAtlas peptide mapping */ void doGtexGeneExpr(struct trackDb *tdb, char *item); /* Details of GTEX gene expression item */ void printAddWbr(char *text, int distance); /* a crazy hack for firefox/mozilla that is unable to break long words in tables * We need to add a <wbr> tag every x characters in the text to make text breakable. */ +struct slPair* getExtraFields(struct trackDb *tdb, char **fields, int fieldCount); +/* return the extra field names and their values as a list of slPairs */ + int extraFieldsPrint(struct trackDb *tdb,struct sqlResult *sr,char **fields,int fieldCount); // Any extra bed or bigBed fields (defined in as and occurring after N in bed N + types. // sr may be null for bigBeds. // Returns number of extra fields actually printed. #define NUCCORE_SEARCH "http://www.ncbi.nlm.nih.gov/sites/entrez?db=nuccore&cmd=search&term=" void doJRepeat (struct trackDb *tdb, char *repeat); /* New RepeatMasker Visualization defined in joinedRmskClick.c */ #endif