#genomics #bioinformatics #sequence-analysis

microBioRust-heatmap

Microbiology friendly bioinformatics Rust functions

2 releases

0.1.1-alpha Jun 27, 2025
0.1.0-alpha Oct 31, 2024

#716 in Biology

Download history

86 downloads per month

MIT license

15KB
233 lines

A Heatmap in Rust web assembly calling d3.js

You will need to use wasm-pack to build instead of cargo wasm-pack build --target web And some way of serving locally http-server . It requires the index.html in the static directory Currently working with fixed data and a rusty colour theme


heatmap

This is functionality for a heatmap data visualisation in Rust WebAssembly calling d3.js

D3.js (D3 short for data-driven documents) is a Javascript library for dynamic, interactive data viz in browsers. At the moment the heatmap data is coded into the Rust lib.rs as an example, so it is currently working with fixed data and a rusty colour scheme

To install, you can build with wasm-pack 📦✨

wasm-pack build --target web

And serve it locally, for example with:

http-server .

Installation

You can install http-server via brew on MacOSX or with npm

Dependencies

~8–12MB
~200K SLoC