Codename: cml
Import. The following CML2 standard tags are recognized:
| convention | conventionValue | meaning |
|---|---|---|
| MDL | 1 | up |
| MDL | 6 | down |
| MDL | 4 | either |
| MDL | 3 | cis or trans |
| ChemAxon | CTUnspec | cis/trans or unspecified |
getMol/getM functions
(of the applets and beans) is the format string. The format specification
("cml") and the option(s) are separated by a colon in the format
string. CML export currently only has one special option which affects the
compactness of the storage.
| cml:... | Basic options for aromatization and H atom adding/removal. |
| cml:A | Atom attributes are stored in arrays.
For 2D molecules, only the x, y coordinates are stored.
This is a more compact form of storage than the default (using
<atom> tags).
|
Example CML file exported without options:
<?xml version="1.0" ?>
<cml>
<molecule title="Ethane" id="m1">
<atomArray>
<atom id="a1" elementType="C"
x2="0.0" y2="0.0" />
<atom id="a2" elementType="C"
x2="0.0" y2="1.54" />
</atomArray>
<bondArray>
<bond atomRefs2="a1 a2" order="1" />
</bondArray>
</molecule>
</cml>