r/comp_chem • • Dec 12 '22

META: Would it be cool if we had a weekly/monthly paper review/club?

120 Upvotes

I think it would be pretty interesting, and would be a nice break from the standard content on this subreddit.


r/comp_chem • • 1d ago

Feedback wanted: a formulation screening tool where calculators produce every number, not the LLM

1 Upvotes

Hello. I would appreciate some honest criticism of an approach I have been working on.

I kept hearing that formulations suggested by an LLM rarely hold up at the bench. That seemed reasonable to me, since the model is producing plausible text rather than computing anything. So I tried the opposite arrangement: the LLM only proposes candidates and explains results, and every number comes from an actual calculator.

Where it stands now:

  • Calculators are plugins (RDKit descriptors, Pourbaix stability, and a few others), and the engine itself has no knowledge of the domain.
  • A small surrogate model (GP) trains on whatever experimental data you upload, reports its uncertainty, and warns when a prediction falls outside its training range.
  • Nothing is fabricated. If a metric cannot be computed, it is shown as empty rather than filled in.
  • Every number can be traced back to its source, either the calculator that produced it or the file and row it came from.
  • Domains are configuration files rather than code. There are four at the moment (solvent selection, conductive polymer composites, perovskite stability, semiconductor cleaning chemistry), all running on the same engine.

I should be upfront about the limitations. I am a developer, not a chemist, so the default scoring criteria were drawn from public literature rather than from domain experts, and some values are explicitly marked as estimates. The output is a ranked list of candidates worth testing, not a discovery, and none of it is a substitute for bench validation.

What I would genuinely like to know is whether this "cheap physics plus a data-driven surrogate" middle ground is of any practical use to you, or whether it falls into a dead zone between back-of-envelope estimates and proper DFT. And if you have a moment to look at the scoring criteria, I would be grateful to hear where they are wrong.

Demo, no installation required: https://virtual-chemistry-lab-dvxdge4euenpi2rxq4sczl.streamlit.app/

Thank you for taking the time.


r/comp_chem • • 1d ago

Which Fermi Energy Should I Use for DOS Analysis in Quantum ESPRESSO: SCF or NSCF?

Thumbnail reddit.com
0 Upvotes

r/comp_chem • • 1d ago

ORCA QM/MM (2-layer ONIOM) syntax for optimizing one fragment while keeping the other frozen

8 Upvotes

I am trying to run a geometry optimization of a two-fragment system in ORCA (version 6.1.1) where one fragment is fully optimized and the other is kept frozen.

Here is my setup:

  • Mobile fragment: Modeled at the QM level (DFT)
  • Frozen fragment: Modeled at the MM level (using a 2-layer ONIOM / QM/MM scheme)
  • Boundary: Non-covalent

Could someone share the exact input syntax for:

  1. Defining the QM vs. MM layers in the %qmmm block (or using QM/XTB if an .ORCAFF.prms file isn't required).
  2. Freezing the MM fragment during the optimization (e.g., using ActiveAtoms vs. Cartesian constraints).

Thanks in advance!


r/comp_chem • • 2d ago

Issues preparing PDB 8IF3 for protein-ligand MD simulations in GROMACS

10 Upvotes

Hi everyone,

I'm currently working with PDB structure 8IF3 (human α2δ-1) and having some difficulties preparing it for protein-ligand molecular dynamics simulations.

My current workflow involves:

  • Preparing the receptor and ligand for docking.
  • Using AutoDock Vina for molecular docking.
  • Using PLIP to analyse protein-ligand interactions and help select a suitable binding pose.
  • Preparing the resulting protein-ligand complex for MD simulations using GROMACS.

However, I'm struggling with the protein preparation stage and would appreciate some guidance, particularly regarding:

  • Handling missing residues and incomplete side chains.
  • Which chains, glycans and other structural components should be retained or removed.
  • Correctly handling disulphide bonds.
  • Which force field would be most appropriate.
  • Whether there are any recommended preparation workflows or tools for this type of protein.

Has anyone successfully performed MD simulations using 8IF3 or similar α2δ-1 structures?

I'd particularly appreciate advice from anyone with experience preparing large, heavily glycosylated proteins for GROMACS.

Any advice, tutorials or relevant publications would be greatly appreciated.

Thanks!


r/comp_chem • • 2d ago

Release of MolCasta 1 Ramac, a general-purpose tool for predicting protein dynamics

6 Upvotes

I've released MolCasta 1 Ramac, a general-purpose tool for predicting protein dynamics.

Instead of generating future molecular structures or trajectories, MolCasta directly predicts the probability of 19 types of events within a protein.

A single model covers a range of events, from hydrogen bond formation and breaking to side-chain conformational changes and the opening and closing of local pockets.

The model is about 15 MB. Given a single protein structure, it can make predictions up to 90 ns ahead in about 30 seconds to 1 minute on a consumer CUDA-capable GPU, averaging 42 seconds on an RTX 4060 Ti.

In an evaluation on 217,394 candidates across 49 unseen proteins, MolCasta achieved a mean AUPRC of 0.5556, a mean AUROC of 0.8426, and a mean ECE of 0.0254.

Because it can quickly screen many intramolecular events on a standard PC, MolCasta is intended for screening protein dynamics, identifying residues or interactions of interest, and selecting targets for more detailed molecular dynamics (MD) analysis.

The Windows GUI, CLI, pretrained model, and technical documentation on the algorithm and validation results are available on GitHub.

https://github.com/Nagai121/MolCasta

I'd welcome your feedback.


r/comp_chem • • 4d ago

Quachem Workbench: run PySCF and GPU4PySCF on your GPU or a Slurm cluster without writing job scripts (free, open source, agent-friendly)

2 Upvotes

Running DFT on a university cluster usually means writing a Slurm script, copying files over, watching squeue, copying results back, and then remembering which output came from which settings. Quachem Workbench is a free, open-source (Apache 2.0) app that does that part for you. You draw or paste a molecule, pick a method, and choose where the job runs: your own machine (GPU4PySCF on an NVIDIA GPU, or PySCF on the CPU), a workstation over SSH, or a Slurm cluster.

On a cluster, the app writes the batch script, submits it, shows password, Duo and device-code login prompts in its own window, and checks the queue for you. The job keeps running if you close your laptop, and when you reconnect, the app reads the job's state and copies the results back.

Your research is saved on your own computer as a folder of readable files for each project: inputs, results, raw engine output, and a provenance record of where every setting came from. Each finished job also gets a methods paragraph with program versions, method, basis, grid, thresholds and references that you can paste into a paper. The app sends nothing to a cloud service, and the only lookup that leaves your machine is the optional PubChem name search.

It is also built for AI agents and scripts. The qcw command line prints JSON with published schemas, and qcw guide prints a guide written for agents. An agent can submit jobs and schedule batches overnight, and its jobs are labelled as the agent's work. If a job goes over the approval limits you set, it waits until you approve it in the browser, because the command line cannot approve jobs.

Also in 0.1.0:

  • Molecule input from SMILES, XYZ/MOL/SDF/PDB files, a PubChem name or a 2D sketcher, with RDKit building the 3D structure locally
  • r2SCAN-3c (the default), B3LYP-D3(BJ), PBE0-D3(BJ), ωB97X-3c, ωB97X-V and Hartree-Fock
  • Optimisation-then-frequencies jobs that mark a saddle point as NOT A MINIMUM
  • An IR tab that overlays your measured peaks or a JCAMP-DX file on the predicted spectrum
  • Job sets that compare isomer energies relative to the lowest-energy structure

Recorded timings for an optimisation plus frequencies, with the evidence linked from the site: ethanol with B3LYP-D3(BJ)/def2-SVP takes 46 s on an RTX 3070 under WSL2 and 35 s on an A100 (medians of three runs), and water with r2SCAN-3c takes 3 min 22 s on the CPU.

While building the GPU engine we found that the GPU build of Libxc 7.1.2 keeps functional data in CUDA managed memory, so GPU DFT crashes or runs at about half speed on GPUs without concurrent managed access, which includes GPUs under WSL2. The engine ships a patch, and the cause and fix are reported to Libxc and GPU4PySCF.

Current limits: you install it from source (Git, Python 3.12, uv, Node 24 and Docker), and the first engine build takes about half an hour. The install steps are verified by hand on Windows 11 with WSL2, while Linux and macOS have only been through CI. It is designed for molecules of up to a few dozen atoms. No accuracy figures are published yet, because the validation suite (GMTKN55 subsets, NIST frequencies, CCCBDB geometries and dipoles) hasn't finished its first full run, and the defaults are marked provisional until a chemist reviews them.

The project was built with a lot of help from Claude, and so was this post. It claims a result only where a recorded run backs it, and those records are in the repo.

What I'd most like to hear:

  1. If you use a Slurm cluster, what would stop the app working on yours?
  2. Is r2SCAN-3c a sensible default for small organic molecules? The defaults are listed at https://quachem.org/docs/chemistry-review/
  3. Did the install work on your machine?

Site and screenshots: https://quachem.org Source: https://github.com/quachem/quachem-workbench


r/comp_chem • • 5d ago

Built a browser-based chemical process simulator (NRTL/PR/MESH + TEMA HX sizing) – looking for beta feedback

Thumbnail
reddit.com
0 Upvotes

r/comp_chem • • 6d ago

Why does 1 ns of MD help predict hydrogen-bond formation 90 ns later? (ATLAS benchmark notes)

7 Upvotes

While looking at hydrogen-bond formation and dissociation on the ATLAS dataset (100 proteins × 3 replicas, ~484,000 nearby donor–acceptor pairs), I noticed that adding just 1 ns of explicit-solvent MD history improves event prediction all the way out to 90 ns over a static-structure baseline (5-fold protein cross-validation).

I dug into where that long-horizon signal actually comes from and how much of it can be obtained without explicit-solvent MD. Here is what I observed:

  • Most of the 90 ns gain comes from relaxation to a local basin mean. For hydrogen bonds, the pair's mean distance over the 1 ns window alone accounts for 90–96% of the improvement from 6 trajectory summary statistics. Rather than carrying long-term dynamical memory, short relaxation seems to remove single-snapshot thermal/packing distortion and estimate the local equilibrium distance. Independent MD replicas agree on the residual difference from static predictions (r = 0.39–0.57; residual SD 0.56 Å vs. single-replica thermal noise 0.20 Å).
  • Local static descriptors explained little of that residual. Combining six static physical feature families (sidechain χ, backbone φ/ψ, local electric field, surrounding H-bond network, bridging water, and atomistic CHARMM36m interaction energies) reduced the residual variance by only 9–12%.
  • Short water-free implicit-solvent relaxation recovered much of it. On a 25-protein subset, running 4 × 100 ps of OpenMM GBn2 from the single static frame (~55 s/protein on an RTX 4060 Ti, no explicit water) correlated with the explicit-solvent residual at r = 0.52 (residual SD 0.60 → 0.51 Å) and recovered 55–86% of explicit 1 ns MD's downstream H-bond gain across 1–90 ns using the mean distance alone (up to 116% at 90 ns with all summary statistics).
  • Separate check with a generative MD model (MDGen). Because 88 of the 100 proteins overlap with MDGen's training set, I tested MDGen (~40 s/protein for a 100 ns rollout) on a separate 25-protein panel drawn strictly from MDGen's official held-out test split (so the numbers are not directly paired with the implicit-MD panel above). On that panel, MDGen showed weaker short-range alignment (r = 0.27, −5% to +25% recovery at 1 ns), while its 100 ns rollout recovered 55–78% of explicit 1 ns MD's gain at 5–90 ns.

Scripts, JSON outputs, and a fuller write-up (including explicit-solvent GPU timings and earlier pitfalls I had to correct) are here under CC0/MIT: https://github.com/Nagai121/MolCasta-KineScope/blob/main/FINDINGS.md

I'm curious whether others have seen this same local-relaxation effect in downstream tasks, or tried predicting sub-ns equilibrium distance offsets directly from a single 3D structure.


r/comp_chem • • 5d ago

A new guy to learn ai for chem

0 Upvotes

Are direct adsorption energy prediction models still competitive in the era of universal MLIPs?

I am currently developing a lightweight attention-based model for predicting adsorption energies on metallic and alloy surfaces using DFT-relaxed adsorption structures.

Unlike MLIPs, my model directly predicts adsorption energies without learning atomic forces or the full potential energy surface.

I would like to discuss the following questions:

  • Is relaxed-structure-to-adsorption-energy prediction still a meaningful research task?
  • Are there recent specialized models addressing this task rather than IS2RE or S2EF?
  • What benchmarks would enable a fair comparison between specialized energy prediction models and universal MLIPs?
  • Could specialized models offer meaningful advantages in accuracy, data efficiency, or transferability?

Any recommendations for recent papers, models, or benchmark datasets would be greatly appreciated.


r/comp_chem • • 6d ago

Force-field benchmarking for fatty-acid crystallisation in LAMMPS: PCFF, OPLS-AA, CHARMM and TraPPE-UA

10 Upvotes

Hi everyone,

I’m the first author of a recent open-access study that may be relevant to people simulating fatty acids, organic PCMs, or crystallisation more generally.

We wanted to examine how strongly force-field choice affects the predicted phase behaviour of fatty acids. Using a unified LAMMPS protocol, we compared PCFF, OPLS-AA, CHARMM and TraPPE-UA across six saturated fatty acids from C4 to C18. We evaluated crystallisation, phase-change temperatures and enthalpies, densities, and thermal conductivities.

A few results stood out:

  • Under our simulation protocol, PCFF was the only tested force field that reproduced crystallisation across C8–C18.
  • PCFF predicted the transition temperatures for these systems with a mean absolute error of 3.2%.
  • OPLS-AA produced crystallisation for C16 and C18, while CHARMM and TraPPE-UA showed no clear ordering transition under the same protocol.

The paper’s Supporting Information includes a ZIP archive containing all LAMMPS input files and the Python scripts used for post-processing, so others can inspect, reproduce, or adapt the workflow.

Paper: https://doi.org/10.1038/s41598-026-80735-3

I’d be interested to hear from others who have compared force fields for organic crystallisation. Have you observed similarly large differences in ordering behaviour under otherwise comparable simulation protocols?


r/comp_chem • • 7d ago

Model definitions with mandatory units, exported to SBML/CellML/Modelica instead of living in a script

0 Upvotes

Repo: https://github.com/Furox-Art/axiomize - 1.15.0, MIT, free, no paywalled tier.

The thing that kills a model two years later is rarely the solver: it is that the model only exists as whatever got typed into somebody's script, with the units implicit and the assumptions in their head. This tool takes a declared model, requires units, validates it dimensionally and numerically, and refuses to simulate when the numbers do not line up - it fails loudly instead of returning plausible garbage.

Output is a versioned Model IR artifact, exportable to SBML Level 3, CellML 2.0 and Modelica, plus JSON/YAML/notebook forms and a SHA-256 bundle. There is a CLI, a REST surface and an MCP server (axiomize mcp), so the same model can be driven from a script, a service or an agent.

Install:

pip install axiomize

The npm name axiomize is also at 1.15.0 (released through npm's OIDC trusted publisher this week, so the tarball carries a provenance attestation rather than a long-lived token) and npx axiomize forwards to python -m axiomize.cli - Python is still required.

One honest limit, taken from the README and true in practice: it does not make a bad model good, it makes a bad model fail loudly. Generated-code execution and theorem elaboration are not an OS sandbox either.


r/comp_chem • • 8d ago

I trained atomistic models for molecules and crystals runnable efficiently on your laptop, I really hope you like this.

23 Upvotes

I spent a lot of resources (time, compute units) to train these MLIPs, I did multiple iterations and tested them on various benchmarks, also blind test ones. The models excel in speed, memory efficiency, they run at comparable speed to datacenter GPUs on macbook laptops, without paying for this in accuracy. On the repo you can find the various results, soon I plan to publish a technical explanation and some videos to promote it.

You are the niche for what this product is aimed for, I also took some comments about the negatives of MLIPs from this subreddit, and tried to give more interpretability to the models (dipole, charges, IR, etc) to the model. I hope you find good use of it and I am open to feedbacks. Keep in mind that I am a ML student, not a chemist, I did this with strong AI assistance, without financial or other particular interests; I just wanted to discover something useful and help contribute to the field, from the numbers it seems that the models do so, but getting your precious analysis of this would be great.

Github Repo: https://github.com/iatecoding/mena-lab

The experience to start the simulator should be easy, a command to download, then start the webapp interface, from there you can upload and run simulations (there are some examples to give you an idea of how simulations go). By design choice it takes defaults choices automatically, this is done to avoid confusion, but you can configure it as you want. This may contain bugs of various sorts as it is was released publicly today.


r/comp_chem • • 9d ago

Q: Any strong opinions of python gromacs wrappers/ apis ?

8 Upvotes

Hi everyone,

I want to start moving my assemblege of bash scripts running gromacs to a personal set of python tools and i was wondering if anyone had experience between the different gromacs wrappers / apis ?
The main ones if found so far gmxapi, GromacsWrapper, Gromacs_py ... the first two seem more comprehensive.


r/comp_chem • • 10d ago

Theory study-buddy

12 Upvotes

Hello everyone,

I am a fresh BSc. graduate. I did my undergrad in petroleum chemistry and got really into comp chem (DFT) in my final year, even publishing two papers in Q1 journals. I really love the field and want to go further. The obvious next step is a PhD in comp or phys chem. Finally getting to the point, my problem is that I don't have a rigorous foundation in QM or mathematics. I started McQuarrie's Quantum Chemistry, but I keep struggling. So, I was wondering if anyone's going through the same thing right now and maybe we can struggle together.

Thank you!


r/comp_chem • • 10d ago

30 Years of Grimme Method Development in 9 Minutes: A Film by Claude and Me

32 Upvotes

I spent some of my best and most enlightening scientific years in Stefan Grimme’s group in Bonn. This short film is a thank-you to Stefan and the group for 30 years of computational chemistry method development: from D3/D4 and GMTKN55 to r2SCAN-3c, CREST, CENSO, xtb, and now g-xTB. I was lucky to contribute to some of these projects, and I’m glad I still feel at home in the MCTC community.

Watch the film on YouTube - I think it provides a nice overview of the group's most important developments (from my personal POV).

Almost all the results in the film, animated by Claude, came from calculations that ran overnight on two cores of my four-year-old laptop. That says a lot about the methods and codes behind them, including xtb and ORCA.

This is useful well beyond making films. In my daily work on lanthanide materials at beeOLED, fast methods that cover the whole periodic table make much of the work possible in the first place.

Also, it was insane to see how good Claude is at turning prompts into polished educational material. Definitely something I am going to use much more in the future.


r/comp_chem • • 10d ago

Help in molecular docking error

1 Upvotes

Hi ! Im using Dockey GUI and Autodock4 to run docking. I got this issue error. However the first time i ran this docking it was successful, the second time this error appeared everytime. Anyone can help? I tried so may things fixing the protein or ligand but nothing worked. Tried different ligands too so im guesing the main issue is the software itself

error code
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 2: character maps to <undefined> inside param.py (make_dpf_file, line 798).


r/comp_chem • • 11d ago

Im looking for connections in the DFT -SQS computational research community.

11 Upvotes

I'm a PhD student in Physics working on DFT-based computational materials research, and lately I've been doing a lot with SQS (special quasirandom structures) for modeling disordered systems, mainly high-entropy alloys for sodium-ion battery anodes.

I'm looking to connect with people in the DFT and SQS community, whether you're just starting out or have been at it for years. Here's what I'd like to do:

  • Swap ideas and workflows (SQS generation, supercell size choices, convergence headaches, etc.)
  • Talk through problems we're each stuck on
  • Share tips on tools like VASP, Quantum ESPRESSO, ATAT/mcsqs, icet, pymatgen
  • Maybe collaborate on projects or papers down the line

Honestly, I'd also just like to have people to nerd out with about this stuff. Computational work can get a bit isolating, and it helps a lot to have people to bounce ideas off.

If you're working on alloys, disordered materials, battery materials, or anything along those lines, drop a comment or DM me. I'd love to hear what you're working on! 🙂


r/comp_chem • • 11d ago

Connections in the DFT -SQS computational research community.

Thumbnail reddit.com
2 Upvotes

r/comp_chem • • 11d ago

Help for QM/MM with highly charged zone

7 Upvotes

I am trying to set up a QM/MM simulation of a biochemical system.

I have already minimized, heated, and equilibrated my system using full MD. I then selected my QM region based on a previously published paper.

However, my active site is extremely negatively charged (-4), even though the overall QM region has a charge of -1. As a result, the water molecules included in the QM region are strongly attracted to the active site, get pulled too close, and the QM/MM simulation eventually blows up and crashes.

To try to prevent this, I added the following restraints to my Amber input:

  ! Test restraint
  ntr = 1,
  restraint_wt = 20.0,
  restraintmask = '@17459-17461,17951-17953,16487-16489,17651-17653,16291-16293,17915-17917,17699-17701,15847-15849,15855-15857,16895-16897,17011-17013,18723-18725,15795-15797',

However, I am still experiencing the same issue.

I also tried increasing qmcut, so that my QM/MM input now includes:

  qmcharge=-1,
  qmcut=15.0,
  qmshake=1,
  qm_ewald=0,
  writepdb=1,
  qm_theory='EXTERN',
/

I am genuinely confused about how to address this problem. My QM method is GFN1-xTB.

Thanks for your help guys

EDIT: I forgot to mention that, as pointed out in one of the comments, I am trying to reproduce a paper in which water molecules are included in the QM region, so I do not want to remove them.

Regarding the setup, I am using:

  nstlim = 2000,
  dt = 0.0005,
  nscm = 100,                ! Remove COM motion

! Temperature Control
  ntt = 3,                   ! Sets the thermostat to be used, 3 = Langevin dynamics
  gamma_ln = 5.0,             ! Collision frequency for Langevin dynamics
  ig = -1,                    ! Sets pseudo-random seed based on wallclock

! Pressure Control
  ntp = 0,                 ! Isotropic position scaling

! Miscellaneous
  cut = 10.0,              ! Non-bonded interaction cutoff (in A)

! Periodic Boundary Conditions
  ntb = 1,                 ! Sets periodic boundary conditions, 0=none, 1=const_V, 2=const_P
  iwrap = 0,               ! Makes sure wrapping is off 

! SHAKE
  ntc = 2,                 ! Sets SHAKE to constrain Hs
  ntf = 2,                 ! Omit bond interactions involving Hs (use with ntc = 2)

  ! QM/MM
  ifqnt=1,                 ! Enable QM/MM calculations

r/comp_chem • • 11d ago

Computational Drug Design Project, need urgent help

0 Upvotes

I am a biotechnology student. I’ve been assigned a drug designing project by my professor. Unfortunately, the initial instructions and information provided were limited, so I’m having to figure out almost the entire computational workflow independently.

If anyone has completed a similar academic project, I’d genuinely appreciate advice, recommended resources, or even a simplified workflow that I can follow.

I’m familiar with the basic concepts but not practically, so I need practical guidance on the software, databases, and tools required to carry out steps and presenting.


r/comp_chem • • 11d ago

I built a tool to help search research faster — looking for feedback

0 Upvotes

I’m building Citation Atlas to make it easier to find relevant research. It lets you explore papers that cite a selected paper and find related work through shared references.

I’d be interested in feedback from computational chemists: when you try a paper you know well, do the connections help you find useful reading?

https://mycitationatlas.com

I’m the developer—if you’re interested in free access, just DM me.


r/comp_chem • • 12d ago

Why is my defective SiO₂ structure so difficult to converge during vc-relax in Quantum ESPRESSO?

Thumbnail reddit.com
2 Upvotes