OEMolToCXSMILES
OEMolToCXSMILES(mol: Union[OEGraphMol,OEMol,OEQMol]) -> str
Creates a CXSMILES from a molecule
by evoking the low-level OECreateSmiString
function with the OESMILESFlag_ISOMERIC and OESMILESFlag_EnhStereo options.
Prior to generating the CXSMILES the following properties are perceived if necessary:
The rings of the molecule are perceived by calling the
OEFindRingAtomsAndBondsfunctionThe aromaticity is assigned by calling the
OEAssignAromaticFlagsfunction using theOEAroModel_OpenEyearomaticity model.In case of a 3D molecule, the stereochemistry of the atoms and the bonds are set by calling the
OE3DToAtomStereoand theOE3DToBondStereofunctions, respectively.
See also
OECXSMILESToMolfunctionOESmilesToMolfunctionUnique Representation section