autofragment.io.readers.pdb

PDB (Protein Data Bank) file reader.

This module provides functions for reading PDB files into ChemicalSystem objects, including support for ATOM/HETATM records, CONECT bond records, and multi-MODEL files.

Functions

iter_pdb_atoms(filepath[, model, alt_loc])

Iterate over PDB atoms lazily.

read_pdb(filepath[, parse_conect, ...])

Read PDB file into ChemicalSystem.

read_pdb_lazy(filepath[, chunk_size, model, ...])

Return a chunked reader for lazy PDB processing.

Classes

LazyPdbAtomIterator(filepath[, model, alt_loc])

Lazy iterator for PDB atoms with MODEL/altLoc handling.