b94993d07e5d0ef24f17a40c9ca7f5b2ddb93701 braney Wed May 11 10:50:56 2022 -0700 allow hubs to specify a naming authority for the chromosome that's displayed by the browser diff --git src/hg/inc/chromAlias.h src/hg/inc/chromAlias.h index e9149f7..12f0e88 100644 --- src/hg/inc/chromAlias.h +++ src/hg/inc/chromAlias.h @@ -62,16 +62,21 @@ void chromAliasJsonOutput(struct chromAlias *el, FILE *f); /* Print out chromAlias in JSON format. */ /* -------------------------------- End autoSql Generated Code -------------------------------- */ void chromAliasSetup(char *database); /* Read in the chromAlias file/table for this database. */ char *chromAliasFindNative(char *name); /* Find the native seqName for a given alias. */ struct slName *chromAliasFindAliases(char *seqName); /* Get the list of aliases for this sequence name. */ +char *chromAliasFindSingleAlias(char *seqName, char *authority); +/* Find the aliases for a given seqName from a given authority. */ + +char *chromAliasGetDisplayChrom(char *db, struct cart *cart, char *seqName); +/* Return the sequence name to display based on the database and cart. */ #endif /* CHROMALIAS_H */