| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
Molecule
Represent a JChem Molecule. Required parameters: Molecule -- a JChem Molecule or any type of cinfony Molecule Attributes: atoms, data, exactmass, formula, molwt, title Methods: addh(), calcfp(), calcdesc(), draw(), removeh(), write() The underlying JChem Molecule can be accessed using the attribute: Molecule The associated JChem MolHandler can be accessed using the attribute: MolHandler
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Properties | |
| atoms | |
| data | |
| formula | |
| exactmass | |
| molwt | |
| title | |
|
Inherited from |
|
| Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
Iterate over the Atoms of the Molecule.
This allows constructions such as the following:
for atom in mymol:
print atom
|
str(x)
|
Write the molecule to a file or return a string.
Optional parameters:
format -- see the informats variable for a list of available
output formats (default is "smi")
filename -- default is None
overwite -- if the output file already exists, should it
be overwritten? (default is False)
If a filename is specified, the result is written to a file.
Otherwise, a string is returned containing the result.
To write multiple molecules to the same file you should use
the Outputfile class.
|
Calculate a molecular fingerprint.
Optional parameters:
fptype -- the fingerprint type (default is "daylight"). See the
fps variable for a list of of available fingerprint
types.
|
Calculate descriptor values. Optional parameter: descnames -- a list of names of descriptors If descnames is not specified, all available descriptors are calculated. See the descs variable for a list of available descriptors. |
Generate 3D coordinates. Hydrogens are added, and a low energy conformer is found using the MMFF94 forcefield. |
| Property Details |
atoms
|
data
|
formula
|
exactmass
|
molwt
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Dec 06 19:38:38 2012 | http://epydoc.sourceforge.net |