38,760
edits
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 12: | Line 12: | ||
==== Example ==== | ==== Example ==== | ||
{{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 | |||
}} | |||
Notes: | |||
* 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. | |||
For further information on how to use Open Babel, please refer to the | |||
[https://openbabel.org/docs/ Open Babel User Guide] | |||
== <code>openbabel-omp</code> == | == <code>openbabel-omp</code> == | ||
Line 66: | Line 70: | ||
>>> from openbabel import pybel | >>> from openbabel import pybel | ||
>>> | >>> | ||