Open Babel: Difference between revisions

use the commands template
(Marked this version for translation)
(use the commands template)
Line 14: Line 14:


==== Example ==== <!--T:4-->
==== Example ==== <!--T:4-->
{{Commands
| module load openbabel
| wget "https://www.chemspider.com/FilesHandler.ashx?type{{=}}str&3d{{=}}yes&id{{=}}171" -O acetic_acid.mol
| obabel  -i mol  acetic_acid.mol  -o pdb  -O acetic_acid.pdb
}}


<!--T:5-->
Notes:
module load openbabel
* The <code>wget</code> command downloads <code>acetic_acid.mol</code> as an example file.
* The <code>obabel</code> command converts this molecule from the <code>.mol</code> format to the <code>.pdb</code> format.
# download acetic_acid.mol as an example file:
wget "https://www.chemspider.com/FilesHandler.ashx?type=str&3d=yes&id=171" -O acetic_acid.mol
# convert from .mol format to .pdb format:
obabel  -i mol  acetic_acid.mol  -o pdb  -O acetic_acid.pdb


== <code>openbabel-omp</code> == <!--T:6-->
== <code>openbabel-omp</code> == <!--T:6-->
cc_staff
653

edits