Description Usage Arguments Value Author(s) References See Also Examples
Converts compound data from one format to another.
1 | convertFormat(from, to, source)
|
from |
The format that |
to |
The format to convert |
source |
The initial compound format, as a string. The format of the string should be identical to the file format of the same name. Tabs and newlines may be represented with \t and \n, repsectivly. |
Returns the compound given in source
in the format specified by to
.
Kevin Horan
OpenBabel http://openbabel.org
1 | sdfStr = convertFormat("SMI","SDF","CC(=O)OC1=CC=CC=C1C(=O)O\ttest_name")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.