tom‎ > ‎

gbjavascript

This HTML/Javascript file can be used as dynamic documentation with a local track on the UCSC genome browser at genome.ucsc.edu.  The javascript makes an AJAX request to fetch a JSON formatted data file, which it parses and uses to manage the display of the documentation for the local track.  Very large local track files that span wide areas of the genome may want the documentation to change depending on where the current genome browser visitor is on the genome.  This experimental Javascript achieves that by finding the location being viewed, finding the interesting locations (via AJAX fetch of JSON datafile), and dynamically displaying the documentation that is relevant.   
ċ
testTrack.txt.gz
(2k)
Thomas Maher,
Oct 8, 2013, 9:32 AM
Comments