gnina
Docks small molecules into a receptor and rescores the poses with a convolutional neural network.
Model ID gnina
How it works
gnina keeps AutoDock Vina's search and rescores poses with an ensemble of CNN scoring functions. Send receptor_pdb and ligands: a multi-molecule SDF (3D coordinates, recommended) or, with ligands_format: "smi", one SMILES per line, at most 500 molecules per job. Define the search box with exactly one of autobox_ligand_pdb (a reference ligand) or center (with an optional size in angstroms). Arca runs version 1.3.3 and batches the whole file through one process.
Settings
settings of POST /submit-job and POST /validate-job with "type": "gnina". Unknown fields are refused, and an optional field you leave out takes the model's own default. GET /tools/gnina/schema returns the same fields as JSON Schema.
| Field | Type | Required | Limits |
|---|---|---|---|
receptor_pdb | string | yes | up to 3,000,000 characters |
ligands | string | yes | up to 5,000,000 characters |
ligands_format | string | no | sdf, smi |
autobox_ligand_pdb | string | no | up to 1,000,000 characters |
center | array | no | exactly 3 items |
size | array | no | exactly 3 items |
exhaustiveness | integer | no | 1 to 64 |
num_modes | integer | no | 1 to 20 |
seed | integer | no | 0 to 2147483647 |
receptor_pdb: the receptor's PDB text.ligands: a multi-molecule SDF (3D coordinates, recommended) or, withligands_format: "smi", oneSMILES nameper line.- The search box: exactly one of
autobox_ligand_pdb(a reference ligand) orcenter(three numbers, with optionalsizein angstroms). exhaustiveness,num_modes,seed.
Example request
Two SMILES into a box centred on ubiquitin, which has no real pocket: it demonstrates the call, so use your own receptor and box. Send it to validate-job for a quote, then to submit-job.
{
"jobName": "dock-demo",
"type": "gnina",
"settings": {
"receptor_pdb": "$pdb",
"ligands": "c1ccccc1 benzene\nCCO ethanol",
"ligands_format": "smi",
"center": [30.4, 29, 15.5],
"size": [20, 20, 20]
}
}
"$pdb" stands for the text of 1UBQ.pdb (https://files.rcsb.org/download/1UBQ.pdb); send the file's contents as the string.
Result files
Checked against a real result.
poses.sdf(SDF): Docked poses, one record per pose. Scores are SD data fields on each record.result.json(JSON):n_ligands,gpu_secondsand gnina's exit coderc(0 is success).
Scores:
-
CNN_VS(poses.sdf,sdf:CNN_VS; higher is better): gnina's virtual-screening rank: CNNscore times CNNaffinity. Rank by it. -
CNNscore(poses.sdf,sdf:CNNscore; higher is better): The CNN's probability that the pose is a good one, 0-1. -
CNNaffinity(poses.sdf,sdf:CNNaffinity; higher is better): Predicted binding affinity as pK (larger is tighter). -
minimizedAffinity(poses.sdf,sdf:minimizedAffinity; lower is better): Vina-style energy of the minimized pose, kcal/mol. -
The receptor is not returned (you sent it). Open
poses.sdftogether with your receptor PDB.
Runtime and limits
A job gets at most 1,800 seconds of run time unless you send maxRuntimeS (up to 3,600 seconds with added credit); its maximum cost is held at that cap. On the free tier the cap is 600 seconds, shorter than this default, and a maxRuntimeS above it is refused as tier_limit: add credit for longer jobs. 8 ligands at the default exhaustiveness is estimated at $0.02376 (about 50 seconds); POST /validate-job quotes your own request for free. See Pricing.
Licence
Code dual-licensed GPL-2.0 or Apache-2.0 (the GPL comes from OpenBabel); weights Apache-2.0. Arca runs gnina as a network service and distributes no binary, so the GPL's source obligations are not triggered by using this API. If you obtain the binary yourself, its licence terms apply to you.
Limits of the model
The 1.0 paper reports top-pose success rising from 58% to 73% on redocking and from 27% to 37% on cross-docking over Vina, with a defined pocket; those are the authors' numbers. Scores rank poses, they do not measure binding in the lab.