| Codename | Explanation |
|---|
| | Basic options for aromatization and H atom adding/removal. |
| 0 | Do not include chirality (parity) and double bond stereo (cis/trans) information. Examples: "smiles:0" (not stereo), "smiles:a0" (aromatic, not stereo) |
| q | Obsolete option. Atom equivalences are checked by default using graph invariants at double bonds. Example: molconvert smiles -s "C/C=C(/C)C" results CC=C(C)C |
| ri | Smiles export rigorousness (i with the following values):
- 1. Export the most information from the molecule to SMILES or SMARTS format. Don't check anything.
- 5. Atoms, bonds and the molecule is checked for SMILES, SMARTS compatibility (default).
- 7. In addition to the checks in case of value 5, double bonds in alternating single and double bond chain are checked for correct export.
Example: Let molecule.mrv file contain the molecule CC=CC=CC=CC where the two side double bonds are in TRANS configuration but the middle one has no CIS, TRANS information (crossed double bond, or double bond with wiggly bond). molconvert smiles:r7 m.mrv will drop an Exception: "Nonstereo double bond between active CIS TRANS stereo bonds. Not possible to export it correctly to SMILES" molconvert smiles m.mrv results C\C=C\C=C\C=C\C (which is incorrect in the sense that the middle bond became TRANS configuration). |
| s | Write query smarts. (See query SMARTS for details.) |
| u | Write unique smiles (considering chirality info also [2]). Note: Use this option if you want unique smiles export. |
| h | Convert explicit H atoms to query hydrogen count. |
| Tf1:f2:... | Export f1, f2 ... SDF fields. The fields are separated by tab character. If '-' is given before the T option like '-Tf1:f2:...' then no header line is written. '*' character is used to export all fields (and name also) in the molecules. 'name' field is used to export molecule name (if no 'name' field in the molecule exists). |
| t | Export terminal atom with single_or_aromatic bond. Examples: instead of [#6]-c1ccccc1 export the molecule to [#6]c1ccccc1 instead of [#6]-[#6] export the molecule to [#6][#6] |
| n | Export molecule name (the first line of an MDL molfile). |
| Z | Use compressed format, and compress the SMILES string. Note that the compressed format is not recognized by the import, so it should be specified explicitly. |
| BOM | Write the UTF-8 byte order mark (BOM), if the given or the system's encoding is UTF-8. |