Skip to main content
Documentation

Complex prediction

Complex prediction answers the question: how exactly does a drug molecule sit inside a protein’s binding pocket? This 3D arrangement is called a binding pose, and knowing it is critical for designing better drugs.

What is molecular docking?

Imagine you have a lock (the protein pocket) and a key (the drug molecule). Molecular docking is the computational process of figuring out:

  1. Where the key fits into the lock (the binding site)
  2. How the key is oriented (the pose)
  3. How well the key fits (the binding energy)

Traditional docking programs (AutoDock, Glide) use physics-based scoring functions. AlphaFold 3 takes a fundamentally different approach: it uses deep learning trained on millions of known protein-ligand complexes.

How AlphaFold 3 works (simplified)

AlphaFold 3 uses a diffusion-based architecture. Here’s the simplified process:

  1. Input encoding — The protein sequence, ligand structure (SMILES), and any known templates are encoded into a joint representation.
  2. Pairwise attention — The model reasons about all pairwise interactions between protein residues and ligand atoms.
  3. Diffusion generation — Starting from random atom positions, the model iteratively refines the 3D coordinates through a denoising process (similar to how image diffusion models like DALL-E work, but in 3D).
  4. Confidence scoring — The model outputs confidence metrics for the prediction.

The semi-automated workflow

OpenDDE uses a semi-automated workflow for complex prediction due to AlphaFold Server’s terms of service:

  1. Prepare — Select a target and ligand in OpenDDE. Click “Predict complex”. OpenDDE generates an AlphaFold 3 job JSON file.
  2. Submit — Copy the JSON and submit it to the AlphaFold Server. This typically takes 5–30 minutes.
  3. Upload — Download the results (CIF file) from AlphaFold Server and upload them back to OpenDDE.
  4. Analyze — OpenDDE renders the complex in 3D and provides confidence metrics, contact analysis, and AI interpretation.

Why semi-automated? AlphaFold Server currently requires manual submission through their web interface. As API access becomes available, OpenDDE will automate this step entirely.

Understanding confidence scores

AlphaFold 3 provides several confidence metrics:

MetricRangeWhat it means
iPTM0–1Interface predicted TM-score. Measures confidence in the protein-ligand interface. Above 0.8 is high confidence; below 0.5 is unreliable.
pLDDT0–100Per-residue confidence. Above 90 is very high; 70–90 is confident; below 50 is low confidence (often disordered regions).
PAE0–31 ÅPredicted aligned error. Lower is better. Measures expected position error between residue pairs.

Limitations of predicted structures

  • Not experimental — Predicted complexes are computational models, not X-ray crystal structures. Always validate with experiments when possible.
  • Single conformation — The prediction shows one possible binding mode. In reality, the drug may bind in multiple orientations.
  • No water molecules — Water-mediated interactions are not explicitly modeled but can be important for binding.
  • Novel scaffolds — Predictions may be less reliable for molecules very different from the training data.
  • Flexible loops — Regions of the protein that are intrinsically disordered may be incorrectly positioned in the complex.

Next: Antibody modeling →