chelate 0.1.0

Parser for a bunch of molecule file formats
Documentation
  • Coverage
  • 25.81%
    8 out of 31 items documented7 out of 12 items with examples
  • Size
  • Source code size: 23.3 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.28 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 53s Average build duration of successful builds.
  • all releases: 1m 8s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • JensKrumsieck/chelate
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • JensKrumsieck

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);