5a34c495d5fe1db2aab6d1785c0b0239dbed2520 angie Sat Aug 16 21:21:02 2025 -0700 New track type lorax: details page embeds Lorax multi-tree viewer. The trees are subtrees of an Ancestral Recombination Graph (ARG). This commit also adds a track with 1000 Genomes data, tgpLorax. The details page uses an iframe to embed the Lorax viewer from a separate server (most likely will run in a docker container on the GB server hosts; that will make this track more complicated for mirror operators than other tracks). diff --git src/hg/js/lorax.js src/hg/js/lorax.js new file mode 100644 index 00000000000..9eaedb0dbdc --- /dev/null +++ src/hg/js/lorax.js @@ -0,0 +1,8 @@ +// Lorax multi-tree viewer: functions for integrating with hgc view + +// Copyright (C) 2025 The Regents of the University of California + +function loraxView(chrom, start, end) { + console.log("Hello from lorax.js:loraxView. chrom is", chrom, ", start is", start, ", end is", end); + console.log(document.getElementById("loraxIframe")); +}