314b81670d2d1446d4da81108ac0ce2a72fc569d markd Fri Jan 6 15:32:57 2017 -0800 bigTransMap hgc working diff --git src/hg/inc/hdb.h src/hg/inc/hdb.h index 5cdbd62..5b83764 100644 --- src/hg/inc/hdb.h +++ src/hg/inc/hdb.h @@ -738,30 +738,39 @@ */ char *hOrganism(char *database); /* Return organism associated with database. Use freeMem on * return value when done. */ int hOrganismID(char *database); /* Get organism ID from relational organism table */ /* Return 0 if not found. */ char *hScientificName(char *database); /* Return scientific name for organism represented by this database */ /* Return NULL if unknown database */ /* NOTE: must free returned string after use */ +char *hOrgShortName(char *org); +/* Get the short name for an organism. Returns NULL if org is NULL. + * WARNING: static return */ + +char *hOrgShortForDb(char *db); +/* look up the short organism scientific name given an organism db. + * WARNING: static return */ + + char *hHtmlPath(char *database); /* Return /gbdb path name to html description for this database */ /* Return NULL if unknown database */ /* NOTE: must free returned string after use */ char *hFreezeDate(char *database); /* Return freeze date of database. Use freeMem when done. */ char *hFreezeDateOpt(char *database); /* Return freeze date of database or NULL if unknown database * Use freeMem when done. */ int hTaxId(char *database); /* Return taxId (NCBI Taxonomy ID) associated with database. */