coot-rdkit

Convert Coot monomers to RDKit molecules and generate SVG diagrams.

166|59|Updated Aug 24, 2015
One-click install
npx skills add https://github.com/pemsley/coot --skill coot-rdkit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coot-rdkit
Source: https://github.com/pemsley/coot/tree/main/mcp/docs/skills/rdkit
Command: npx skills add https://github.com/pemsley/coot --skill coot-rdkit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables RDKit molecular manipulation and visualization inside Coot's Python environment, helping researchers streamline ligand editing, structure validation, and 2D diagram generation directly within their modeling workflow.

Core Features & Use Cases

  • RDKit molecule creation from Coot monomers: Convert monomer codes to RDKit molecules for analysis and editing.
  • Atom substitution and structural modifications: Perform targeted atom replacements within RDKit molecules to explore design options.
  • 2D structure regeneration and visualization: Generate clean 2D coordinates and SVG diagrams for inspection and reporting.
  • Use Case: A structural biologist needs to modify a bound ligand and generate a publication-ready 2D diagram from within Coot without exporting intermediate files.

Quick Start

Load a monomer from Coot, convert it to an RDKit molecule, perform an atom substitution, regenerate 2D coordinates, and render an SVG diagram.

Frequently Asked Questions about coot-rdkit

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

FAQPage Schema
How do I convert a Coot monomer to an RDKit molecule for ligand modification?

To convert a Coot monomer to an RDKit molecule, use the coot_headless_api to load the monomer code and create an RDKit molecule instance. This enables direct atom substitution and structural modifications within Coot's Python environment.

Can I generate 2D SVG diagrams of ligands directly inside Coot?

Yes, you can generate 2D SVG diagrams inside Coot by creating an RDKit molecule from a monomer, performing modifications, and regenerating 2D coordinates. This produces clean SVG output for inspection and publication-ready reporting without exporting files.

Does RDKit work with Coot for structure validation and atom substitutions?

RDKit works with Coot by leveraging the coot_headless_api to create RDKit molecules from Coot monomers. This integration allows researchers to perform targeted atom replacements and validate structures directly within their modeling workflow.

What is the best way to edit a bound ligand and generate a 2D diagram without exporting intermediate files?

The best way to edit a bound ligand without exporting files is using RDKit inside Coot's Python environment. You can load the monomer, perform atom substitutions, regenerate 2D coordinates, and render an SVG diagram entirely within the session.

Do I need the coot_headless_api to manipulate molecules with RDKit in Coot?

Yes, the coot_headless_api is required alongside the RDKit library to manipulate molecules in Coot. It provides the necessary interface to load Coot monomers and convert them into RDKit molecule objects for subsequent structural modifications.

Why generate new 2D coordinates after performing atom substitutions in RDKit?

Generating new 2D coordinates after atom substitutions is necessary because structural modifications invalidate existing layouts. Regenerating 2D coordinates ensures the molecule's 2D diagram remains visually accurate and chemically valid for SVG rendering.