6175649026c35358cc0871c3f2cdf39328736885 markd Sun Oct 30 20:44:31 2022 -0700 initial implementation of all gencode transcript rank filters, not GUI yet diff --git src/hg/inc/gencodeTracksCommon.h src/hg/inc/gencodeTracksCommon.h new file mode 100644 index 0000000..5eba039 --- /dev/null +++ src/hg/inc/gencodeTracksCommon.h @@ -0,0 +1,20 @@ +/* Copyright (C) 2022 The Regents of the University of California + * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ + +/* Common functions for accessing All GENCODE (hgc-based) tracks */ + +#ifndef gencodeTracksCommon_h +#define gencodeTracksCommon_h +struct trackDb; + +char *gencodeBaseAcc(char *acc, char *accBuf, int accBufSize); +/* get the accession with version number dropped. */ + +char* gencodeGetVersion(struct trackDb *tdb); +/* get the GENCODE version for a track. */ + +char *gencodeGetTableName(struct trackDb *tdb, char *tableBase); +/* Return the table name with the version attached. This just leaks the memory + * and lets exit() clean up. It is tiny */ + +#endif