98874f1656202cd5781466a5d9b25f47da1f104d hiram Mon Feb 13 16:03:53 2023 -0800 a bit closer to correct NCBI links, not perfect, but better than it was no redmine diff --git src/hg/inc/chromAlias.h src/hg/inc/chromAlias.h index 12f0e88..3361f6f 100644 --- src/hg/inc/chromAlias.h +++ src/hg/inc/chromAlias.h @@ -67,16 +67,22 @@ 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. */ + +char *chromAliasNCBI(char *db, char *chr, char *gcX); +/* given the database and the chrom name, find the NCBI equivalent chr name + * gcX helps determine if RefSeq/GCF or GenBank/GCA + */ + #endif /* CHROMALIAS_H */