--> Try demo with WASM using WebGPU <--
Warning
RAM
Do not load too large structure files.
There are some limitation for WASM version. See Feature
cargo install --git https://github.com/mogura-rs/mogura mogura --locked
# start mogura
mogura
# show help
mogura -h
# visualize PDB: 8GNG (Or you can load them after staring mogura)
mogura 8gng.pdb
# visualize MD simulation of chignolin (Or you can load them after staring mogura)
mogura init.gro input.mol.compact.xtc
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Input files are available here
- Visualize PDB, GRO format
- stick, stick&ball, ball, tube(catmull-rom), line mode are supported
- WASM does not support line (because WebGPU)
- Visualize MD simulation using XTC format
- topology must be PDB or GRO format
- WASM does not support this (because of groan_rs, this crate depends internally on libc)
- Atom selection language
resname, resid, name, index, protein, water, backbone, sidechain, ion, all, (), and, or, not
are reserved words- support complex syntax
- e.g.
protein and name C CA N
,(resname TYR PRO) and protein or not water
- e.g.
- Multiple selection panel
- multiple atom selection are possible for a single structure file.
- Fetch PDB
- dirty pdb file will cause parse error because of pdbtbx.
- Lv1: Change configuration of selected atoms (e.g. Color, Radius, Opacity)
- Lv1: Load multiple structure files
- Lv1: Morphing by specifying two structures
- Lv2: Pick up atoms and highlight them with their name
- Lv2: Allow more flexible configuration of plugins
- Lv3: Secondary structure prediction using DSSP or STRIDE
- Lv3: Visualize structure as Cartoon and NewCartoon
- Lv4: Path tracing using bevy-hikari(but no more developed) or developing default feature
mogura also means "Mole".
References
- bevy
- graphics
- egui
- wgpu
- pdb, gro, xtc
- other great visualizer
- other visualizer in Rust