SkillAgentSearch skills...

CAS2SMILES

a tool to get SMILES of compounds with CAS inputing.

Install / Use

/learn @Marissapy/CAS2SMILES
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

CAS to SMILES Converter

Description

This Python script reads a CSV file containing CAS numbers, retrieves the corresponding SMILES (Simplified Molecular Input Line Entry System) strings using the PubChem database, and outputs a new CSV file with the SMILES added as a new column.

Author

Features

  • Batch Processing: Handles multiple CAS numbers in a single CSV file.
  • Error Handling: Provides informative messages for missing CAS numbers or retrieval errors.
  • Flexible Configuration: Allows specifying the column name that contains CAS numbers.

Installation

Prerequisites

  • Python 3.x installed on your system.

Install Dependencies

Use pip to install the required Python libraries:

pip install pubchempy pandas

Related Skills

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated2mo ago
Forks1

Languages

Python

Security Score

70/100

Audited on Jan 17, 2026

No findings