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. All options have default values (see below). Using the "+" or "-" sign the default export values can be changed to "true" or "false" respectively. If the option is given without "+" or "-" modifier than the default values are not used and only the specific feature is exported.
Examples:
"cxsmiles:" writes all default features (absolute stereoconfiguration, enhanced stereo features, atom labels, wiggly bond indexes, ring stereo bond info and reaction fragment level grouping),
"cxsmiles:lc" writes the atom labels and the atomic coordinates only,
"cxsmiles:+c" writes writes all default features and the atomic coordinates,
"cxsmiles:-le" writes absolute stereoconfiguration, enhanced stereo features, ring stereo bond info and reaction fragment level grouping but not atom labels and wiggly bond indexes.

e     Write relative stereo configuration and enhanced stereo features. Default value: true.
l Write atom labels / aliases. Default value: true.
w Write wiggly bond indexes. Default value: true.
d Write CIS, TRANS ring bond indexes. Default value: true.
f Reaction fragment level grouping. Default value: true.
p Write local parities. Default value: true.
R Write radical numbers. Default value: true.
L Write lone electron pairs. Default value: true.
m Write multicenter SGroups and coordinate bonds. Default value: true.
N Write link nodes. Default value: true.
cp Write atomic coordinates. p can specify the coordinate precision optionally. If p is not specified, the default value 2 is used. Default value: false.

See also SMILES export options and basic export options.

See also