molecular-io

Read and write molecular file formats with RDKit and Open Babel.

6|2|Updated Jun 11, 2026
One-click install
npx skills add https://github.com/pradyumnasagar/open-research-skills --skill molecular-io
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: molecular-io
Source: https://github.com/pradyumnasagar/open-research-skills/tree/main/skills/chemoinformatics/molecular-io
Command: npx skills add https://github.com/pradyumnasagar/open-research-skills --skill molecular-io

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rdkit, openbabel, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides robust molecular file I/O operations, addressing issues with aromaticity, stereochemistry, and implicit/explicit hydrogens in chemical file formats.

Core Features & Use Cases

  • File Reading: Reads and converts various molecular file formats like SMILES, InChI, SDF, MOL2, PDB, etc.
  • Aromaticity and Stereochemistry Handling: Ensures accurate aromaticity perception and stereochemistry representation.
  • File Writing: Writes and converts molecular files to various formats.
  • Use Case: Ideal for chemists and researchers needing to standardize and prepare molecules for further analysis or computational studies.

Quick Start

Load the molecular-io skill and parse the molecule with SMILES: parse_smiles_safe('CCO').

Frequently Asked Questions about molecular-io

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

FAQPage Schema
How do I convert molecular file formats like SMILES and SDF for computational chemistry tasks?

You can convert molecular file formats like SMILES, InChI, SDF, MOL2, and PDB using RDKit and Open Babel. This approach handles reading and writing operations while ensuring accurate aromaticity perception and stereochemistry representation.

Why does my molecular file conversion lose aromaticity and stereochemistry information?

Molecular file conversion often loses aromaticity and stereochemistry due to implicit hydrogen handling and format differences. Using RDKit and Open Babel addresses these issues by ensuring accurate aromaticity perception and stereochemistry representation during I/O operations.

Can I use RDKit and Open Babel together to standardize molecules for computational studies?

Yes, you can use RDKit and Open Babel together to standardize molecules for computational studies. This combination handles aromaticity, stereochemistry, and implicit/explicit hydrogens, making it ideal for preparing molecules for further analysis.

What is the best way to handle implicit and explicit hydrogens when parsing SMILES?

The best way to handle implicit and explicit hydrogens when parsing SMILES is to use a molecular I/O library like RDKit. It provides safe parsing functions, such as `parse_smiles_safe`, which explicitly manage hydrogen counts and aromaticity.

Does this molecular I/O approach support reading and writing PDB and MOL2 files?

Yes, this molecular I/O approach supports reading and writing PDB and MOL2 files, alongside SMILES, InChI, and SDF formats. It leverages RDKit and Open Babel to manage the specific structural nuances of each format.

How do I prepare molecules for computational analysis when dealing with inconsistent chemical file formats?

To prepare molecules for computational analysis from inconsistent formats, use a molecular I/O tool to standardize inputs. Converting files through RDKit and Open Babel normalizes aromaticity, stereochemistry, and hydrogen handling across SMILES, SDF, and PDB.