GeinDock Suite
Home › The 2D sketcher

The 2D sketcher

Drawing a compound, checking it as you go, and handing it straight to the docking workflow.

The 2D sketcher lets you draw a compound and hand it straight to the docking workflow, with no external drawing program and no file to move. Reach it from Draw Ligand in the ligand dialog, or from Editor › 2D Structure Sketcher, or with Ctrl+Shift+D.

The 2D structure editor with a molecule drawn
The sketcher. Tools on the left, canvas in the middle, and a panel on the right that reports the formula, weight, counts and line notation as you draw, with a validation list underneath.

The tool palette

Group What it holds
Select & ErasePointer, rectangle and lasso selection, selection of a whole fragment, and an eraser.
AtomsA general atom tool, then direct buttons for carbon, nitrogen, oxygen, sulfur, phosphorus, hydrogen, the halogens, boron and silicon, a button for any other element, and the two charge tools.
Bonds & StereoSingle, double, triple and aromatic bonds, solid and hashed wedges for stereochemistry, and a wavy bond for undefined configuration.
Rings & ChainsA chain tool and ready made rings from three to eight members, plus benzene and a five membered aromatic.
TemplatesA menu of complete scaffolds: the common carbocycles, and a long list of heterocycles from pyridine and imidazole through to indole, quinoline, purine and coumarin.
Start from a template whenever one fits. Drawing a quinoline atom by atom takes a dozen clicks and can go wrong. Placing the template takes one, and the aromatic system is guaranteed correct.

The toolbar

Group What it does
File and historyNew molecule, undo and redo.
ClipboardCut, copy, paste and delete the selection.
SelectionSelect all, deselect all, invert, and duplicate the structure.
GeometryClean up the 2D layout, rotate left or right, and flip horizontally or vertically.
ChemistryAromatise, kekulise, add hydrogens and remove hydrogens.
ViewZoom in and out, fit to canvas and centre the structure.
DisplayColour by element, show atom numbers, and show the alignment grid.
Clean 2D Structure is worth pressing before you finish. It regularises bond lengths and angles so that the drawing looks tidy, and it makes the structure easier to check for the mistake you did not know you had made.

The structure panel

The panel on the right updates continuously as you draw, and it is the quickest check that you have drawn what you meant.

Readout What to check
FormulaAgainst the compound you intended. A wrong hydrogen count usually means a valence problem.
WeightA second check on the same thing, and often the easier one to compare with a catalogue entry.
CountsAtoms, bonds, rotatable bonds and fragments. A fragment count above 1 means the drawing is in disconnected pieces, which is almost never intended.
SMILESThe canonical line notation for what is drawn. Copy it into your notes, or paste it into a database search to confirm the compound is what you think.

Rotate

The dial rotates the whole drawing. It snaps to 15 degree steps, holding Alt frees it, and the bracket keys step it. This is presentation only and changes no chemistry.

Validation

The validation list reports anything that would trouble the preparation step, graded by severity, with a Fix button for the problems that can be repaired automatically. A drawing that reports no problems is one the preparation step will accept.

Warnings do not block export, and that is deliberate. Some warnings are about genuinely unusual chemistry that you meant to draw. The panel tells you what it noticed and leaves the judgement to you, rather than refusing to proceed.

Importing and exporting

Command What it does
Import › From SMILESReads a line notation string and lays it out on the canvas. The fastest way to get a known compound in front of you for editing.
Import › From Molfile TextReads a pasted connection table.
Import › From FileReads a structure file from disk.
ExportWrites the drawing as line notation, a connection table, or an image.
Editing an existing compound is usually faster than drawing a new one. Import the parent by its line notation, change the substituent, and export. That also guarantees the scaffold is identical across a series, which matters when you are comparing docking scores within it.

Handing the structure to the workflow

Use Structure closes the sketcher and adds the drawing to the ligand list, where it is treated exactly like a file: the same table row, the same validity check, the same preparation options.

The sketcher opened from the ligand dialog
Opened from Draw Ligand, the sketcher hands its result straight back to the ligand list behind it.
A drawing has no three dimensional coordinates. What you draw is a flat structure. The preparation step in step 2 generates a conformer and minimises it, so leave Generate 3D coordinates and Energy minimization switched on when your ligands came from the sketcher.