Skip to main content
AutoDock Vina Affinity
License: This constraint can use multiple tools, each under its own license. See the Tools Used tab and each tool’s page for license details.

This constraint is open source. Any third-party models, product names, or trademarks referenced are the property of their respective owners, and Proto is not affiliated with them.


ProtoProtoevo-design/proto-language
View source
Constraint contributors
Dock the configured ligand into each proposal’s prepared structure with AutoDock Vina.

API Reference

ConfigVinaAffinityConfig Source
Configuration for the AutoDock Vina docking-affinity constraint.
string
required
Ligand SMILES, or a path to a .smi/.sdf file holding one molecule (read into its SMILES).
Explicit box or reference-ligand box, in the prepared structures’ frame.
number
default:"-10.0"
Best-pose Vina affinity (kcal/mol) at or below which the score is 0.
number
default:"10.0"
kcal/mol above target_affinity at which the score reaches 1.0.
VinaDockingConfig
AutoDock Vina tool configuration.
StructurePreparationConfig
How to obtain each proposal’s receptor; must share the search box’s frame.
ReturnsConstraintOutput
One per proposal. score is (affinity - target_affinity) / affinity_tolerance clipped to [0, 1], where affinity is the best pose’s Vina score. metadata carries affinity, pose_affinities (all returned poses, best first), best_pose_sdf and vina_seed.

Usage

python

Metadata