class
ModelMethods
- def add_chain(self, chain: Chain, pos: int = -1, unique_name: bool = False) -> Chain
- def add_chain(self, name: str) -> Chain
- def all(self, /) -> CraGenerator
- def calculate_center_of_mass(self, /) -> Position
- def calculate_mass(self, /) -> float
- def clone(self, /) -> Model
- def count_atom_sites(self, sel: Selection = None) -> int
- def count_hydrogen_sites(self, /) -> int
- def count_occupancies(self, sel: Selection = None) -> float
- def find_chain(self, name: str) -> Chain
- def find_cra(self, arg0: AtomAddress, ignore_segment: bool = False) -> CRA
- def find_last_chain(self, name: str) -> Chain
- def find_residue_group(self, chain: str, seqid: SeqId) -> ResidueGroup
- def get_all_residue_names(self, /) -> typing.List[str]
- def get_cra(self, arg0: Atom, /) -> CRA
- def get_parent_of(self, arg0: Residue, /) -> Chain
- def get_subchain(self, name: str) -> ResidueSpan
- def has_hydrogen(self, /) -> bool
- def remove_alternative_conformations(self, /) -> None
- def remove_chain(self, name: str) -> None
- def remove_hydrogens(self, /) -> None
- def remove_ligands_and_waters(self, /) -> None
- def remove_waters(self, /) -> None
- def sole_residue(self, chain: str, seqid: SeqId) -> Residue
- def split_chains_by_segments(self, arg0: HowToNameCopiedChain, /) -> None
- def subchains(self, /) -> typing.List[ResidueSpan]
- def transform_pos_and_adp(self, tr: Transform) -> None
Special methods
- def __delitem__(self, name: str) -> None
- def __delitem__(self, index: int) -> None
- def __delitem__(self, arg0: slice, /) -> None
- def __getitem__(self, index: int) -> Chain
- def __getitem__(self, name: str) -> Chain
- def __init__(self, arg0: str, /) -> None
- def __iter__(self, /) -> typing.Iterator
- def __len__(self, /) -> int
- def __repr__(self, /) -> str
Properties
- name: str get set