Extended SMILES, SMARTS

Codename: cxsmiles,cxsmarts

Contents:

Extended SMILES, SMARTS format

ChemAxon Extended SMILES/SMARTS is used for storing special features of the molecules after the SMILES string. Any information can be stored after the SMILES string if it is separated by space or tab characters as the SMILES parsers ignore them or use them as comment. The extended features are stored in the following format:
SMILES_String |<feature1>,<feature2>,...|
The extended feature description is economic. If some feature is missing in the molecule, then the corresponding special characters are not written. (Eg: If the atoms of the molecule has no alias strings at all, no "$" and ";" characters are written.) Moreover, if no feature of the molecule to be written, the extended feature field is omitted.

In extended smiles export the following additional features are exported:

Import options

See SMILES import options

Export options

Export options can be specified in the format string. The format descriptor and the options are separated by a colon.
If no ChemAxon Extended SMILES/SMARTS specific export option (detailed below) is given, all export options are used.
Examples: "cxmiles:le" writes only atom labels and wiggly bond indexes,
"cxmiles:" writes all features (absolute stereoconfiguration, enhanced stereo features, atom labels, wiggly bond indexes, ring stereo bond info and reaction fragment level grouping).

e     Write relative stereo configuration and enhanced stereo features.
l Write atom aliases.
w Write wiggly bond indexes.
d Write CIS, TRANS bond indexes.
f Reaction fragment level grouping.
p Write local parities.
R Write radical numbers.
L Write lone electron pairs.

See also SMILES export options and basic export options.