gnina
Docking with a deep-learning scoring function, derived from smina and Vina.
Tool 078 of 100 in the MolForge directory of open-source tools. Every fact below was read from the repository's host on 2026-11-28.

What gnina is
gnina is a docking program that scores ligand poses with convolutional neural networks (CNNs). The protein-ligand complex is converted into a three-dimensional grid of atom densities, one channel per atom type, and a network trained on known complexes predicts whether the pose is correct and how strongly the ligand binds. gnina is a fork of smina, itself a fork of AutoDock Vina, so the pose search and most command-line options are inherited; the networks are used to rescore the final poses or to guide the search.
Inputs are a receptor and ligands in SDF, MOL2, PDB or PDBQT format, read through Open Babel, with the search box typically defined by a reference ligand with the autobox option. Each output pose carries a CNN pose score, a CNN affinity prediction and the Vina score, written to SDF. CNN scoring is implemented in CUDA and is designed to run on an NVIDIA GPU; pre-built binaries and Docker images are provided.
Because gnina shares smina's engine, a run with CNN scoring switched off behaves like smina. The networks were trained on crystal complexes, so results for unusual chemistry or targets outside the training data should be read with care.
Features
- Inherits smina's search engine and options, including autobox_ligand for the search box
- Scores poses with ensembles of 3D convolutional neural networks on voxelised complexes
- Reports CNN pose score, CNN affinity and Vina score for each pose
- Selectable CNN modes: rescore final poses, refine during search, or none
- Reads receptors and ligands in SDF, MOL2, PDB and PDBQT through Open Babel
- Flexible receptor side chains chosen by distance from the ligand
- Score-only and minimise modes for evaluating poses from other programs
What it is for
- Dock ligands and rank poses with CNN scoring rather than an empirical function alone
- Rescore poses produced by Vina or another docking program
- Run virtual screening on a workstation with a CUDA GPU
- Compare Vina and CNN rankings of the same compound set
Verified facts
| Family | Docking and virtual screening |
|---|---|
| Language or basis | C++, CUDA |
| Repository | https://github.com/gnina/gnina (GitHub) |
| Licence | Apache-2.0 (SPDX identifier as declared in the repository) |
| Main language on GitHub | C++ |
| Last commit | 2026-10-30 |
| Latest release | v1.3.3 (2026-06-29) |
| Stars | 1,036 on 2026-11-28 |
| Open issues and pull requests | 27 on 2026-11-28 |
| Repository created | 2015-11-04 |
| Verified | 2026-11-28 by MolForge's checking script, against the host's API |
Where gnina fits
Place ligands in binding sites and score the poses.
Questions people ask
- Does gnina need a GPU?
- In practice, yes. CNN scoring is written in CUDA and a CPU fallback exists only for small tests. For docking with CNN rescoring or refinement at any scale, an NVIDIA GPU is expected. The project distributes a pre-built Linux binary and Docker images, which avoids compiling the CUDA and Caffe-derived dependencies yourself.
- How is gnina different from AutoDock Vina or smina?
- Same pose search lineage, different scoring. Vina uses its empirical function; smina added custom scoring terms and convenience options such as autobox; gnina adds neural networks that judge poses from a grid representation and predict affinity. gnina can run with CNN scoring disabled, in which case it behaves like smina, so the three can be compared on identical inputs.
- Can gnina score a pose I already have?
- Yes. The score_only option takes a receptor and ligand poses and returns the CNN pose score, CNN affinity and Vina terms without searching; the minimize option additionally performs a local optimisation. This is the usual way to rescore poses generated by other docking programs or taken from crystal structures.
- What do CNNscore and CNNaffinity mean?
- CNNscore is the network's probability-like estimate that a pose is close to the experimentally observed one. CNNaffinity is a predicted binding affinity expressed in logarithmic units. Both are model predictions, not measurements; by default poses are ranked by CNNscore, and the Vina score is still reported for reference.
- Is gnina open source?
- Yes. The repository declares the Apache-2.0 licence (SPDX identifier read from the host on 2026-11-28). Read the licence text in the repository before redistributing or embedding it.
- Where is the gnina source code?
- At https://github.com/gnina/gnina (GitHub). This is the address the host reported on the day of verification; renamed repositories are followed to their new home.
- Is gnina still maintained?
- The last commit was pushed on 2026-10-30 and the latest tagged release is v1.3.3 from 2026-06-29; the repository had 27 open issues and pull requests on 2026-11-28.
- Does MolForge use gnina?
- No. MolForge runs nine of the hundred tools in this directory (RDKit, OpenMM, AutoDock Vina, Open Babel, MDTraj, pymbar and NGL, plus PySCF and xTB in MFsig); gnina is listed because of its place in docking and virtual screening, not because we run it.
Our comments on gnina
MolForge does not run gnina in production. This page is a verified pointer, not a review: the facts above come from the repository on the date shown, the description is ours, and we make no claim about accuracy or speed that we have not measured. If you maintain gnina and something here is wrong or out of date, write to hello@molforge.ai and we will correct the source file.
Test status
Not tested by MolForge. To check gnina yourself: clone the repository, follow the installation section of its README, and run the test suite the project ships before trusting a result; the last-commit date and the open issue count above tell you how alive the project is.