4e5b41a3d4c933bffb2958c9b34f925bab023179 kate Tue Dec 12 13:07:26 2017 -0800 Suppress labels on interchromosomal items if any on screen would overlap. Maybe later try packing, but this could be tricky. refs #17512 diff --git src/hg/inc/longRange.h src/hg/inc/longRange.h index bb91f1b..f9280d1 100644 --- src/hg/inc/longRange.h +++ src/hg/inc/longRange.h @@ -42,16 +42,19 @@ double score; // interaction numeric value; e.g. strength of interaction unsigned id; // unique integer identifier of an item in a longTabix file (not interaction id) // Required in Wash U spec. Unsed at UCSC, except for details page }; void longRangeCfgUi(struct cart *cart, struct trackDb *tdb, char *name, char *title, boolean boxed); /* Complete track controls for long range interaction. */ struct longRange *parseLongTabix(struct bed *beds, unsigned *maxWidth, double minScore); /* Parse longTabix format into longRange structures */ struct asObject *longTabixAsObj(); /* Return asObject describing fields of longTabix file. */ +int longRangeCmp(const void *va, const void *vb); +/* Compare based on coord position of s field */ + #endif//def LONGRANGE_H