c497641abbae591cc2dc13cf184c5e13fa58b6b1
hiram
  Mon Jun 17 12:51:42 2024 -0700
add genArkHubTxt() function to contruct the hub.txt URL from a GCx_ name no redmine

diff --git src/hg/inc/genark.h src/hg/inc/genark.h
index 9bb2151..80d6ec6 100644
--- src/hg/inc/genark.h
+++ src/hg/inc/genark.h
@@ -82,20 +82,23 @@
 /* Print out genark as a line in a tab-separated file. */
 
 #define genarkCommaOut(el,f) genarkOutput(el,f,',',',');
 /* Print out genark as a comma separated list including final comma. */
 
 void genarkJsonOutput(struct genark *el, FILE *f);
 /* Print out genark in JSON format. */
 
 /* -------------------------------- End autoSql Generated Code -------------------------------- */
 
 char *genarkUrl(char *accession);
 /* Return the URL to the genark assembly with this accession if present,
  * otherwise return NULL
  * */
 
+char *genArkHubTxt(char *gcX);
+/* given a GC[AF]_012345678.9 name, return hub.txt URL */
+
 char *genarkTableName();
 /* return the genark table name from the environment, 
  * or hg.conf, or use the default.  Cache the result */
 #endif /* GENARK_H */