Generate canonical smiles¶
A program that generates the canonical SMILES of the molecules in the
input file. It has a number of options such as -from3d
, which
perceives stereo from the 3D coordinates, -isomeric
, which
produces the canonical isomeric SMILES, and -kekule
, which
produces the Kekulé SMILES form.
Example¶
prompt> CanSmi dbase.oeb.gz output.smi
prompt> CanSmi -from3d -i dbase.sdf -o output.smi
Code¶
Download code
See also
OEFindRingAtomsAndBonds
functionOEAssignAromaticFlags
functionOEKekulize
functionOECanonicalOrderAtoms
functionOECanonicalOrderBonds
function