Urgent.News

What's breaking now, across hundreds of outlets.

Tech

SMILES to PDBQT for AutoDock Vina — Worked Examples

SMILES to PDBQT for AutoDock Vina — Worked Examples AutoDock Vina and AutoDock 4 do not read SMILES. They expect a PDBQT file: 3D coordinates, AutoDock atom types, partial charges, and a tree of rotatable bonds. Turning a SMILES string into that file looks like a format conversion. The examples below show what one public API actually returned, and which parts of ligand preparation that file still…

The article demonstrates how to convert SMILES strings to PDBQT files for use with AutoDock Vina. AutoDock Vina and AutoDock 4 do not understand SMILES; they require a PDBQT file containing 3D coordinates, atom types, partial charges, and a tree of rotatable bonds. A public API was used to perform the conversion, with the input ethanol as CCO, SMILES, and no additional options.

The resulting PDBQT contained three atom records, all at the origin, with no hydrogen records, all charges +0.000, and a TORSDOF value of 0. The conversion was successful, but the file was not docking-ready.

For ethanol with --gen3d, the API returned four atom records and a 3D layout, with the carbon–carbon bond in the ROOT and the hydroxyl as a BRANCH. The AutoDock types were C, C, OA, and a polar hydrogen HD, with all charge columns still +0.000. TORSDOF was 1, indicating a single active torsion. The REMARK header listed 2 active torsions, but this count differs from the TORSDOF value.

Aspirin, with the SMILES CC(=O)Oc1ccccc1C(=O)O, was protonated in carboxylic acid form. The convert call with --gen3d returned a 3D PDBQT with 14 atom records, 4 active torsions, and 5 BRANCH sections. The output kept the carboxylic acid hydrogen, and the molecule was not switched to a carboxylate. Ibuprofen, with the SMILES CC(C)Cc1ccc(cc1)C(C)C(=O)O, also returned a 3D PDBQT without specifying the stereochemistry at the alpha carbon. The generator placed the chiral centre without specifying an enantiomer.

Sodium acetate, CC(=O)[O-].[Na+], returned HTTP 200 and a log indicating a successful conversion. The PDBQT contained two ROOT/TORSDOF blocks, with the acetate fragment having a TORSDOF of 0. The sodium was not stripped automatically, and the file still contained the sodium counter-ion.

A failed parse, with the input string "NotAMolecule" and --gen3d, resulted in an HTTP 422 response, stating "Conversion failed" and providing an Open Babel error message. The status was specific to this input string and indicated that a non-molecule string comes back as an error, not as an empty ligand.

The article concludes by emphasizing that successful PDBQT files still require further checks for accurate preparation. These checks include ensuring the presence of 3D coordinates (added only with --gen3d), charges (set to +0.000 in the examples), protonation (based on the SMILES), stereochemistry (not automatically handled), salts (counter-ions remaining in the file), and torsions (TORSDOF, BRANCH tree, and REMARK count not always matching).

AutoDock Vina only converts a ligand SMILES to a starting geometry, which is not an ensemble of force-field-optimized conformers.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Why Shopify Sends a Green "Import Complete" Email Right Before Ghost SKUs Burn $1,048 in Stripe Fees

When a supplier emails a Friday afternoon catalog update, Shopify's green "Import complete" confirmation email only tells you that the rows inside the uploaded file were parsed without syntax errors.

  • Shopify's green email fails to inform about discontinued SKUs.
  • 40 discontinued items slip through unnoticed in Friday catalog updates.
  • Refunds from cancelled orders incur non-refundable Stripe fees.

How to Choose Self-Storage Management Software

A self-storage facility looks simple from the outside: rows of units, a gate and an office. Behind that, owners juggle unit availability, move-ins and move-outs, recurring rent, late fees, gate codes…

  • Self-storage management involves tracking units, move-ins, rent collection, and tenant payments.
  • Software should enable online tenant reservations and electronic lease agreements.
  • Key reports include occupancy, revenue, delinquency aging, and move-ins/move-outs.

More from Tuesday, 1 December 2026 →