跳转至

中文文档

Ligand Preparation Guide

This guide continues with the fixed project tutorial-1A2C-thrombin. The goal is to extract ligands from the 1A2C co-crystal structure, merge them into a ligand library, run ligand preparation, and produce reusable ligand assets for Uni-Dock docking, SAR, molecule generation, and downstream FEP workflows.

What this module does

  • Creates ligand assets from SMILES, SDF, MOL/MOL2/PDB uploads, or an empty library.
  • Displays molecules inside a ligand asset and supports single/multi-molecule selection, copy, delete, and edit actions.
  • Uses Ketcher 2D for drawing new molecules or modifying existing molecules.
  • Appends molecules to the current ligand asset, replaces the current molecule index, or saves a new ligand asset.
  • Runs wa-dd-ligand-prep-worker to generate prepared_ligand assets.
  • Prepares compatible ligand inputs for Uni-Dock/Vina, FEP/MD, and other downstream workflows.

1. Extract a ligand library from the 1A2C co-crystal structure

From the protein component list or focused 3D editor, extract co-crystal ligand components into a ligand asset. For 1A2C, use:

34H J:1
PRJ J:3
OAR J:4
TYS I:363 (optional, for recording the hirudin-related modified fragment)

Recommended ligand asset name:

1A2C co-crystal ligand library

The output is a ligand asset that can be extended, edited, prepared, or copied to another project.

2. Select the current ligand asset

Open Ligand Preparation. In the left-side ligand asset list, select:

1A2C co-crystal ligand library

The right workspace shows the current ligand asset, molecules inside the asset, the current molecule editor, and structure text. Always confirm the current ligand asset before appending or replacing molecules.

Ligand asset, molecule list, and editor

Asset sources are grouped as raw ligands, prepared ligands, docking poses, molecule-generation output, and FEP output. Each SDF asset can be opened directly in 3D or 2D; selected assets can be merged into one new SDF asset.

Browse ligand assets by source and open 2D or 3D previews from an asset card

The 2D workspace can choose displayed SDF properties, sort or filter by them, download selected records, and export them as a new SDF asset. Display and filtering do not modify the stored SDF.

2D workspace with SDF properties, sorting, filtering, molecule cards, and selected-record export

3. Edit an existing molecule

Choose a molecule in the Molecules in asset list, such as PRJ J:3 or OAR J:4.

Common actions:

  • Use for docking: set this molecule as the current docking ligand.
  • Edit: load the molecule into Ketcher.
  • Copy: append an identical molecule to the same ligand asset and load the copy into Ketcher.
  • Select one or more molecules and click Delete: remove unnecessary molecules in batch.

Copy-before-edit is the recommended workflow because it preserves the original co-crystal molecule.

3D conformer preview

Select Open 3D on an asset card to inspect conformers in its SDF. The right-side list supports selecting several molecules for simultaneous display; Tile selected separates those conformers for comparison without changing stored coordinates or hydrogens.

3D conformer preview with selected conformers tiled for comparison

4. Draw or modify molecules with Ketcher

Open the 2D Edit tab or the focused editor. Ketcher tools are on the left and bottom; the canvas is in the center; structure text and save actions are on the right.

Save strategies:

  • Append to current ligand asset: append the current drawing as a new molecule. After success, the canvas should clear so the next molecule can be drawn immediately.
  • Replace current molecule position: overwrite the selected molecule index with the current drawing.
  • Save as new ligand asset: create a new ligand asset without changing the original library.

If Ketcher cannot provide SMILES directly, the system keeps the MolBlock and lets RDKit/Open Babel parse and standardize it on the backend.

Ketcher 2D editing and save strategy

5. Run ligand preparation

In Ligand Preparation, select:

1A2C co-crystal ligand library

In Target use / export profile, choose the downstream route:

  • Uni-Dock/Vina: enable 3D conformers, explicit hydrogens, Gasteiger charges, torsion preparation, and PDBQT compatibility output.
  • FEP/MD: enable 3D conformers and explicit hydrogens, and keep force-field handoff metadata.

Recommended output name:

1A2C co-crystal ligands prepared

Click Generate prepared ligand asset. Production deployments use wa-dd-ligand-prep-worker, a CPU worker that does not require GPU or PyTorch. It bundles RDKit, Open Babel, Meeko, Dimorphite-DL, and gemmi.

The preparation workflow covers:

  • Salt stripping.
  • Target-specific neutralization, hydrogen handling, and charge assignment.
  • Target-specific 3D conformer generation.
  • MMFF/UFF optimization.
  • Tautomer recording.
  • Stereoisomer recording.
  • Vina/AutoDock mode additionally attempts PDBQT export; if the underlying tool fails, the SDF is kept and the reason is recorded in metadata.

The output is a prepared_ligand asset:

1A2C co-crystal ligands prepared

6. Use in docking tasks

Prepared prepared_ligand assets can be used directly on the Docking Tasks page. On the "Docking Tasks" page:

  • Protein asset: select the corresponding prepared_protein
  • Ligand asset: select the newly generated prepared_ligand or prepared_ligand_library
  • Pocket asset: select the corresponding pocket
  • Docking method: default Uni-Dock GPU

Click "Submit docking job" to start the docking calculation.

Name-based downstream asset selection

7. API automation chaining

Key ligand APIs:

POST /api/v1/assets/ligands/empty
POST /api/v1/assets/ligands/smiles
POST /api/v1/assets/upload
POST /api/v1/assets/ligands/{asset_id}/molecules
PUT  /api/v1/assets/ligands/{asset_id}/molecules/{index}
POST /api/v1/assets/ligands/merge
POST /api/v1/preparations/ligand
POST /api/v1/jobs

Automation chain:

ligand asset_id
  -> prepared_ligand asset_id
  -> prepared_protein asset_id + pocket asset_id
  -> docking job_id
  -> downstream result assets

8. Server6 Example: congeneric library, FEP output, and 2D/3D inspection

This example runs in the Example project on server6. The ligand preparation page is used to inspect the original congeneric library, the prepared library, the docking pose library, the molecule-generation library, and the FEP output SDF.

Ligand preparation: manage ligand assets by source

Ligand preparation: select ligand, target use, and preparation parameters

Steps:

  1. Open "Ligand Preparation".
  2. On the left, expand "Ligand source / assets" by source:
  3. Raw import / edit
  4. Prepared ligand
  5. Docking conformations
  6. Molecule generation
  7. FEP / MD output
  8. Select Example 1TA2 ligand 176 congeneric 72 analog library and click "Generate prepared ligand asset".
  9. Recommended preparation parameters: explicit hydrogens, generate 3D conformers, pH 7.4, MMFF/UFF optimization, compute chemical properties.
  10. After preparation, you get Example 1TA2 congeneric 72 analog library prepared for docking.
  11. After docking and FEP finish, return to the ligand preparation page to open:
  12. docking_pose_library: inspect the 3D conformer and docking score of each docking pose.
  13. fep_output: inspect the derived SDF with FEP fields.

3D standalone conformer preview: single- or multi-select SDF molecule records on the right

How to use 2D/3D results:

  • Open 2D: page through 2D structures; properties come from SDF properties and can be used for sorting, filtering, downloading selected SDF, or exporting a new asset.
  • Open 3D: inspect conformers inside an SDF. The right-side list supports single/multi-select, useful for comparing whether conformers land in a reasonable pocket position.
  • Load molecule table: load each SDF record into the main workspace, making it easy to select and edit by property.

Result interpretation:

  • Docking scores come from SDF properties such as WA_DD_DOCKING_SCORE.
  • The fep_output from a FEP dry-run keeps the structure and annotates planned edge information; real ΔΔG requires a full production FEP job.
  • The heavy / H shown on the page lets you quickly confirm whether explicit hydrogens are present. With prepare_for_docking enabled in molecule generation, the assets in this example already carry hydrogens.