Atom Pointer
This module defines atom pointer base class.
- class prody.atomic.pointer.AtomPointer(ag, acsi)[source]
A base for classes pointing to atoms in
AtomGroupinstances. Derived classes are:- getAnisous()[source]
Returns a copy of anisotropic temperature factors from the active coordinate set.
- getBonds()[source]
Returns bonds. Use
setBonds()orinferBonds()from parent AtomGroup for setting bonds.
- getDataLabels(which=None)[source]
Returns data labels. For
which='user', return only labels of user provided data.
- getDataType(label)[source]
Returns type of the data (i.e.
data.dtype) associated with label, or None label is not used.
- getFlagLabels(which=None)[source]
Returns flag labels. For
which='user', return labels of user or parser (e.g. hetatm) provided flags, forwhich='all'return all possible Atom Flags labels in addition to those present in the instance.
- getSequence(**kwargs)
Returns one-letter sequence string for amino acids, unless longSeq is True. When allres keyword argument is True, sequence will include all residues (e.g. water molecules) in the chain and X will be used for non-standard residue names.
- getTitle()
Returns title of the instance.
- iterAcceptors()[source]
Yield acceptors formed by the atom. Use
setAcceptors()for setting acceptors.
- iterBonds()[source]
Yield bonds formed by the atom. Use
setBonds()orinferBonds()for setting bonds.
- iterCrossterms()[source]
Yield crossterms formed by the atom. Use
setCrossterms()for setting crossterms.
- iterDihedrals()[source]
Yield dihedrals formed by the atom. Use
setDihedrals()for setting dihedrals.
- iterImpropers()[source]
Yield impropers formed by the atom. Use
setImpropers()for setting impropers.
- iterNBExclusions()[source]
Yield nbexclusions formed by the atom. Use
setNBExclusions()for setting nbexclusions.
- numBonds()[source]
Returns number of bonds. Use
setBonds()orinferBonds()from parent AtomGroup for setting bonds.
- numResidues()
Returns number of residues.
- select(selstr, **kwargs)
Returns atoms matching selstr criteria. See
selectmodule documentation for details and usage examples.
- toBioPythonStructure(header=None, **kwargs)
Returns a
Bio.PDB.Structureobject- Parameters:
atoms (
Atomic) – an object with atom and coordinate datacsets – coordinate set indices, default is all coordinate sets
- toTEMPyAtoms()
Returns a
TEMPy.protein.prot_rep_biopy.Atomor list of them as appropriate
- toTEMPyStructure()
Returns a
protein.prot_rep_biopy.Structureobject