60aca91bcce6d4fa555e6c7c91d8ff8aa9e7bd2b jcasper Fri Jun 11 15:17:21 2021 -0700 Updating hic support for files with large headers (over 100kb) and improving multi-region performance, refs #18842, #27593 diff --git src/hg/inc/hic.h src/hg/inc/hic.h index b2b7ac2..fe50834 100644 --- src/hg/inc/hic.h +++ src/hg/inc/hic.h @@ -1,25 +1,27 @@ /* hic.h contains a few helpful wrapper functions for managing Hi-C data. */ #ifndef HIC_H #define HIC_H #include "interact.h" +#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; 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