Open fedarko opened 7 years ago
Look into using https://github.com/eligrey/FileSaver.js/, maybe?
Actually, https://github.com/jimmywarting/StreamSaver.js is probably what we're looking for. Has support for huge files (up to 15 GB), so this would solve the problem of downloading large files.
From @fedarko on April 18, 2017 9:59
(as opposed to "DNA pointers"/node IDs)
We could process huge files using a chunk-by-chunk approach similar to how we process AGP files. We can also notify the user if the resulting DNA file generated is too large to fit in memory, I guess?
I'm not sure what the max download file size is -- I know data URLs aren't necessarily the best idea, so maybe something else? Or perhaps generate a .fasta file on the server side that the user can download?
Copied from original issue: fedarko/MetagenomeScope#182