CAS2SMILES
a tool to get SMILES of compounds with CAS inputing.
Install / Use
/learn @Marissapy/CAS2SMILESREADME
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
- Yan Pan
- Contact: yanpan@zohomail.com
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
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
99.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
