Skip to main content

kira_mmcif/
lib.rs

1//! Low-level streaming parser for mmCIF and BinaryCIF, focused on protein
2//! coordinates (`_atom_site`).
3//!
4//! ## Cargo features
5//!
6//! - `gzip` (default): transparent decompression of `.cif.gz` / `.bcif.gz`
7//!   inputs via `flate2`.
8//! - `serde`: derive `Serialize`/`Deserialize` on `Structure`/`ProteinIR` and
9//!   friends.
10
11mod bcif;
12mod error;
13mod formats;
14mod ir;
15mod model;
16mod parser;
17
18pub use error::MmCifError;
19pub use formats::{
20    StructureFormat, read_bcif_structure, read_mmcif_structure, read_structure,
21    read_structure_with_format,
22};
23pub use ir::{AtomSoA, ChainIR, ProteinIR, ResidueIR};
24pub use model::{Atom, AtomName, Chain, ChainId, Model, Residue, ResidueName, Structure};