3035fe4b8c8e8ac74f12417dd350e25f11290dd4 braney Sun Apr 12 09:42:43 2020 -0700 support RNA genomes by repurposing hgPbOk in dbDb to specify whether the database is an RNA genome #25350 diff --git src/hg/inc/hdb.h src/hg/inc/hdb.h index ca2c2af..b8b53cf 100644 --- src/hg/inc/hdb.h +++ src/hg/inc/hdb.h @@ -178,30 +178,34 @@ /* Connect to cart database. Defaults to the central connection * unless cart.db or cart.host are configured. Free this * up with hDisconnectCart(). */ void hDisconnectCart(struct sqlConnection **pConn); /* Put back connection for reuse. */ char *hgOfficialChromName(char *db, char *name); /* Returns "cannonical" name of chromosome or NULL * if not a chromosome. */ boolean hgIsOfficialChromName(char *db, char *name); /* Determine if name is exact (case-sensitive) match with * a chromosome in the current assembly */ +boolean hgPdbOk(char *database); +/* Return TRUE if hgPdbOk is on in dbDb + * on this database. */ + boolean hgNearOk(char *database); /* Return TRUE if ok to put up familyBrowser (hgNear) * on this database. */ boolean hgPcrOk(char *database); /* Return TRUE if ok to put up hgPcr on this database. */ boolean hTableExists(char *db, char *table); /* Return TRUE if a table exists in database. */ boolean hTableOrSplitExists(char *db, char *table); /* Return TRUE if table (or a chrN_table) exists in database. */ char *hTableForTrack(char *db, char *trackName); /* Return a table for a track in db. Returns one of the split