class Topology:
def from_pdb(
file: PathLike | TextIO,
use_canonical_names: bool = False,
unique_molecules: list[Molecule] = [],
residue_database: Mapping[
str, list[ResidueDefinition]
] = CCD_RESIDUE_DEFINITION_CACHE,
) -> Topology:
class ResidueDefinition:
def from_smiles(
resname: str,
mapped_smiles: str,
atom_names: Mapping[int, str],
) -> ResidueDefinition
def from_molecule()
def from_capped_molecule() # For AAs, nucleotides, etc |