1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//! Parser module for different molecular structure file formats
//!
//! This module provides parsing functionality for both PDB and mmCIF formats,
//! with automatic format detection capabilities.
//!
//! # Supported Formats
//!
//! - **PDB Format**: Legacy text-based format with fixed-width columns
//! - **mmCIF Format**: Modern dictionary-based format used by PDB
//! - **Gzip-compressed files**: With the `gzip` feature (`.ent.gz`, `.pdb.gz`, `.cif.gz`)
//!
//! # Examples
//!
//! ```ignore
//! use pdbrust::parser::{parse_pdb_file, parse_mmcif_file, parse_structure_file};
//!
//! // Parse specific formats
//! let pdb_structure = parse_pdb_file("structure.pdb")?;
//! let mmcif_structure = parse_mmcif_file("structure.cif")?;
//!
//! // Auto-detect format
//! let structure = parse_structure_file("structure.ent")?;
//!
//! // Parse gzip-compressed files (requires "gzip" feature)
//! #[cfg(feature = "gzip")]
//! let structure = pdbrust::parser::gzip::parse_gzip_pdb_file("pdb1ubq.ent.gz")?;
//! ```
/// Parse mmCIF/PDBx files
/// Parse PDB files
/// Parse gzip-compressed PDB/mmCIF files
// Re-export all public parsing functions
pub use ;
pub use *;
pub use ;