Chemistry Toolkit Rosetta Wiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 lang="tcl">
+
<pre>
molfile write "benzodiazepine.sdf" [molfile open "benzodiazepine.smi"]
+
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]]
Please note that all contributions to the Chemistry Toolkit Rosetta Wiki are considered to be released under the CC-BY-SA
Cancel Editing help (opens in new window)