-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Single molecule force fields #507
Comments
@rsdefever Thanks for the issue. I think this workflow in on itself would be a huge milestone for
What formats are the molecules represented currently? The serialized on disk representation of a Topology depends on #494, which I assume is almost resolved. Also, separating potentials from structures in a Topology can be done which of which a rough outline has been discussed here. Also, if we don't follow the serialization route an alternative would be to write a reader for the @classmethod
ForceField.from_topology(top: Topology, *args, **kwargs) -> 'ForceField':
This would be great, but I am assuming would require an extra step for conversion to
This part is not clear to me. Can we discuss this further?
We have some support for these writers pinned in #6
Overall, could be achieved and in development.
This is already implemented and we can support it with no/minor customization
Same as 3. |
You may wish to consider residue templates instead of force fields for cases like this. For small, custom force fields that are only valid for one molecule - and likely to only be used with one molecule - you can bypass the typing step and most of the complexity associated with force fields. In GROMACS world this is an ITP file and I think there is a similar equivalent in AMBER world for amino acids. What you describe in your first step is similar (but not identical) to what people do for proteins. |
Yes, and this is what we have in our group now, in a custom format. I have updated my original comment to not use the term "force field", because what I was envisioning was more like a residue template.
Currently they are in a custom Maginn force field archive (MaFFA) format. @umesh-timalsina what is the status of #462? It looks like there is not yet a method to serialize an entire Topology?
I don't mind the conversion. I don't think it would be too difficult to allow that function to take a
What I mean is that after (1) and (2) we would have fully parameterized |
Our group has many custom force fields for individual molecules that have been developed over the years. We would like to use
gmso
to store and use these force fields in our simulations. This results in a slightly different workflow than the typical workflow, so this thread will be a reference for the features we need ingmso
to accomplish our goals. Some of these things may already be possible ingmso
, but I am including everything for the sake of brainstorming and discussion.Workflow:
force field(s) for afully typed single molecule(s) from disk. This should include all atoms, atomtypes, partial charges, atomic positions, bonds, angles, dihedrals, impropers, and all the associated parameters and functional forms, for each molecule. I imagine this will be a serialized (on disk) representation of agmso.Topology
for a single molecule.BMIM
and 300PF6
). This step would most likely be done with thefill_box
functionality ofmbuild
.gmso.Topology
.Needs:
gmso.Topology
.gmso.Topology
many times.molecule_1
has an atom typeca
andmolecule_2
also has aca
atom type, we need to either:That is what I have for now. If anyone has additional thoughts on the needs/workflow/etc, please pitch in below.
The text was updated successfully, but these errors were encountered: