dieterich-lab / rp-bp

Rp-Bp is a Bayesian approach to predict, at base-pair resolution, ribosome occupancy and translation.
MIT License
7 stars 5 forks source link

WIP: IGV data loading via Flask app #141

Closed dokempf closed 1 year ago

dokempf commented 1 year ago

This addresses #137.

So the solution to this seems to indeed be to serve the data through Flask. Each Dash app contains a Flask app, so there is no need add one only for this. I added two routes: One is serving a file from the results directory, one serves a file for a given configuration key from the config file. I have not adapted the predicted ORFs track as I was not sure how to get the correct filename. I also did not yet touch the summarize script, which can be trimmed down a lot, given that we do not need store data as base64-encoded strings anymore.

eboileau commented 1 year ago

Thanks, I will try as soon as possible.