62ccb95d5c71a3bf7658327e6db2bc35c19d1d71 chmalee Wed Oct 11 09:57:36 2023 -0700 Adding back hgvs search support for historical refseq transcripts and historical refSeq transcripts track. Should be more resilient code this time. diff --git src/hg/inc/hdb.h src/hg/inc/hdb.h index 598300b..57b2c70 100644 --- src/hg/inc/hdb.h +++ src/hg/inc/hdb.h @@ -1041,30 +1041,33 @@ 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). */ char *hFindLatestGencodeTableConn(struct sqlConnection *conn, char *suffix); /* Return the 'wgEncodeGencode<suffix>V<version>' table with the highest version number, if any. * If suffix is NULL, it defaults to Basic. */ boolean hDbHasNcbiRefSeq(char *db); /* Return TRUE if db has NCBI's RefSeq alignments and annotations. */ +boolean hDbHasNcbiRefSeqHistorical(char *db); +/* Return TRUE if db has NCBI's Historical 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. */ char *abbreviateRefSeqSummary(char *summary); /* strip off the uninformative parts from the RefSeq Summary text: the repetitive note * about the publication subset and the Evidence-Data-Notes */ boolean isMito(char *chrom); /* Return True if chrom is chrM or chrMT */ char *hdbDefaultKnownDb(char *db); /* Get the default knownGene database from the defaultKnown table. */ char *hdbGetMasterGeneTrack(char *knownDb);