-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Support wet octanol solvent box and AMBER/CHARMM forcefields #103
Conversation
I'm fine with this solution if it solves the problem. |
I don't have a better idea – I didn't realize that Gromacs only deals gracefully with single-molecule solvents. |
@VOD555 ping me when you think this is ready to be reviewed or if you need specific feedback. |
@orbeckst Yes, I think that should be closed. |
Do you know why the tests fail? |
Not very sure... |
Note: To test wet octanol we need new |
To have MDA in the tests, it also needs to be installed in travis.yml. |
For the template failures: try using |
@orbeckst : add MDAnalysis to PR |
@orbeckst Gromacs2019 can recognize different solvent molecules and add them to the |
Not sure, what do the two different templates look like? In principle we can use |
|
||
[ molecules ] | ||
; Compound #mols | ||
DRUG 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@orbeckst The old version GROMACS needs one line OcOH 1
after the DRUG
line here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can use Gromacs preprocessor directives in the file and define a variable MDPOWPREGMX2019
DRUG 1
#ifdef MDPOWPREGMX2019
OcOH 1
#endif
You would then add to the MDP file
define = -DMDPOWPREGMX2019
In this way, we have the same top file and just switch how it is read by Gromacs depending on the version. MDPOW will have to add the appropriate define option when it generates the MDP file(s).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that this will work but perhaps try it out manually first.
@VOD555 How about get this PR done first for Gromacs 2018 and older (you can mark the test as an expected failure if |
Codecov Report
@@ Coverage Diff @@
## develop #103 +/- ##
======================================
Coverage 0% 0%
======================================
Files 10 10
Lines 1214 1260 +46
Branches 143 143
======================================
- Misses 1214 1260 +46
Continue to review full report at Codecov.
|
This PR only supports wetoctanol with GROMACS version below 2018.1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thank you for this major effort, @VOD555
Raise new issues as necessary, please.
@VOD555 could you please clean up and condense the history with
Squash all these try this/try that commits together. What I want to avoid is having the force field files and the code changes in one commit. At a minimum 5662554 should remain a separate commit – if you want to squash everything else together then please do. Or group commits into logical units. In any case, I'd like to see a cleaner commit history. Once this is done, we can do a simple merge. |
ALSO: please add entry to CHANGELOG! |
Issue #98
Changes made in this Pull Request:
Tests passed locally.
It seems we need test run for solvation free energy calcualtion with new forcefields. And current scripts don't support new forcefields.
PR Checklist