{
  "id": 22894778,
  "title": "SMILES to PDBQT for AutoDock Vina — Worked Examples",
  "url": "https://urgent.news/2026/12/01/smiles-to-pdbqt-for-autodock-vina-worked-examples",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-12-01T03:37:48.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/_0a63a9baa4fb1573c27f8/smiles-to-pdbqt-for-autodock-vina-worked-examples-4j9o"
  },
  "original_language": null,
  "account": "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.\n\nFor 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.\n\nAspirin, 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.\n\nSodium 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.\n\nA 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.\n\nThe 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.",
  "summary": "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…",
  "summary_source": "publisher",
  "key_points": [
    "SMILES strings converted to PDBQT for AutoDock Vina using public API",
    "Ethanol conversion resulted in 3 atom records, all at origin, no hydrogen records",
    "Successful conversion of sodium acetate returned 2 ROOT/TORSDOF blocks with Na+ counter-ion"
  ],
  "editors_take": "Researchers must manually verify charges, protonation, and stereochemistry because automated SMILES conversions do not produce docking-ready files for use with AutoDock Vina.",
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}