24 ms·
Is this “scriptable” in rust? I have a lot of Pymol scripts I’d love to rewrite in rust
by bionhoward 1y ago
Is this “scriptable” in rust? I have a lot of Pymol scripts I’d love to rewrite in rust
- the__alchemist 1y agoIt's not. I considered this, or at least CLI functionality. I think it would have to ape PyMol's to be useful, so people don't have to learn new CLI commands. Great idea!
- bionhoward 1y agoMostly what I do is make animations, so a minimalist set for this would be like - load mmCIF / PDB - zoom camera out to show everything - show spheres - remove solvents - color by chain or element - take screenshots - rotate molecules - translate atoms Rust would be wayyy better than pymol, I’m trying to minimize my Python
- the__alchemist 1y agoScrew it; I just added a basic CLI. Implemented save, load, view, help, fetch, and show. I'll add the ones you suggested as well, if they're supported by the underlying data structures. (e.g. the cam stuff is straightfwd, but `remove solvents` may reduce to `hide hetero atoms; sort of like how `show` just toggles the view mode`.