Edit Page
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 216: | Line 216: | ||
==Cactvs/Tcl== |
==Cactvs/Tcl== |
||
− | <pre |
+ | <pre> |
− | molfile write "benzodiazepine.sdf" [molfile open |
+ | molfile write "benzodiazepine.sdf" [molfile open benzodiazepine.smi] |
</pre> |
</pre> |
||
Yup, it's a one-liner. 2D coordinates and wedges are automatically generated, and aromaticity resolution is also implicit. The format of the output file is, in the absence of a specific format setting, decoded from the suffix of that file. |
Yup, it's a one-liner. 2D coordinates and wedges are automatically generated, and aromaticity resolution is also implicit. The format of the output file is, in the absence of a specific format setting, decoded from the suffix of that file. |
||
− | |||
− | ==Cactvs/Python== |
||
− | |||
− | A one-liner as well: |
||
− | <pre lang="python"> |
||
− | Molfile.Write('benzodiazepine.sdf',Molfile('benzodiazepine.smi')) |
||
− | </pre> |
||
[[Category:SMILES]] |
[[Category:SMILES]] |
||
[[Category:SDF]] |
[[Category:SDF]] |
||
[[Category:Chemistry perception]] |
[[Category:Chemistry perception]] |
||
[[Category:Indigo/C++]] |
[[Category:Indigo/C++]] |
||
+ | [[Category:RDKit/Python]] |
||
[[Category:RDKit/Python]] |
[[Category:RDKit/Python]] |
||
[[Category:Cactvs/Tcl]] |
[[Category:Cactvs/Tcl]] |