인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
디자인 및 창작 · SKILL.md

datamol

datamol

Guides agents using the datamol Python package for RDKit-first molecular IO, preparation, fingerprints, similarity, structure generation, visualization, and utility workflows.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: datamol description: "Guides agents using the datamol Python package for RDKit-first molecular IO, preparation, fingerprints, similarity, structure generation, visualization, and utility workflows." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Datamol Repo Skill

Use this skill when a task names datamol, asks for RDKit-first molecule processing in Python, or needs practical guidance for molecular IO, standardization, fingerprints, descriptors, clustering, conformers, scaffolds, reactions, isomers, visualization, or datamol utility helpers.

Datamol is a Python layer on top of RDKit. Assume user-facing objects are usually rdkit.Chem.Mol instances, SMILES strings, pandas dataframes, NumPy arrays, or small molecule files such as SDF/SMI/CSV/XLSX.

Install And Import

Prefer the public package install used by the project:

mamba install -c conda-forge datamol
# or, when conda is unavailable:
python -m pip install datamol

Minimal import check:

import datamol as dm
mol = dm.to_mol("CCO")
assert dm.to_smiles(mol) == "CCO"

Run scripts/check_datamol_environment.py when an environment, RDKit install, optional dependency, or basic API smoke check is uncertain.

Choose A Sub-Skill

  • Use sub-skills/molecule-io-prep/SKILL.md for molecule construction, SMILES/InChI/SMARTS/SELFIES conversion, SDF/CSV/XLSX/dataframe IO, standardization, sanitization, salts/solvents, properties, bundled toy datasets, and molar unit helpers.
  • Use sub-skills/fingerprints-similarity/SKILL.md for fingerprints, descriptors, fingerprint arrays, pairwise or cross-distance matrices, clustering, diversity/centroid picking, MCS, and molecular graph matching.
  • Use sub-skills/structure-generation/SKILL.md for conformers, 3D features, alignment, atom reordering, fragmentation, assembly, scaffolds/fuzzy scaffolds, reactions, attachments, tautomers, stereoisomers, and structural isomers.
  • Use sub-skills/visualization-utilities/SKILL.md for molecule grids, SVG/PNG rendering, substructure or lasso highlighting, dataframe rendering, existing conformer display, filesystem helpers, parallel jobs, RDKit log control, and diagnostics.

Common Workflow Order

  1. Start in molecule-io-prep to parse inputs, sanitize/standardize molecules, preserve properties, and choose dataframe/file formats.
  2. Move to fingerprints-similarity when the next step needs numeric descriptors, distance matrices, clusters, diversity selection, MCS, or graph correspondence.
  3. Move to structure-generation when the task creates new chemistry or 3D structures through conformers, fragments, scaffolds, reactions, or isomer enumeration.
  4. Move to visualization-utilities when the output needs images, highlights, notebook/file rendering, parallel utility helpers, fsspec checks, or RDKit logging control.

Read references/capability-map.md for natural task phrases and the owning sub-skill. Read references/troubleshooting.md for cross-cutting install/import, RDKit, file-format, optional dependency, and workflow routing failures.

Safety Defaults

  • Keep examples small and deterministic until molecule parsing, sanitization, and output formats are verified.
  • Bound expensive or combinatorial chemistry with small n_confs, n_variants, timeout, timeout_seconds, depth, max_n_mols, num_threads=1, and n_jobs=1 first.
  • Treat network files, cloud URIs, notebook widgets, and optional renderers as environment-specific; validate them with the nearest troubleshooting reference before relying on them.
  • Prefer SVG output for deterministic visual artifacts and use PNG/Pillow only when the caller explicitly needs raster output.
  • Preserve row identifiers, molecule properties, and invalid-row handling explicitly when converting between dataframes and molecule files.

Bundled Checks

Each script supports --help and uses only tiny local examples by default.

Provenance And Refresh

Read references/repo-provenance.md before deciding whether this skill is current for a datamol checkout. If the current commit, dirty state, package metadata, or major evidence paths differ from that snapshot, run refresh-repo-skill before relying on stale API details.

저장한 Skills