Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Divalent ion model benchmarks for NMDAR research

A small, reproducible molecular dynamics project for discussion with Ben Corry. The project tests published Mg2+ and Ca2+ ion-water parameter combinations before their use in more complex NMDA receptor simulations.

Deliverables

  • Runnable simulation and analysis code with documented parameter provenance.
  • Two published ion-water model combinations, two ions and three seeded replicas for the hydration benchmark.
  • A completed amide-coordination extension following the hydration quality gate.
  • Quantitative figures, machine-readable summaries and measured local throughput.
  • A six-page English report and a five-minute presentation script.

Scientific scope

The study compares hydration structure, local coordination and sampling sensitivity. It does not establish NMDAR binding affinity, ion permeation, calcium-magnesium knock-on, or physiological unblock rates. CM and IOD use the same TIP3P water and interaction conventions, so the comparison isolates these two published ion-parameter choices within that fixed setup.

Version control

This directory is an independent Git repository on branch main. Code, protocols, parameter sources, run manifests, summary data, figures and report sources are versioned. Virtual environments, caches and large trajectories are excluded from Git and retained locally when needed. Each completed, checked stage receives a commit. The private GitHub repository is configured as origin; local main tracks origin/main. Commit and push completed changes from this directory or GitHub Desktop.

Status

All 36 formal trajectories are complete: twelve hydration and twenty-four amide runs, each with 2 ns of production, for 72 ns total. Source conversion, raw samples and derived summaries have been checked. Final outputs are:

Mean hydration RDF peaks are 0.2030/0.2070 nm for Mg with CM/IOD and 0.2483/0.2443 nm for Ca. All twelve separated-start amide trajectories have zero saved-frame diagnostic contacts. Mg contact starts remain in contact; Ca contact-start fractions vary widely between replicas (CM 66.3 +/- 45.3%, IOD 20.6 +/- 19.4%; mean +/- sample SD). These are finite-time structural and sampling results, not an equilibrium-affinity ranking.

The local host has an NVIDIA GeForce RTX 3050 Laptop GPU with 4 GB VRAM and 16 logical CPU processors. Completed production rates span 112.8-508.4 ns/day under variable desktop/GPU load; total production divided by summed production wall time is 262.4 ns/day. Summed case wall time is 7.02 hours. The earlier short pilot is excluded from these completed-study timing figures.

Run locally

From this directory in PowerShell, the existing environment can be used directly:

.venv/Scripts/python.exe simulate.py --selfcheck
.venv/Scripts/python.exe analyze.py --self-check
.venv/Scripts/python.exe simulate.py --campaign hydration
.venv/Scripts/python.exe analyze.py --input results/hydration --output results/analysis

Only after evaluating the hydration diagnostics, run the amide extension and combined analysis:

.venv/Scripts/python.exe simulate.py --campaign amide
.venv/Scripts/python.exe analyze.py --input results/hydration --amide results/amide --output results/analysis

Do not start duplicate campaigns concurrently. The runner checks existing completed cases using the recorded protocol and sample hash. An incomplete directory requires inspection; it is never silently overwritten.

For a fresh environment, install Python 3.12 and use uv venv --python 3.12 .venv followed by uv pip install --python .venv/Scripts/python.exe -r requirements.txt. Core requirements support OpenCL/CPU. requirements-local-lock.txt records the exact local environment including optional CUDA components. The Windows CUDA launcher run_gpu.py exposes locally installed NVIDIA DLLs only to its process; it accepts the same arguments as simulate.py, including --platform CUDA.

After both campaigns and their combined analysis finish, generate the report:

python build_report.py --project-python .venv/Scripts/python.exe --output output/pdf
.venv/Scripts/python.exe verify_project.py --pdf-python (Get-Command python).Source

Here python denotes a document environment containing ReportLab 4.4.9 and pypdf; the local Codex bundled Python provides both. The report builder invokes the project Python to recompute and audit saved-data metrics before writing a six-page PDF, an English presentation script and their checksum manifest. The final PDF also requires visual review of every rendered page.

What is measured

Read PROTOCOL.md before interpreting results and SOURCES.md for original parameter files, fitting targets and the acetamide source. Water frames are correlated; the three seeded trajectories are the replication units. Agreement with an IOD fitting target is not independent predictive validation. Amide starting-state differences measure finite-time sampling dependence, not an equilibrium binding affinity.

All raw samples and trajectories stay in their local case directories. To share a complete research archive, include those ignored data files separately from the Git repository. The versioned manifests contain SHA-256 hashes for checking the corresponding sample files. Git by itself is not a backup of ignored data.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages