class
StructureContents
- Reference
Methods
- def add_entity_types(self, overwrite: bool = False) -> None
- def add_model(self, model: Model, pos: int = -1) -> Model
- def assign_subchains(self, overwrite: bool = False) -> None
- def clone(self, /) -> Structure
- def deduplicate_entities(self, /) -> None
- def ensure_entities(self, /) -> None
- def find_connection(self, partner1: AtomAddress, partner2: AtomAddress) -> Connection
- def find_or_add_model(self, name: str) -> Model
- def get_entity(self, subchain: str) -> Entity
- def get_entity_of(self, subchain: ResidueSpan) -> Entity
- def make_minimal_pdb(self, /) -> str
- def make_mmcif_document(self, /) -> cif.Document
- def make_mmcif_headers(self, /) -> cif.Block
- def make_pdb_headers(self, /) -> str
- def merge_chain_parts(self, min_sep: int = 0) -> None
- def remove_alternative_conformations(self, /) -> None
- def remove_empty_chains(self, /) -> None
- def remove_hydrogens(self, /) -> None
- def remove_ligands_and_waters(self, /) -> None
- def remove_waters(self, /) -> None
- def renumber_models(self, /) -> None
- def setup_cell_images(self, /) -> None
- def setup_entities(self, /) -> None
- def setup_for_mmcif(self, /) -> None
- def shorten_chain_names(self, /) -> None
- def write_minimal_pdb(self, path: str) -> None
- def write_pdb(self, path: str, seqres_records: bool = True, ssbond_records: bool = True, link_records: bool = True, cispep_records: bool = True, ter_records: bool = True, numbered_ter: bool = True, use_linkr: bool = False) -> None
Special methods
- def __delitem__(self, index: int) -> None
- def __delitem__(self, arg0: slice, /) -> None
- def __delitem__(self, name: str) -> None
- def __getitem__(self, index: int) -> Model
- def __getitem__(self, name: str) -> Model
- def __init__(self, /) -> None
- def __iter__(self, /) -> typing.Iterator[Model]
- def __len__(self, /) -> int
- def __repr__(self, /) -> str
Properties
- assemblies: AssemblyList get set
- cell: UnitCell get set
- connections: ConnectionList get set
- entities: EntityList get set
- info: InfoMap get set
- name: str get set
- ncs: NcsOpList get set
- resolution: float get set
- spacegroup_hm: str get set