Skip to content

Conversation

@epretti
Copy link
Member

@epretti epretti commented Jul 16, 2025

Fixes #291 and #384. Relevant changes in my patched branch of ParmEd are 5592a24 and 98d5d5f. This also affects GLYCAM (just the FFXML, not any force field behavior) because the script that ParmEd now uses to postprocess the exceptions is more general.

@codecov-commenter
Copy link

codecov-commenter commented Jul 16, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.14%. Comparing base (44b7d67) to head (0bfedd0).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #390   +/-   ##
=======================================
  Coverage   84.14%   84.14%           
=======================================
  Files           5        5           
  Lines         776      776           
=======================================
  Hits          653      653           
  Misses        123      123           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@epretti epretti marked this pull request as ready for review July 16, 2025 16:49
@epretti
Copy link
Member Author

epretti commented Jul 22, 2025

The user who requested this tested it out and it works for them. I have also checked that it is able to parameterize all of the standard OpenMM Modeller-supported lipids. Let me know if this looks good, and if you approve, I will merge, and can then open a PR to add Lipid21 to OpenMM.

@epretti epretti enabled auto-merge July 22, 2025 16:14
@peastman
Copy link
Member

I'm not familiar with any of this code. I don't think I'm qualified to review it!

@epretti epretti mentioned this pull request Jul 30, 2025
@epretti epretti disabled auto-merge August 1, 2025 21:04
@epretti
Copy link
Member Author

epretti commented Sep 4, 2025

Working on #393 has been awful in general (current state can be found at https://github.com/epretti/openmmforcefields/tree/validate-amber: this is still a work in progress!), but the lipid force fields have thankfully not contributed to the many problems that have come up. So that we can get this merged here and then get Lipid21 into the OpenMM 8.4 beta, I've run some additional validation of this new force field.

In addition to the basic validation done by the existing conversion script, I've put together a lipid test suite in the validate-amber branch linked above to check OpenMM energies vs. sander. All lipid head and tail groups supported by Lipid17 and Lipid21 should be covered, as well as all lipid residues in the "merged"/CHARMM-style files. All tests pass for Lipid21 (and Lipid17 as well). I've also checked that Lipid21 works with all of the Modeller-supported membranes, and that a basic membrane protein simulation with ff19SB + Lipid21 + OPC3 water can be parameterized and integrated stably for 100 ps. This gives me more confidence that Lipid21 is OK to go.

The associated changes to ParmEd mentioned previously had caused the GLYCAM XML file to change as well. None of the results should have changed, but I'm reverting that update in this PR for now until we can actually validate it properly by resolving #393.

@peastman
Copy link
Member

peastman commented Sep 5, 2025

That sounds great. I'm sorry Amber validation has been so painful!

@epretti epretti mentioned this pull request Sep 5, 2025
@epretti epretti enabled auto-merge (squash) September 5, 2025 22:53
@epretti epretti merged commit 48a0b54 into openmm:main Sep 8, 2025
14 checks passed
@epretti epretti deleted the lipid21 branch September 8, 2025 21:34
@mikemhenry mikemhenry mentioned this pull request Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Convert Lipid21 to FFXML

3 participants