linnarsson-lab / loom-viewer

Tool for sharing, browsing and visualizing single-cell data stored in the Loom file format
BSD 2-Clause "Simplified" License
35 stars 6 forks source link

Download loom file improvements #146

Open JobLeonard opened 6 years ago

JobLeonard commented 6 years ago

First, to make it easier to find download links, we should add one to the navbar.

Second, to improve download speeds and reduce loads on our own server, we want the ability to host the loom files in the cloud, and download from there. However, I am worried about these URLs becoming outdated, for example due to migration. Perhaps we can keep the current code as a "slow alternative mirror"? At the very least for loom files missing this URL field (also with other potential loom-viewer user in mind who do not intend to use a secondary cloud service).

Third, if we keep this fall-backt may be possible to prevent the file-downloading from blocking the server (since it is supposed to be asynchronous and multi-threaded). I should look into that.

JobLeonard commented 6 years ago

@slinnarsson, what is the attribute name under which I can find the link to the original loom file?

pl-ki commented 6 years ago

I suggest make this low priority. We can make the downloads instead using links to static files from the Wiki instead, and then apache2 will automatically take care of threading and blocking issues.

pl-ki commented 6 years ago

Did not intend to close