How to contribute (coarse-grained) force field parameters with tabulated potentials? #278
Replies: 6 comments 7 replies
-
Good question. We should probably separate out bonded and non-bonded tab potentials, since vermouth doesn't deal with non-bonded parameters at all at the moment. |
Beta Was this translation helpful? Give feedback.
-
We're tlaking gromacs herr? Are the interactions split in bonded and nonbonded contributions actually? Would it be possible for the bonded interactions to define them as types? If yes we can just offload them to the ff-files. |
Beta Was this translation helpful? Give feedback.
-
Yes, I am talking about Gromacs. I am not familiar with how the bonded tabulated potentials are defined, actually, because I have parametrized those in the standard way - i.e., fitting standard harmonic, etc. potentials. This is the stuff you need for the nonbonded:
The Let me know what your thoughts on this. |
Beta Was this translation helpful? Give feedback.
-
IIRC (but it's been a while) it works similar for bonded potentials: you designate them the appropriate function type (forgot the number. 8?), and the parameter is an integer. That integer is then used to lookup the correct xvg table with energies, e.g. Do we want to limit this discussion to one of the two? There currently is a need for non-bonded tabulated potentials, so maybe just look at that? I think it would make sense to keep the interaction tables ( |
Beta Was this translation helpful? Give feedback.
-
I think there are a couple of interesting but separate issues/additions/suggestions here: 1 - I like the idea of a warning directive in the ff format. That would be super useful for many polymers in polyply. Expect a PR this month. We can always add a warning independent from how we solve the problem in detail. 2 - Let's focus on the non bonded tabulated potentials first. There are two aspects in this topic as well: 2a: Are we going to provide the table parameters as part of the polyply library? I am against that because we also do not provide force-field parameters. Providing them means having to take care of those which I would rather not do. A warning or usage note would be better at least for the near future in my opinion. 2b: How are we generating coordinates? The random-walk uses a LJ potential independent of the underlying non bonded interactions in the actual force-field. So the tabulated potential only matters for estimating the volume of the residue. We have two options: (1) We can add a CLI argument on which the user provides the path to the tabulated potential files. We can generate the pair interactions automatically from the file names, interpolate the potential, find the zero energy and use that as a volume. Not sure that it will be worth it though. (2) We do the same as we plan to do for DNA. We provide a build file with a volume entry in the library directory. When provided with a library in gen_coords polyply reads the volume from either the build file provided via CLI or from the library. Thus we simply store an approximate volume with the ff-files in the library. That would be my favourite option, because we don't need to add any parsers or code. It already works to provide a volume via the build file of the CLI but the library option currently depends on PR #253 So my plan would be as follows:
I think this should be the most easy option. @ricalessandri @pckroon do we want to divide the tasks among us? |
Beta Was this translation helpful? Give feedback.
-
I'd be happy to implement the first TODO in vermouth (log triggers in the ff file format). |
Beta Was this translation helpful? Give feedback.
-
Just thought I would open first a discussion about this, since it might be useful for others. How to contribute coarse-grained force field parameters with tabulated potentials (I developed a couple of models in https://arxiv.org/abs/2209.02072)? Basically, what one needs are files that contain the potentials of all the pair interactions. Should they be uploaded/stored in the polyply
data
somewhere or uploaded on Zenodo/Figshare and then have a link to it in the.ff
header?Beta Was this translation helpful? Give feedback.
All reactions