3f4772e689c620fa0db33a2522e362cdcc216047 braney Sat Oct 17 07:24:30 2020 -0700 almost done with the clinvar submissions track! diff --git src/hg/hgc/hgc.h src/hg/hgc/hgc.h index 649f1e1..912cc38 100644 --- src/hg/hgc/hgc.h +++ src/hg/hgc/hgc.h @@ -499,30 +499,35 @@ void doBigDbSnp(struct trackDb *tdb, char *rsId); /* Show details for bigDbSnp 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 */ struct slPair *getFields(struct trackDb *tdb, char **fields); /* return field names and their values as a list of slPairs. */ +int extraFieldsPrintAs(struct trackDb *tdb,struct sqlResult *sr,char **fields,int fieldCount, struct asObject *as); +// 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. + 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. struct slPair *parseDetailsTablUrls(struct trackDb *tdb); /* Parse detailsTabUrls setting string into an slPair list of {offset column name, fileOrUrl} */ #define NUCCORE_SEARCH "https://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 */ INLINE char* strOrNbsp(char* val) /* return val if not empty otherwise HTML entity */