gosling.js
gosling.js copied to clipboard
zooming and panning lag
There are one GC track and one Coverage track in my spec. When sampleLength is set to 2000 for each track, zooming and panning begins to lag a bit. When sampleLength is set to 6000, lag is getting much more worse. What can I do to reduce such lag?
Genomespy uses TWGL (a WebGL wrapper) to do stuff with WebGL, which Gosling uses PixiJS to do that. Zooming and panning in Genomespy seems to be smooth compared to in Gosling. I wonder if this plays a role in such issue.
Zhen
Hi Zhen, Gosling.js is more optimized to the use of the tiling concept file formats (e.g., vector
, beddb
, multivec
types in HiGlass) and has spaces to improve in terms of rendering performance for CSV files and JSON data. We plan to / would like to improve this part, but would require some time to update on the rendering pipeline that is currently based on HiGlass.
Meanwhile, we recommend using non-CSV files if possible, e.g., beddb
for tabular data.