src/hg/inc/hdb.h 1.166
1.166 2009/03/17 19:54:56 markd
minor speed up of rendering of mRNA/ESTs by checking gbSeq table before seq table, avoiding two sql requests. Also simplified code.
Index: src/hg/inc/hdb.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/inc/hdb.h,v
retrieving revision 1.165
retrieving revision 1.166
diff -b -B -U 4 -r1.165 -r1.166
--- src/hg/inc/hdb.h 17 Mar 2009 04:23:40 -0000 1.165
+++ src/hg/inc/hdb.h 17 Mar 2009 19:54:56 -0000 1.166
@@ -280,11 +280,10 @@
aaSeq *hPepSeqMustGet(char *db, char *acc, char *seqTbl, char *extFileTbl);
/* Get a peptide sequence from the specified seq and extFile tables. Abort if
* not found. */
-int hRnaSeqAndIdx(char *acc, struct dnaSeq **retSeq, HGID *retId, char *gbdate, struct sqlConnection *conn);
-/* Return sequence for RNA, it's database ID, and optionally genbank
- * modification date. Return -1 if not found. */
+int hRnaSeqAndIdx(char *acc, struct dnaSeq **retSeq, HGID *retId, struct sqlConnection *conn);
+/* Return sequence for RNA and it's database ID. Return -1 if not found. */
char* hGetSeqAndId(struct sqlConnection *conn, char *acc, HGID *retId);
/* Return sequence as a fasta record in a string and it's database ID, or
* NULL if not found. */
@@ -780,5 +779,9 @@
boolean isUnknownChrom(char *dataBase, char *chromName);
/* Return true if chrom is one of our "unknown" chromomsomes (e.g. chrUn). */
+char *hGenbankModDate(char *acc, struct sqlConnection *conn);
+/* Get string for genbank last modification date, or NULL if not found..
+ * Free resulting string. */
+
#endif /* HDB_H */