-
Notifications
You must be signed in to change notification settings - Fork 24
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
Support: Using pre-parameterized topologies in polyply #393
Comments
Hi @hannaomi, Yes in principle that is possible. The only issue I see here is that your molecule is defined as a single residue. That would mean polyply only places one gigantic bead, which of course you don't want. So the best course of action would be to assign resids for the individual residues/monomers in your polymer. There is an internal function that allows you to do this, but it is quite slow. It would be better to do this when generating the topology file. @ricalessandri has some experience with openFF and might have an idea of how to do this automatically. |
@hannaomi as Fabian said, that is possible. For example, I just tried out your
It'll generate a test.gro file with initial coordinates for 4 x MOL0 and 1x MOL1 that you have listed in the However, as Fabian points out, you'd want the polymers to be divided in residues - a different residue number per monomer. This really depends on how you generated the top file. Let me know if you want to discuss that. |
Hi @ricalessandri @fgrunewald , Many thanks for getting back to me so quickly. I will let you know if I need any further guidance with the residue assignment. Best, |
Hi @ricalessandri @fgrunewald , I have been using polyply to optimise a new .top file with partitioned residues (attached), but seeing this error message after calling gen_coords `!polyply gen_coords -p swiftpol_gromacs.top -name test -box 30 30 30 -o swiftpol_gromacs.gro INFO - step - reading topology The polymer chain also sits at the very edge of the box. Many thanks for your continued support! Hannah |
@hannaomi If a subsequent energy-minimization and MD simulation run fine, then this warning may just be disregarded. I would then check if that holds for the multi-chain simulation, too. |
Describe the bug
Is it possible to apply the self-exclusion random walk method to polymers not built using polyply. I have a GROMACS .top input from OpenFF-interchange (attached), with associated parameters that I would like to use.
polyply --version==1.7.0
Command line arguments
Provide all polyply calls and arguments needed to reproduce the issue:
(using python API)
Expected behavior
Expected gen_coords to read GROMACS topology file and parameters from an alternative source. Are extra files needed to describe?
Additional Files
openff-polymer.top.zip
The text was updated successfully, but these errors were encountered: