mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 06:02:18 +02:00
obabel: add page (#10096)
* obabel: add page --------- Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
This commit is contained in:
parent
1157c05ab8
commit
3025f8c215
1 changed files with 20 additions and 0 deletions
20
pages/linux/obabel.md
Normal file
20
pages/linux/obabel.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# obabel
|
||||
|
||||
> Translate chemistry-related data.
|
||||
> More information: <https://openbabel.org/wiki/Main_Page>.
|
||||
|
||||
- Convert a .mol file to XYZ coordinates:
|
||||
|
||||
`obabel {{path/to/file.mol}} -O {{path/to/output_file.xyz}}`
|
||||
|
||||
- Convert a SMILES string to a 500x500 picture:
|
||||
|
||||
`obabel -:"{{SMILES}} -O {{path/to/output_file.png}} -xp 500`
|
||||
|
||||
- Convert a file of SMILES string to separate 3D .mol files:
|
||||
|
||||
`obabel {{path/to/file.smi}} -O {{path/to/output_file.mol}} --gen3D -m`
|
||||
|
||||
- Render multiple inputs into one picture:
|
||||
|
||||
`obabel {{path/to/file1}} {{path/to/file2}} -O {{path/to/output_file.png}}`
|
Loading…
Add table
Reference in a new issue