8a75f8b98316f72a4539944c73e840126411a426
kate
  Thu Sep 13 12:49:04 2018 -0700
Initial work for pack mode display of interactions as linked features.  Doesn't recognize pack mode, and doesn't display as linked features (just as bed3). refs #21917

diff --git src/hg/inc/interact.h src/hg/inc/interact.h
index c45e14a..21ea3ea 100644
--- src/hg/inc/interact.h
+++ src/hg/inc/interact.h
@@ -86,29 +86,38 @@
 #define interactTabOut(el,f) interactOutput(el,f,'\t','\n');
 /* Print out interact as a line in a tab-separated file. */
 
 #define interactCommaOut(el,f) interactOutput(el,f,',',',');
 /* Print out interact as a comma separated list including final comma. */
 
 /* -------------------------------- End autoSql Generated Code -------------------------------- */
 
 struct asObject *interactAsObj();
 /* Return asObject describing fields of barChart database table (includes bin) */
 
 struct interact *interactLoadAndValidate(char **row);
 /* Load a interact from row fetched with select * from interact
  * from database, validating fields.  Dispose of this with interactFree(). */
 
+#ifdef DEBUG
+struct bed *interactBedLoad(char **row);
+/* Load an interact from row fetched with select * from interact
+ * from database, as a BED12.  Dispose of this with bedFree(). */
+#endif
+
+struct bed *interactToBed(struct interact *inter);
+/* Convert an interact to a BED12 */
+
 char *interactOtherChrom(struct interact *inter);
 /* Get other chromosome from an interaaction. Return NULL if same chromosome */
 
 int interactRegionCenter(int start, int end);
 /* Return genomic location of center of region */
 
 int interactRegionDistance(struct interact *inter);
 /* Return distance between region midpoints. Return -1 for other chromosome */
 
 int interactDistanceCmp(const void *va, const void *vb);
 /* Compare based on distance between region midpoints */
 
 #endif /* INTERACT_H */