1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.ko/linux/obabel.md

21 lines
703 B
Markdown
Raw Normal View History

# obabel
> 화학 관련 데이터를 변환합니다.
> 더 많은 정보: <https://open-babel.readthedocs.io/en/latest/Command-line_tools/babel.html>.
- .mol 파일을 XYZ 좌표로 변환:
`obabel {{경로/대상/파일.mol}} -O {{경로/대상/출력_파일.xyz}}`
- SMILES 문자열을 500x500 그림으로 변환:
`obabel -:"{{SMILES}}" -O {{경로/대상/출력_파일.png}} -xp 500`
- SMILES 문자열 파일을 개별 3D .mol 파일로 변환:
`obabel {{경로/대상/파일.smi}} -O {{경로/대상/출력_파일.mol}} --gen3D -m`
- 여러 입력을 하나의 그림으로 렌더링:
`obabel {{경로/대상/파일1 경로/대상/파일2 ...}} -O {{경로/대상/출력_파일.png}}`