iobio / gene.iobio

Gene.iobio vue
MIT License
56 stars 11 forks source link

Real-time / saved data #918

Closed tonydisera closed 1 year ago

tonydisera commented 1 year ago

Implement a novel strategy that combines the existing real-time analysis paradigm with instantaneous responses based on saved data. When a new analysis is launched, the selected genes will be analysed in real-time with annotations being cached in-memory (Redis or indexedDB) to persistently store the data inside the user’s browser. Once annotated, users will be able to move between genes in their list, interrogating variants, with all annotations now returned instantaneously. Users will also be able to choose to save the analysis in the Mosaic database (or locally). Users who have been granted project access will be able to launch the saved gene.iobio analysis, and instead of waiting for the real-time analysis to return results, all information will be pulled from the saved object instantaneously. If the user chooses to view additional genes, they will first proceed through the standard real-time analysis to get up-to-date annotations (very quick for small numbers of genes), with data being cached as before, and optionally saved to Mosaic.

We will also ensure that all updates are backwards compatible to ensure previously saved analyses are not affected by feature development.