85e28d7dd56a748e795fdc5c85a61d8f11fd1613
markd
  Fri Jun 21 10:44:57 2019 -0700
added program to merge adjacent blocks in BED 12 files

diff --git src/hg/inc/hdb.h src/hg/inc/hdb.h
index 3e4d72c..307c990 100644
--- src/hg/inc/hdb.h
+++ src/hg/inc/hdb.h
@@ -313,30 +313,38 @@
  * fails size check.  Please freeMem the result when you
  * are done with it. */
 
 struct dnaSeq *hDnaSeqGet(char *db, char *acc, char *seqTbl, char *extFileTbl);
 /* Get a cDNA or DNA sequence from the specified seq and extFile tables.  The
  * seqTbl/extFileTbl arguments may include the database, in which case they
  * override what is in db (which could even be NULL). Return NULL if not
  * found. */
 
 struct dnaSeq *hDnaSeqMustGet(char *db, char *acc, char *seqTbl, char *extFileTbl);
 /* Get a cDNA or DNA sequence from the specified seq and extFile tables.  The
  * seqTbl/extFileTbl arguments may include the database, in which case they
  * override what is in db (which could even be NULL).
  * Abort if not found. */
 
+struct dnaSeq *hDnaSeqGetConn(struct sqlConnection *conn, char *acc, char *seqTbl, char *extFileTbl);
+/* Get a cDNA or DNA sequence from the specified seq and extFile tables. Return NULL if not
+ * found. */
+
+struct dnaSeq *hDnaSeqMustGetConn(struct sqlConnection *conn, char *acc, char *seqTbl, char *extFileTbl);
+/* Get a cDNA or DNA sequence from the specified seq and extFile tables. 
+ * Abort if not found. */
+
 aaSeq *hPepSeqGet(char *db, char *acc, char *seqTbl, char *extFileTbl);
 /* Get a peptide sequence from the specified seq and extFile tables.   The
  * seqTbl/extFileTbl arguments may include the database, in which case they
  * override what is in db (which could even be NULL). Return
  * NULL if not found. */
 
 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, 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