-
Notifications
You must be signed in to change notification settings - Fork 271
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
Residue name and atom name are forcibly rewritten #1514
Comments
I thought Gromacs had switched to using standard PDB names (HOH instead of SOL) years ago? |
@peastman Thank you for replying and the information. In some super computer systems, old version Gromacs is installed for compatibility. Where does mdtraj get information from? Normally, users think that residue and atom information in output will be based on the given topology. |
The names of atoms and residues are standardized as part of the PDB chemical components dictionary. MDTraj tries to follow the principle, "Be tolerant about what you accept as inputs and strict about what you produce as outputs." If your input file uses nonstandard names, it will do its best to interpret them correctly. It then does its best to make the files it writes fully standards compliant. |
@peastman OK. I understood. In output process, I use subprocess with trjconv instead of mdtraj. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
In Gromacs, water molecule recognized as the residue name SOL, atom name OW, and HW.
However, save_gro() and save_pdb() output water molecule as residue names HOH, atom names O, H1, and H2.
I'd like to use mdtraj to extract from the trajectory into each frame for use as an initial structure of next MD simulation.
Is there a way to keep residue and atom names in the topology file?
The text was updated successfully, but these errors were encountered: