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.

gnina, open-source tool for docking and virtual screening: Docking with a deep-learning scoring function, derived from smina and Vina.

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

What it is for

Verified facts

FamilyDocking and virtual screening
Language or basisC++, CUDA
Repositoryhttps://github.com/gnina/gnina (GitHub)
LicenceApache-2.0 (SPDX identifier as declared in the repository)
Main language on GitHubC++
Last commit2026-10-30
Latest releasev1.3.3 (2026-06-29)
Stars1,036 on 2026-11-28
Open issues and pull requests27 on 2026-11-28
Repository created2015-11-04
Verified2026-11-28 by MolForge's checking script, against the host's API

Where gnina fits

Place ligands in binding sites and score the poses.

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.

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.

Guides that explain the methods

Other tools in docking and virtual screening