Molecule

class molecule.Molecule(chain, sites)[source]

Molecule with more than one titrable sites

getArrayPosition(atom_id)[source]

Returns the index of the atom in DelPhi position array

Disclamer: used only in testing

getAtomsList()[source]

Returns a list of atoms details

Atoms details = (id, instance, atom index in DelPhi data structures) sorted by atom id number

getNAtoms()[source]

Return number of atoms of the Site.

getTautNAtoms(taut_name)[source]

Return number of atoms of the tautomer named taut_name

Disclamer: it was used for testing

getTautomerInstance(tautname, site_resnum)[source]

Return the tautomer instance named tautname

Tautomer instance must exist in the site of the residue number site_resnum

iterAtoms()[source]

Generator that iterates through all atoms details (name, id, position) in the Site.

iterNonRefSitesTautomers()[source]

Generator that iterates through all Tautomer instances except the reference ones.

printAllSites()[source]

Prints all Site names.

printAllTautomers()[source]

Prints all Tautomer details