biomol.CIFMol#

class CIFMol(atom_container, residue_container, chain_container, index_table, metadata=None)[source]#

Bases: BioMol[CIFAtomView, CIFResidueView, CIFChainView]

A class representing a biomolecular structure in CIF format.

Attributes

alt_id

Alternate location identifier.

assembly_id

Biological assembly identifier.

atoms

View of the atoms in the selection.

chains

View of the chains in the selection.

id

PDB identifier.

index_table

The index table mapping atoms, residues, and chains.

metadata

The metadata associated with the biomolecular structure.

model_id

Model number in multi-model structures.

residues

View of the residues in the selection.

Methods

concat

Concatenate multiple BioMol objects.

copy

Create a deep copy of the BioMol.

from_bytes

Deserialize the container from zstd-compressed bytes.

from_dict

Create a BioMol object from a dictionary.

get_container

Get the feature container for a specific structure level.

remove_features

Remove features at a specific structure level.

to_bytes

Serialize the container to zstd-compressed bytes.

to_dict

Convert the BioMol object to a dictionary.

update_features

Update features at a specific structure level.

Parameters: