nanome.api.structure.chain module

class Chain[source]

Bases: nanome._internal.structure.models._Chain, nanome.api.structure._deprecated.ChainDeprecated, nanome.api.structure.base.Base

Represents a Chain. Contains residues. Molecules contains chains.
add_residue(residue)[source]
Add a residue to this chain
Parameters:residue (Residue) – Residue to add to the chain
atoms
The list of atoms that this chain’s residues contain
bonds
The list of bonds within this chain
complex
Complex that this chain is in
molecule
Molecule that this chain is in
name
Represents the name of the chain
Type:str
remove_residue(residue)[source]
Remove a residue from this chain
Parameters:residue (Residue) – Residue to remove from the chain
residues
The list of residues that this chain contains