2 unstable releases
Uses new Rust 2024
new 0.2.0 | Apr 15, 2025 |
---|---|
0.1.0 | Apr 14, 2025 |
#168 in Science
52 downloads per month
5MB
588 lines
Chelate
Chelate is a simple parser for a bunch of molecular file format.
Supported formats:
- PDB
- MOL
- MOL2 (TRIPOS)
- CIF (CCDC, mmCIF)
- XYZ
Example
use chelate;
let (atoms, bonds) = chelate::from_file("data/147288.cif").unwrap();
assert_eq!(atoms.len(), 206);
assert_eq!(bonds.len(), 230);