Expand description
chematic-wasm — WebAssembly bindings for the chematic cheminformatics library.
Exposes a small, ergonomic API for parsing SMILES and computing molecular
descriptors from JavaScript/TypeScript via wasm-bindgen.
Structs§
- MolHandle
- A handle to a parsed molecule. Owns the molecule behind an
Rcso that it can be cheaply cloned on the JS side without copying atom/bond data.
Functions§
- ecfp4_
bitvec - Compute the ECFP4 fingerprint as a bit-packed byte vector (256 bytes = 2048 bits).
- parse_
smiles - Parse a SMILES string into a
MolHandle. - tanimoto_
ecfp4 - Tanimoto similarity between two molecules using ECFP4 fingerprints.