37977956905d588f73ee5f635fae2f609cb40842 angie Wed Aug 9 12:52:00 2017 -0700 Assorted little util functions in support of adding HGVS output to hgVai -- refs #19968 diff --git src/hg/inc/hdb.h src/hg/inc/hdb.h index 86266e7..d49f5ee 100644 --- src/hg/inc/hdb.h +++ src/hg/inc/hdb.h @@ -990,16 +990,23 @@ char *defaultDbTable(); /* Return the name of the defaultDb table. */ char *genomeCladeTable(); /* Return the name of the genomeClade table. */ struct trackDb *hFindLatestSnpTrack(char *db, char *suffix, struct trackDb **pFullTrackList); /* Return the 'snpNNN<suffix>' track with the highest build number, if any. * suffix may be NULL to get the 'All SNPs' table (as opposed to Common, Flagged, Mult). */ char *hFindLatestSnpTableConn(struct sqlConnection *conn, char *suffix); /* Return the name of the 'snp1__<suffix>' table with the highest build number, if any. * suffix may be NULL to get the 'All SNPs' table (as opposed to Common, Flagged, Mult). */ +boolean hDbHasNcbiRefSeq(char *db); +/* Return TRUE if db has NCBI's RefSeq alignments and annotations. */ + +char *hRefSeqAccForChrom(char *db, char *chrom); +/* Return the RefSeq NC_000... accession for chrom if we can find it, else just chrom. + * db must never change. */ + #endif /* HDB_H */