Skip to content
sid0sid-opsPublic

About

GROMACS 2025/2026+ cloud MD suite for Kaggle GPU & Google Colab: Protein-in-Water (1AKI) & Protein-Ligand Complex (3HTB+JZ4, CHARMM36 Feb 2026 + AMBER/GAFF2 ACPYPE) with live .mdp editing, 3D viewer & automated analysis.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

GROMACS 2025/2026+ Cloud Molecular Dynamics Suite (Kaggle GPU & Google Colab)

Open Protein-in-Water in Colab Open Protein-Ligand in Colab Kaggle Protein-in-Water Kaggle Protein-Ligand GROMACS 2025/2026 CHARMM36 & AMBER GAFF2 License: MIT

Complete, zero-hardcoding, publication-grade GROMACS 2025/2026+ Jupyter Notebooks for atomistic Protein-in-Water and Protein–Ligand Complex Molecular Dynamics (MD) simulations, engineered for Kaggle (GPU T4 x2) and Google Colab.

Built upon Justin Lemkul's updated GROMACS 2025/2026 tutorials with full MacKerell Lab CHARMM36 (Feb 2026, CGenFF 5.0) support, automated AMBER + GAFF2 (ACPYPE / AmberTools) ligand parameterization, live-editable .mdp parameter files and CLI commands, interactive 3D structure/trajectory visualization, statistical convergence verification, and automated multi-panel post-MD analysis.

Author: Siddharth Tripathi, M.Sc. Bioinformatics


Repository Structure

Gromacs/
├── README.md
├── LICENSE
├── .gitignore
├── 01_lysozyme_in_water/
│   ├── README.md
│   └── gromacs_protein_water.ipynb
└── 02_protein_ligand_complex/
    ├── README.md
    └── gromacs_protein_ligand.ipynb

Notebooks Overview

Notebook Benchmark System Box & Protocol Ligand Parameterization Post-MD Analysis Suite Launch
01_lysozyme_in_water Hen Egg-White Lysozyme (1AKI, or custom .pdb) cubic (1.2 nm), CHARMM36 Feb 2026 + TIP3P, 100 ps NVT (298 K), 500 ps NPT (C-rescale), 10 ns Production MD (or Quick Smoke Test ps) N/A (apo protein in explicit solvent + counter-ions) 8 Modules: Backbone RMSD (md & em refs), $R_g$ ($R_x, R_y, R_z$), DSSP Secondary Structure, H-Bonds (MainChain+H, SideChain, Protein–Water, -nom/-m), Per-Residue RMSF, SASA + resarea.xvg, PCA + 2D Boltzmann FEL, Custom .edr Inspector + Validation Cards Open In Colab · Kaggle
02_protein_ligand_complex T4 Lysozyme L99A/M102Q + 2-Propylphenol (3HTB + JZ4, or custom complex) dodecahedron (1.0 nm), posre_<lig>.itp, custom Protein_<LIG> Water_and_ions index.ndx, 100 ps NVT, 500 ps NPT (100 ps option), 10 ns Production MD, two-stage PBC reimaging + Complex Integrity Check 3 Modes: (1) Tutorial CGenFF Preset (JZ4), (2) Uploaded CGenFF .mol2+.str or Ready .itp+.prm+.gro (CHARMM-GUI, SwissParam, LigParGen, ATB, ACPYPE), (3) On-demand AMBER + GAFF2 via AmberTools + ACPYPE + OpenBabel 10 Modules: Backbone RMSD, Ligand Heavy-Atom RMSD (<LIG>_Heavy), $R_g$, Protein–Ligand H-Bonds & Occupancy, Binding-Site Distances + Auto-Detected Pocket (< 0.40 nm), Interaction Energy (ie.mdp CPU -rerun), RMSF highlighting Pocket (< 0.45 nm), Complex/Apo/Ligand/Buried SASA, gmx mindist Contacts (0.4/0.6 nm), DSSP + PCA/2D FEL, gmx_MMPBSA Readiness Open In Colab · Kaggle

Core Design Principles

  1. No Black Boxes: Python UI boilerplate is cleanly collapsed so you see a streamlined scientific workbench, while every GROMACS CLI command and every .mdp parameter file (ions.mdp, em.mdp, nvt.mdp, npt.mdp, ie.mdp, md.mdp) is displayed, live-synced to widgets, directly editable before execution, and persisted in pipeline_state.json.
  2. Zero Hardcoding & Exact Reproducibility: Every simulation parameter (timestep, temperature, barostat, pressure, duration preset, coupling groups, gen_seed, cutoffs, -maxwarn, plot Y-axis scaling Tutorial Scale / Auto / Custom Min/Max) is user-controlled. Leaving defaults unmodified reproduces Justin Lemkul's updated GROMACS 2025/2026 benchmarks.
  3. Force-Field Consistency & Physics Guardrails:
    • CHARMM36 family: rcoulomb = 1.2, rvdw = 1.2, vdw-modifier = force-switch, rvdw-switch = 1.0, DispCorr = no, constraints = h-bonds, nstlist = 10 across every .mdp file (including ions.mdp and em.mdp).
    • AMBER / OPLS-AA families: rcoulomb = 1.0, rvdw = 1.0, DispCorr = EnerPres, constraints = h-bonds.
    • GROMOS family: rcoulomb = 1.4, rvdw = 1.4, DispCorr = EnerPres, constraints = all-bonds.
    • Guardrail Enforcement: In the Protein–Ligand notebook, incompatible pairings (such as mixing CHARMM36 protein topology with GAFF2/ACPYPE ligand parameters) are explicitly blocked before pdb2gmx or grompp.
  4. No Silent Warning Suppression: -maxwarn defaults strictly to 0 (editable integer widget) and never silently masks topology or coordinate mismatches.
  5. Dual Statistical Verification: Equilibration cards display both GROMACS gmx energy full-precision block statistics (average + RMSD + drift) and .xvg ddof=1 sample statistics side-by-side so convergence can be evaluated rigorously.

Quick Start on Kaggle (GPU T4 x2) & Google Colab

1. Recommended Kaggle Notebook Settings

For fast, uninterrupted 10 ns MD runs on Kaggle:

  • Accelerator: Select GPU T4 x2 under Session options -> Accelerator. Step 1 automatically detects the GPU via nvidia-smi and installs CUDA-enabled gromacs=*=nompi_cuda* (preventing fallback to CPU/OpenCL builds). For ~26k–35k-atom solvated systems, single-GPU CUDA offload (-ntmpi 1 -nb gpu -pme gpu -bonded gpu -update gpu) delivers maximum throughput without inter-GPU PCIe communication overhead; the second T4 GPU can be used for a simultaneous independent replica (CUDA_VISIBLE_DEVICES=1).
  • Internet: Turn On in Session options -> Internet so Step 1 can fetch GROMACS, MacKerell Lab CHARMM36 (charmm36-feb2026_cgenff-5.0.ff.tgz), and RCSB PDB structures (1AKI, 3HTB), or install AmberTools/ACPYPE on demand.
  • Persistence: Set Session options -> Persistence to Files only so /kaggle/working/gmx_* outputs, checkpoints (md_0_10.cpt), trajectories, and plots survive session restarts and disconnects.
  • Interactive 3D Viewer (Optional Dependency Manager): Add pip install py3Dmol networkx in Kaggle's Dependency Manager if you want the 3D viewer pre-installed (Step 1 also installs it automatically when needed).

2. Running a Simulation

  1. Click Run All once to initialize all widgets, .mdp editors, and workspace directories (Duration Preset: choose Tutorial 10 ns Benchmark for full scientific runs or Quick Smoke Test (ps) to test custom structures/ligands in minutes).
  2. Review or customize parameters step-by-step (Steps 1–12), verify live CLI commands and .mdp contents, and click each stage's confirmation button—or use the optional Batch Runner in Step 1 after verifying setup.
  3. On Kaggle (Persistence: Files only), enable Resume / Skip completed stages in Step 1 to recover seamlessly from md_0_10.cpt (mdrun -cpi) after session limits.
  4. Use Step 12 (Export) to download categorized .zip archives (plots_figures, trajectories_structures, mdp_topologies, logs_metrics, or full workspace).

Keywords & Applications

GROMACS 2025 · GROMACS 2026 · Molecular Dynamics · Protein-Ligand Complex · Protein in Water · CHARMM36 · CGenFF · AMBER14SB · GAFF2 · ACPYPE · AmberTools · Lysozyme 1AKI · T4 Lysozyme 3HTB · Google Colab MD · Kaggle GPU T4 · Drug Discovery · In Silico Screening · Binding Stability · RMSD · RMSF · Free Energy Landscape · PCA · SASA · DSSP · gmx_MMPBSA · Computational Biophysics · Bioinformatics


References & Acknowledgments

  • Lemkul, J. A. (2019–2026). From Proteins to Perturbed Hamiltonians: A Suite of Tutorials for the GROMACS-2018+ Molecular Simulation Package (mdtutorials.com). Living Journal of Computational Molecular Science, 1(1), 5068.
  • MacKerell Lab CHARMM36 Force Field (charmm36-feb2026_cgenff-5.0.ff) — University of Maryland, Baltimore.
  • Abraham, M. J., et al. (2015–2026). GROMACS: High performance molecular simulations through multi-level parallelism from laptops to supercomputers. SoftwareX, 1–2, 19–25.
  • Sousa da Silva, A. W., & Vranken, W. F. (2012). ACPYPE - AnteChamber PYthon Parser interfacE. BMC Research Notes, 5, 367.

License & Citation

Released under the MIT License.
Author: Siddharth Tripathi, M.Sc. Bioinformatics — GitHub: @sid0sid-ops

About

GROMACS 2025/2026+ cloud MD suite for Kaggle GPU & Google Colab: Protein-in-Water (1AKI) & Protein-Ligand Complex (3HTB+JZ4, CHARMM36 Feb 2026 + AMBER/GAFF2 ACPYPE) with live .mdp editing, 3D viewer & automated analysis.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages