nanome.api.structure.molecule module

class Molecule[source]

Bases: nanome._internal.structure.models._Molecule, nanome.api.structure._deprecated.MoleculeDeprecated, nanome.api.structure.base.Base

Represents a molecule. Contains chains.
add_chain(chain)[source]
Add a chain to this molecule
Parameters:chain (Chain) – Chain to add to the molecule
associated
Metadata associated with the molecule.
PDB REMARKs end up here.
Type:dict
associateds
atoms
The atoms of this complex
Type:generator <Atom>
bonds
The bonds of this complex
Type:generator <Bond>
chains
The chains of this complex
Type:generator <Chain>
complex
Complex that the molecule belongs to
conformer_count
copy_conformer(src, index=None)[source]
create_conformer(index)[source]
current_conformer
delete_conformer(index)[source]
get_ligands(callback=None)[source]
get_proteins(callback=None)[source]
get_solvents(callback=None)[source]
get_substructures(callback=None)[source]
move_conformer(src, dest)[source]
name
Represents the name of the molecule
Type:str
names
remove_chain(chain)[source]
Remove a chain from this molecule
Parameters:chain (Chain) – Chain to remove from the molecule
residues
The residues of this complex
Type:generator <Residue>
set_conformer_count(count)[source]
set_current_conformer(index)[source]