openbabel

Convert chemical structures between over 110 file formats and generate 3D coordinates.

19|2|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/tondevrel/scientific-agent-skills --skill openbabel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openbabel
Source: https://github.com/tondevrel/scientific-agent-skills/tree/main/skills/openbabel
Command: npx skills add https://github.com/tondevrel/scientific-agent-skills --skill openbabel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of interoperability between the myriad of chemical file formats, enabling seamless data conversion and manipulation for computational chemistry tasks.

Core Features & Use Cases

  • Format Conversion: Convert between over 110 chemical file formats (SMILES, SDF, PDB, CIF, Gaussian, etc.).
  • 3D Structure Generation: Create 3D coordinates from 2D structures or SMILES strings.
  • Substructure Searching: Identify specific molecular patterns using SMARTS.
  • Force Field Calculations: Perform basic molecular mechanics optimizations.
  • Use Case: Convert a large library of molecules from SDF format to PDB format, adding hydrogens and generating initial 3D coordinates for each.

Quick Start

Use the openbabel skill to convert the file 'molecule.sdf' to 'molecule.pdb'.

Frequently Asked Questions about openbabel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert SMILES strings to PDB files for molecular modeling?

You can convert SMILES to PDB files using this universal chemical data translator, which supports over 110 file formats. It generates 3D coordinates directly from 2D structures or SMILES strings for molecular modeling tasks.

What is the best way to convert a large SDF library to PDB while adding hydrogens?

The best way to convert a large SDF library to PDB while adding hydrogens is using high-throughput format translation via OBConversion. This process simultaneously generates initial 3D coordinates for each molecule in the library.

Can I search for specific molecular substructures using SMARTS patterns?

Yes, you can search for specific molecular substructures using SMARTS patterns. The chemical data translator supports substructure searching to identify targeted molecular patterns across your converted chemical data files.

Does this tool support force field calculations for molecular optimization?

Yes, this tool supports basic force field calculations for molecular optimization. It performs basic molecular mechanics optimizations alongside its primary functions of chemical file conversion and 3D structure generation.

How do I generate 3D molecular structures from 2D chemical formats?

To generate 3D molecular structures from 2D chemical formats, apply the 3D structure generation feature. It creates 3D coordinates from 2D structures or SMILES strings, facilitating computational chemistry tasks and molecular modeling.

Do I need Python knowledge to use pybel for chemical file conversion?

Python knowledge is beneficial but not strictly required, as the tool utilizes pybel for a Pythonic interface and OBConversion for high-throughput format translation. This facilitates interoperability between over 110 chemical file formats.