<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20190208//EN" "https://jats.nlm.nih.gov/publishing/1.2/JATS-journalpublishing1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" article-type="research-article" dtd-version="1.2" xml:lang="en">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">IJPSDD</journal-id>
<journal-title-group><journal-title>International Journal of Pharmaceutical Sciences and Drug Designing</journal-title></journal-title-group>
<publisher><publisher-name>Thomson &amp; Ryberg Publications</publisher-name></publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="doi">10.62715/ijpsdd.2026.v1.i1.pp13-18</article-id>
<article-id pub-id-type="publisher-id">7678c4d85f</article-id>
<article-categories><subj-group subj-group-type="heading"><subject>Methodology Article</subject></subj-group></article-categories>
<title-group><article-title>Building a Docking and Free Energy Workflow With Open Source Tools for Teaching Laboratories</article-title></title-group>
<contrib-group>
<contrib contrib-type="author" corresp="yes"><name><surname>Parthasarathy</surname><given-names>Mateo</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1">*</xref></contrib>
<contrib contrib-type="author"><name><surname>Ortega</surname><given-names>Tunde</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib>
<contrib contrib-type="author"><name><surname>Nkosi</surname><given-names>Lucia</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref></contrib>
<aff id="aff1"><label>1</label>Department of Pharmacy, Rhine University Centre for Pharmacy, Netherlands</aff>
<aff id="aff2"><label>2</label>Department of Pharmacy, Achankovil School of Pharmacy, South Korea</aff>
<aff id="aff3"><label>3</label>Department of Pharmacy, Transylvanian Center for Pharmacy, Greece</aff>
</contrib-group>
<author-notes><corresp id="cor1">* Correspondence: <email>mateo.parthasarathy@rhine.edu</email></corresp></author-notes>
<pub-date pub-type="epub" iso-8601-date="2026-01-17"><day>17</day><month>01</month><year>2026</year></pub-date>
<volume>1</volume>
<issue>1</issue>
<fpage>13</fpage>
<lpage>18</lpage>
<history>
<date date-type="received" iso-8601-date="2025-10-02"><day>02</day><month>10</month><year>2025</year></date>
<date date-type="accepted" iso-8601-date="2025-11-30"><day>30</day><month>11</month><year>2025</year></date>
</history>
<permissions><copyright-statement>© 2026 The Author(s)</copyright-statement><copyright-year>2026</copyright-year><license license-type="open-access" xlink:href="https://creativecommons.org/licenses/by/4.0/"><license-p>This is an open access article distributed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).</license-p></license></permissions>
<self-uri xlink:href="https://trpub.org/article.php?id=7678c4d85f"/>
<abstract><p>Computational medicinal chemistry is taught in most pharmacy programmes, but the software students meet in the research literature is often licensed per seat and configured by specialists, so classes fall back on web servers that hide every decision the student should be making. The tools needed to teach the subject properly are now free and run on ordinary computers. This article proposes a laboratory workflow built entirely from open source software: AutoDock Vina for docking, Open Babel and PDBFixer for structure preparation, RDKit for cheminformatics, and GROMACS with the Open Force Field toolkit for an alchemical free energy calculation on a single pair of congeneric ligands. The workflow is set out in seven steps, each with its purpose, the judgement the student must exercise, the output to be recorded, and the common ways it goes wrong. Redocking of a crystallographic ligand is used as the control that students must pass before their own results count, and the free energy exercise is limited to one perturbation so that it finishes within a session. The design is a proposal assembled from published methods. It has not been run with a class here, and the article states what would need to be observed before it could be recommended without reservation.</p></abstract>
<kwd-group kwd-group-type="author">
<kwd>Molecular docking</kwd>
<kwd>Alchemical free energy</kwd>
<kwd>Open source software</kwd>
<kwd>Pharmacy education</kwd>
<kwd>AutoDock Vina</kwd>
<kwd>Computational laboratory</kwd>
</kwd-group>
</article-meta>
</front>
<body>
<sec id="sec1"><title>1. Introduction</title>
<p>Structure-based design is part of the standard curriculum in pharmaceutical science, and students are expected to leave with some feeling for what a docking score does and does not mean. Delivering that in a laboratory session is harder than it looks. Commercial suites are expensive per seat and are usually installed only on the machines of research groups. Public web servers run a calculation for the student and return a picture, which teaches the vocabulary but not the craft: the student never chooses a protonation state, never defines a search box, never notices that a crystallographic water was in the way.</p>
<p>The alternative is to assemble the laboratory from open source components. The pieces have been available for some years and are well documented. AutoDock Vina performs rigid-receptor docking quickly enough for a class (Trott and Olson, 2010; Eberhardt et al., 2021). RDKit handles the cheminformatics (Landrum, 2023) and Open Babel the file conversions (O&#x27;Boyle et al., 2011). GROMACS runs molecular dynamics at a speed that makes a short alchemical calculation feasible on a workstation with a consumer graphics card (Abraham et al., 2015), and the Open Force Field initiative supplies small-molecule parameters without a licensed typing program (Qiu et al., 2021).</p>
<p>What has been missing is not software but a sequence: an order of steps, with the checks that make the output meaningful, that fits two or three timetabled sessions and can be marked. This article proposes such a workflow. It is offered as a design and has not been validated with students here.</p>
</sec>
<sec id="sec2"><title>2. Background and Design Considerations</title>
<p>Three constraints shaped the design. The first is the honesty of the exercise. Docking programs reproduce crystallographic binding modes reasonably often but rank affinities poorly, a limitation documented since the comparative evaluations of Warren et al. (2006) and discussed for the practitioner by Kitchen et al. (2004). A teaching laboratory that presents a docking score as a predicted affinity teaches something false. The workflow therefore pairs docking with a physically grounded method on a small scale, so that students see both the convenience of the fast approach and the cost of the accurate one.</p>
<p>The second constraint is time. Relative binding free energy calculations of the kind described by Wang et al. (2015) need many windows per perturbation and substantial hardware. Restricting the class to a single pair of closely related ligands, with short sampling and a prepared starting configuration, brings one perturbation within a session while preserving the concepts: the thermodynamic cycle, the alchemical pathway, the need for overlap between neighbouring states, and the estimate of statistical error. The multistate Bennett acceptance ratio of Shirts and Chodera (2008) supplies the estimator and an uncertainty with it.</p>
<p>The third is reproducibility. Every step is driven by a short script under version control rather than by clicking, so that a demonstrator can repeat a student submission exactly. This also makes the laboratory portable between institutions, which matters because installation support is the usual reason such courses are abandoned.</p>
</sec>
<sec id="sec3"><title>3. The Proposed Workflow</title>
<p>The workflow has seven steps. Table 1 lists them with the tool used, the judgement the student exercises and the artefact to be submitted. Figure 1 shows how the steps connect and where the exercise loops back when a control fails. Each step is then described in turn.</p>
<table-wrap id="tbl1"><label>Table 1</label><caption><p>The seven steps of the proposed laboratory workflow</p></caption><table frame="hsides" rules="groups"><thead><tr><th>Step</th><th>Open source tool</th><th>Judgement required of the student</th><th>Artefact submitted</th></tr></thead><tbody><tr><td>1. Choose system</td><td>RDKit, PDB entry</td><td>Is the structure good enough and the ligand series congeneric</td><td>Short justification note</td></tr><tr><td>2. Prepare structures</td><td>PDBFixer, Open Babel</td><td>Protonation, tautomers, which waters to keep</td><td>Prepared receptor and ligand files</td></tr><tr><td>3. Redock control ligand</td><td>AutoDock Vina</td><td>Box placement and exhaustiveness setting</td><td>Deviation from the crystal pose</td></tr><tr><td>4. Dock the set</td><td>AutoDock Vina</td><td>Whether each pose is chemically sensible</td><td>Pose file and annotated figure</td></tr><tr><td>5. Score and rank</td><td>RDKit, Python</td><td>How far the ranking should be trusted</td><td>Ranked table with commentary</td></tr><tr><td>6. Alchemical pair</td><td>GROMACS, Open Force Field</td><td>Window spacing and length of sampling</td><td>Free energy difference with error</td></tr><tr><td>7. Compare and report</td><td>Python plotting</td><td>Which disagreements matter and why</td><td>Laboratory report</td></tr></tbody></table></table-wrap>
<fig id="fig1"><label>Figure 1</label><caption><p>Sequence of the proposed workflow, with the control step that must pass before student results count</p></caption><graphic xlink:href="IJPSDD_V1I1_2026_03_Figure1.png" mimetype="image" mime-subtype="png"/></fig>
<sec id="sec3-2"><title>3.1. Step 1: Choose the target and the ligand set</title>
<p>The target should have a crystal structure at good resolution with a bound ligand of reasonable quality, a buried rather than shallow site, and a published series of analogues with measured affinities spanning at least two orders of magnitude. Kinases, serine proteases and carbonic anhydrases are dependable choices. The demonstrator supplies two or three candidate systems rather than leaving the search open, since finding a suitable system is a research skill of its own and consumes a whole session. Students write a paragraph justifying the choice, which obliges them to look at the electron density fit of the ligand and the presence of crystallisation additives in the site.</p>
</sec>
<sec id="sec3-3"><title>3.2. Step 2: Prepare the structures</title>
<p>Preparation is where most of the learning sits. The receptor is cleaned with PDBFixer: alternate conformations resolved, missing side chains rebuilt, hydrogens added at the chosen pH. The student decides which crystallographic waters to retain, which forces an argument about whether a water is a structural part of the site or a solvent molecule in the way. Ligands are drawn or imported as SMILES, protonated at physiological pH, and converted to three-dimensional conformers with RDKit, whose conformer generation follows the distance geometry approach refined by Riniker and Landrum (2015). Open Babel handles conversion to the format Vina expects. The common failure here is a ligand charge state assigned by default rather than by thought, and the demonstrator should ask each student to defend the protonation of any ionisable group.</p>
</sec>
<sec id="sec3-4"><title>3.3. Step 3: Redock the crystallographic ligand</title>
<p>Before any new compound is docked, the student removes the crystal ligand, docks it back, and measures the root mean square deviation of the best-scoring pose from the deposited coordinates. This is the control. If the deviation is large the setup is wrong, and the usual causes are a search box that is too small or wrongly centred, a missing metal ion or cofactor, or a water that should have been kept. The exercise should not proceed until the control passes, and the loop shown in Figure 1 exists for this purpose. Students who pass the control on the first attempt are asked to repeat it with a deliberately undersized box so that they see the failure mode.</p>
</sec>
<sec id="sec3-5"><title>3.4. Step 4: Dock the student set</title>
<p>The prepared analogues are docked with the settings validated in step 3, with the exhaustiveness setting raised and several independent runs per ligand so that the reproducibility of the search can be inspected. Each student examines the top poses by eye in a molecular viewer and asks whether the interactions are chemically reasonable: hydrogen bonds with sensible geometry, hydrophobic groups buried, no charged group left pointing into the lipophilic wall of the site. Poses that score well and look wrong are the most instructive output of the session, and students are asked to keep one.</p>
</sec>
<sec id="sec3-6"><title>3.5. Step 5: Score, rank and interpret</title>
<p>Scores are collected into a table and plotted against the measured affinities taken from the literature source for the series. Agreement is usually poor, and the discussion that follows is the point of the step. Students are asked to say which ligands are ranked badly and to propose explanations: unmodelled receptor flexibility, a desolvation cost the function treats crudely, a ligand strain not accounted for, or an experimental affinity measured under different conditions. The limitations reported by Warren et al. (2006) give them a vocabulary for this, and the practical account of Vina given by Eberhardt et al. (2021) explains what the scoring function actually contains.</p>
</sec>
<sec id="sec3-7"><title>3.6. Step 6: One alchemical free energy calculation</title>
<p>A single pair of ligands differing by one small substituent is chosen, and the relative binding free energy is computed along an alchemical path in the complex and in water. Parameters come from an Open Force Field small-molecule force field (Qiu et al., 2021) with a standard protein force field and an explicit water model; GROMACS runs the windows (Abraham et al., 2015) and the estimate is obtained with the multistate Bennett acceptance ratio (Shirts and Chodera, 2008), which also reports an uncertainty. Soft-core potentials are used for the decoupling, following the treatment of Beutler et al. (1994), and the student inspects the overlap between neighbouring windows before trusting the number. To keep the step within a session the demonstrator supplies equilibrated starting configurations and a prepared input set, so that the student spends the time on the analysis rather than on system setup.</p>
</sec>
<sec id="sec3-8"><title>3.7. Step 7: Compare and report</title>
<p>The report brings the three sources together: the measured affinity difference for the pair, the difference implied by the docking scores, and the alchemical estimate with its error bar. Students are asked to state which method they would use to triage a virtual library of many compounds, which to compare two candidates before synthesis, and what the cost of each is in computer time. A good report will note that the alchemical result can be precise and still inaccurate if the force field or the binding mode is wrong, and that both methods inherit whatever error was made during preparation.</p>
</sec>
</sec>
<sec id="sec4"><title>4. Fitting the Workflow to a Teaching Programme</title>
<p>The workflow is designed for three sessions of about three hours: preparation and the redocking control; docking of the set with scoring and interpretation; the alchemical pair with the comparison and report. Hardware is modest. Docking runs comfortably on laptops, while the free energy step needs a shared workstation with a consumer graphics card, or a small allocation on an institutional cluster, and can be submitted at the end of the second session so that results are waiting at the start of the third. Installation is best handled with a prepared environment file or a container image, because dependency problems consume teaching time and discourage reuse.</p>
<p>Assessment follows the artefacts in Table 1. Marks are given for the quality of the justifications and for the handling of the control rather than for obtaining a particular answer, which keeps the incentive on the reasoning. A class with little programming experience can be given notebooks with the commands filled in and the parameters left blank. Students with more background can be asked to script the whole sequence and to run a small cross-docking exercise as an extension.</p>
</sec>
<sec id="sec5"><title>5. Limitations and What Remains to Be Shown</title>
<p>This article proposes a laboratory and does not evaluate it. Several things would need to be observed before it could be recommended without qualification. The first is timing: whether the steps as written actually fit the sessions, with a class of mixed ability and shared hardware. The second is attainment: whether students who complete the workflow understand the limits of docking scores better than those taught with a web server, which would need a comparison with a suitable instrument. The third is robustness of the software stack across the machines a department actually owns, including the question of whether the free energy step completes reliably without specialist support.</p>
<p>Two cautions apply to the content itself. The alchemical step is reduced so far that it demonstrates a method rather than producing a result anyone should rely on, and this must be said plainly to students. And the whole workflow treats the receptor as rigid apart from the short dynamics in step 6, so systems with substantial induced fit should be avoided when the target is chosen.</p>
</sec>
<sec id="sec6"><title>6. Conclusion</title>
<p>A teaching laboratory in structure-based design can be assembled from freely available software and run on the hardware a department already owns. The seven-step workflow proposed here places a crystallographic redocking control before any student result is accepted, makes the weakness of docking scores an object of study rather than an embarrassment, and ends with a single alchemical calculation that shows what a more rigorous method costs. Whether it teaches better than the alternatives is an empirical question, and one that departments adopting it are well placed to answer.</p>
</sec>
<sec id="sec7"><title>Conflict of interest</title>
<p>To be declared by the author(s) before publication.</p>
</sec>
<sec id="sec8"><title>Funding</title>
<p>To be declared by the author(s) before publication.</p>
</sec>
</body>
<back>
<ref-list><title>References</title>
<ref id="ref1"><label>1</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Abraham, M.J., Murtola, T., Schulz, R., Páll, S., Smith, J.C., Hess, B. and Lindahl, E.</string-name></person-group> (<year>2015</year>). <article-title>GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputers</article-title>. <source>SoftwareX</source>, <volume>1-2</volume>, <fpage>19-25</fpage> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.softx.2015.06.001">https://doi.org/10.1016/j.softx.2015.06.001</ext-link></mixed-citation></ref>
<ref id="ref2"><label>2</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Beutler, T.C., Mark, A.E., van Schaik, R.C., Gerber, P.R. and van Gunsteren, W.F.</string-name></person-group> (<year>1994</year>). <article-title>Avoiding singularities and numerical instabilities in free energy calculations based on molecular simulations</article-title>. <source>Chemical Physics Letters</source>, <volume>222(6)</volume>, <fpage>529-539</fpage></mixed-citation></ref>
<ref id="ref3"><label>3</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Eberhardt, J., Santos-Martins, D., Tillack, A.F. and Forli, S.</string-name></person-group> (<year>2021</year>). <article-title>AutoDock Vina 1.2.0: New docking methods, expanded force field, and Python bindings</article-title>. <source>Journal of Chemical Information and Modeling</source>, <volume>61(8)</volume>, <fpage>3891-3898</fpage> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1021/acs.jcim.1c00203">https://doi.org/10.1021/acs.jcim.1c00203</ext-link></mixed-citation></ref>
<ref id="ref4"><label>4</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Kitchen, D.B., Decornez, H., Furr, J.R. and Bajorath, J.</string-name></person-group> (<year>2004</year>). <article-title>Docking and scoring in virtual screening for drug discovery: Methods and applications</article-title>. <source>Nature Reviews Drug Discovery</source>, <volume>3(11)</volume>, <fpage>935-949</fpage> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1038/nrd1549">https://doi.org/10.1038/nrd1549</ext-link></mixed-citation></ref>
<ref id="ref5"><label>5</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Landrum, G.</string-name></person-group> (<year>2023</year>). <article-title>RDKit: Open-source cheminformatics</article-title>. <source>RDKit project, software documentation</source></mixed-citation></ref>
<ref id="ref6"><label>6</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>O&#x27;Boyle, N.M., Banck, M., James, C.A., Morley, C., Vandermeersch, T. and Hutchison, G.R.</string-name></person-group> (<year>2011</year>). <article-title>Open Babel: An open chemical toolbox</article-title>. <source>Journal of Cheminformatics</source>, <volume>3</volume>, <fpage>33</fpage> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1186/1758-2946-3-33">https://doi.org/10.1186/1758-2946-3-33</ext-link></mixed-citation></ref>
<ref id="ref7"><label>7</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Qiu, Y., Smith, D.G.A., Boothroyd, S., Jang, H., Hahn, D.F., Wagner, J., Bannan, C.C., Gokey, T., Lim, V.T., Stern, C.D., Rizzi, A., Tjanaka, B., Tresadern, G., Lucas, X., Shirts, M.R., Gilson, M.K., Chodera, J.D., Bayly, C.I., Mobley, et al.</string-name></person-group> (<year>2021</year>). <article-title>Development and benchmarking of Open Force Field v1.0.0, the Parsley small-molecule force field</article-title>. <source>Journal of Chemical Theory and Computation</source>, <volume>17(10)</volume>, <fpage>6262-6280</fpage> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1021/acs.jctc.1c00571">https://doi.org/10.1021/acs.jctc.1c00571</ext-link></mixed-citation></ref>
<ref id="ref8"><label>8</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Riniker, S. and Landrum, G.A.</string-name></person-group> (<year>2015</year>). <article-title>Better informed distance geometry: Using what we know to improve conformation generation</article-title>. <source>Journal of Chemical Information and Modeling</source>, <volume>55(12)</volume>, <fpage>2562-2574</fpage> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1021/acs.jcim.5b00654">https://doi.org/10.1021/acs.jcim.5b00654</ext-link></mixed-citation></ref>
<ref id="ref9"><label>9</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Shirts, M.R. and Chodera, J.D.</string-name></person-group> (<year>2008</year>). <article-title>Statistically optimal analysis of samples from multiple equilibrium states</article-title>. <source>Journal of Chemical Physics</source>, <volume>129(12)</volume>, <fpage>124105</fpage> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1063/1.2978177">https://doi.org/10.1063/1.2978177</ext-link></mixed-citation></ref>
<ref id="ref10"><label>10</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Trott, O. and Olson, A.J.</string-name></person-group> (<year>2010</year>). <article-title>AutoDock Vina: Improving the speed and accuracy of docking with a new scoring function, efficient optimization, and multithreading</article-title>. <source>Journal of Computational Chemistry</source>, <volume>31(2)</volume>, <fpage>455-461</fpage> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1002/jcc.21334">https://doi.org/10.1002/jcc.21334</ext-link></mixed-citation></ref>
<ref id="ref11"><label>11</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Wang, L., Wu, Y., Deng, Y., Kim, B., Pierce, L., Krilov, G., Lupyan, D., Robinson, S., Dahlgren, M.K., Greenwood, J., Romero, D.L., Masse, C., Knight, J.L., Steinbrecher, T., Beuming, T., Damm, W., Harder, E., Sherman, W., Brewer, M., Wester, R., et al.</string-name></person-group> (<year>2015</year>). <article-title>Accurate and reliable prediction of relative ligand binding potency in prospective drug discovery by way of a modern free-energy calculation protocol and force field</article-title>. <source>Journal of the American Chemical Society</source>, <volume>137(7)</volume>, <fpage>2695-2703</fpage> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1021/ja512751q">https://doi.org/10.1021/ja512751q</ext-link></mixed-citation></ref>
<ref id="ref12"><label>12</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name>Warren, G.L., Andrews, C.W., Capelli, A.-M., Clarke, B., LaLonde, J., Lambert, M.H., Lindvall, M., Nevins, N., Semus, S.F., Senger, S., Tedesco, G., Wall, I.D., Woolven, J.M., Peishoff, C.E. and Head, M.S.</string-name></person-group> (<year>2006</year>). <article-title>A critical assessment of docking programs and scoring functions</article-title>. <source>Journal of Medicinal Chemistry</source>, <volume>49(20)</volume>, <fpage>5912-5931</fpage> <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1021/jm050362n">https://doi.org/10.1021/jm050362n</ext-link></mixed-citation></ref>
</ref-list>
</back>
</article>