dasmoth / dalliance

Interactive web-based genome browser.
http://www.biodalliance.org/
BSD 2-Clause "Simplified" License
226 stars 68 forks source link

Extract Data retrieval from visualisation #148

Open Traksewt opened 9 years ago

Traksewt commented 9 years ago

Dalliance has done a great job of parsing the various binary formats available, and providing a graphical browser for loading files & track hubs. There are many javascript tools that need this functionality, and some out there have just copied Dalliances code. If the data retrieval is extracted to a separate project, then many people could find this useful, and keep the backend code up to date. Promises could be used to retrieve the data, and Dalliance rendering could be a 'user' of this new framework.

Objects like tier would go on the backend, so the rendering application can specify which tiers are needed to be loaded (and at what resolution).

The graphical track browser (e.g. loading trackhubs) could also be on the backend (so it can be shared), potentially loading in a application-specified div.