sourmash-bio / sourmash

Quickly search, compare, and analyze genomic and metagenomic data sets.
http://sourmash.readthedocs.io/en/latest/
Other
456 stars 78 forks source link

sketching in JavaScript on the client side #1973

Open ctb opened 2 years ago

ctb commented 2 years ago

through complicated magic referenced here and here, the Rust-based sourmash code can be compiled into web assembly (wasm) and then used to sketch FASTA/FASTQ in the browser. This is 😎 .

two functioning demonstrations of this exist - one by @luizirber,

https://greyhound.sourmash.bio/

and one running on MGnify, by @gustavo-salazar -

https://github.com/sourmash-bio/sourmash/issues/1577#issuecomment-880602271

Updates that would be nice include support for FASTQ, fasta/fastq.gz, and fasta/fastq.bz2 in the Rust code.

luizirber commented 5 months ago

https://github.com/sourmash-bio/sourmash/pull/3047 implement sequence parsing in wasm, https://github.com/EBI-Metagenomics/mgnify-sourmash-component/pull/4 adds it to the MGnify component