f863c012ea39c498eaf4cff84f85f92fef210c5f
jcasper
  Mon May 13 00:51:57 2019 -0700
Initial commit of Hi-C display support via .hic files, refs #18842

diff --git src/hg/inc/hic.h src/hg/inc/hic.h
new file mode 100644
index 0000000..fffea6a
--- /dev/null
+++ src/hg/inc/hic.h
@@ -0,0 +1,22 @@
+/* hic.h contains a few helpful wrapper functions for managing Hi-C data. */
+
+#ifndef HIC_H
+#define HIC_H
+
+/* Metadata associated with a Hi-C track */
+struct hicMeta
+{
+char *assembly;
+char **chromNames;
+int nChroms;
+char **resolutions;
+int nRes;
+struct hash *ucscToAlias; // Takes UCSC chrom names to names the underlying file recognizes
+};
+
+char *hicLoadHeader(char *filename, struct hicMeta **header);
+/* Create a hicMeta structure for the supplied Hi-C file.  If
+ * the return value is non-NULL, it points to a string containing
+ * an error message that explains why the retrieval failed. */
+
+#endif /* HIC_H */