vgteam / sequenceTubeMap

displays multiple genomic sequences in the form of a tube map
MIT License
178 stars 24 forks source link

Add sketch of WASM integration #384

Closed adamnovak closed 8 months ago

adamnovak commented 8 months ago

This pulls in a dependency on an NPM module with the WASM blobs for doing API requests locally, and also adds a skeleton of an API implementation and the beginning of tests for it.

I still can't actually load the WASM blob; I think I am going to need to swap out some code between running on Jest and building with Webpack somehow, to get the bytes.

adamnovak commented 8 months ago

In addition to the WASM stuff that doesn't actually work yet, this has a fix for the upload and websocket parts of the API refactor in #377.

adamnovak commented 8 months ago

I got the WASM stuff to load and execute something in the browser. It still doesn't actually implement the API but I think we can fill that in piece by piece.