Closed kexul closed 2 years ago
Hi there. I'm a bit confused as to where you are seeing differences in the topology file? I've written the topology of the minimised system and compared it to the one written by the second process when applying the equilibration protocol. The only differences I see are the time stamp and the inclusion of a position restraint file. What files are you comparing when looking at the [pairs]
records?
In my case I do still see Constraint error in algorithm Lincs at step 0
, so the constraint is indeed invalid given the starting topology.
Hmmm, I've checked the topology with and without constraints in the equilibration protocol and it looks like it's extracting the lambda=0 state in one case, and not in the other. This should be consistent, so I'll try to work out why that's different.
Hi @lohedges , thanks for checking ! I just find that adding system = self._checkPerturbable(system)
here would help. https://github.com/michellab/BioSimSpace/blob/38457685dae4861ee360bf1661bdddc37df77e4e/python/BioSimSpace/Process/_gromacs.py#L2033
Yes, that's exactly the fix that I've just implemented :-)
I've added it on my feature branch which is still to be merged, so I'd suggest adding to your local copy for now.
Dear BioSimSpace Developers: Recently I found that the
.top
file would change after_add_position_restraints
during Gromacs setup, which would make the simulation fail to proceed. https://github.com/michellab/BioSimSpace/blob/3b8f38c4feec2280e1ea89c7f16b28631b1de4d8/python/BioSimSpace/Process/_gromacs.py#L2005Here is the code to reproduce:
Input files: temp.zip
Differences in
[pairs]
:Additional information
This is a perturbation that has ring breaking, [16, 37] is the bond that would break during the perturbation. Though this type of perturbation is not fully supported currently, could we have an easy fix? Thanks!