OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Difflinker

DiffLinker is an open-source Python implementation of an equivariant 3D-conditional diffusion model that designs molecular linkers between disconnected 3D fragments, with generation that can be conditioned on a protein pocket.

Independent OpenViST project profile, based on linked sources.

Difflinker — Fragment-based molecular linker generation in 3D
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use DiffLinker when you have molecular fragments in a supported file format and want to generate connecting structures, either without a protein pocket or with a documented pocket-conditioned workflow.

Who it is for

  • Researchers working on fragment-based drug discovery.
  • Computational chemistry teams exploring 3D molecular generation around protein pockets.

Documented uses

  • Generate candidate molecular structures connecting supplied 3D fragments.
  • Explore linker generation conditioned on a protein pocket.
  • Use a local Python implementation and provided model checkpoints for molecular-generation research.
Before you choose

Requirements & limits

The implementation is published in a public repository under an MIT license and includes a link to a Hugging Face Space demo.

  • The fragment-only workflow uses both a DiffLinker checkpoint and a size GNN checkpoint.
  • Pocket-conditioned workflows require a desired linker size rather than predicting or sampling it.
  • Pocket inputs can be derived from a full protein structure or supplied as a prepared pocket; a backbone-atom mode is also documented.
  • The README lists a tested environment including Python 3.10.5, CUDA 10.2.89, PyTorch 1.11.0, PyTorch Lightning 1.6.3 and OpenBabel 3.0.0.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Generate linkers without a protein pocket

Prepare the documented GEOM model files and invoke the fragment-only linker-generation script.

Before you start

  • A Conda environment configured using the repository's environment.yml, or a manually assembled environment with the listed dependencies.
  • Molecular fragments in SDF, PDB, MOL or MOL2 format.
  • The GEOM DiffLinker and GEOM size GNN checkpoints.

Steps

  1. Create a models directory.

  2. Download the GEOM DiffLinker checkpoint and GEOM size GNN checkpoint into models.

  3. Run generate.py with the fragment path and the two checkpoint paths.

Expected outcome

The documented command invokes DiffLinker to generate linkers for the supplied fragments.

Guide limitations

  • This workflow does not use protein-pocket conditioning.
  • The README recommends GEOM models as the most generic and does not describe the generated result as experimentally validated.
Source-based practical guide

Generate linkers using a protein pocket

Invoke the documented full-atomic pocket workflow with a protein structure and fragment input.

Before you start

  • A Conda environment configured using the repository's environment.yml, or a manually assembled environment with the listed dependencies.
  • Fragment input in SDF, PDB, MOL or MOL2 format and a protein structure in PDB format.
  • The full-pocket DiffLinker checkpoint.
  • A desired linker size and comma-separated anchor indices.

Steps

  1. Create a models directory.

  2. Download the full-pocket DiffLinker checkpoint into models.

  3. Run generate_with_protein.py with the fragment path, protein path, checkpoint, desired linker size and anchor indices.

Expected outcome

The documented script runs pocket-conditioned linker generation using a protein structure from which the pocket is computed based on the input fragments.

Guide limitations

  • Pocket-conditioned generation does not predict or sample linker size; the README requires a desired size.
  • Anchor indices are required by the documented command; the README suggests using PyMOL's atom identifiers to obtain them.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
15 November 2026
Original website title
igashov/DiffLinker · Official homepage title · retained in its source language