c6c5c0fece6dd3a4f278a923b222c8036f363b91 jcasper Thu Jul 25 15:38:16 2024 -0700 Needed header updates for the new Hi-C version, refs #33225 diff --git src/hg/inc/hic.h src/hg/inc/hic.h index fe50834..c1ca0a5 100644 --- src/hg/inc/hic.h +++ src/hg/inc/hic.h @@ -7,30 +7,32 @@ #include "cStraw.h" /* Metadata associated with a Hi-C track */ struct hicMeta { Straw *strawObj; char *filename; char *fileAssembly; int nChroms; char **chromNames; int *chromSizes; int nRes; char **resolutions; int nAttributes; char **attributes; +int nNormOptions; +char **normOptions; char *ucscAssembly; struct hash *ucscToAlias; // Takes UCSC chrom names to names the underlying file recognizes }; char *hicLoadHeader(char *filename, struct hicMeta **header, char *ucscAssembly); /* 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. */ char *hicLoadData(struct hicMeta *fileInfo, int resolution, char *normalization, char *chrom1, int start1, int end1, char *chrom2, int start2, int end2, struct interact **resultPtr); /* Fetch heatmap data from a hic file. The hic file info must be provided in fileInfo, which should be * populated by hicLoadHeader. The result is a linked list of interact structures in *resultPtr, * and the return value (if non-NULL) is the text of any error message encountered by the underlying * Straw library. */