GROMACS version: 2024.3 (double precision)
GROMACS modification: No
Hello there, I’m looking to couple gromacs with another code. All molecules are rigid so I need to be able to input and output atom coordinates in double precision for the other code to work.
I have complied gmx_d but I am having some trouble getting grompp to read atom position data in double precision. The file formats listed in the user manual for grompp are gro, g96, pdb, brk, ent, esp and tpr, however these do not seem to be acceptable in double precision. Is there anything I might be missing that would allow me to do this?
What input (in double precision) would you like to use? Tpr files can be in double precision. You can also use the -t option to get the last coordinate frame from trr, cpt or tng files. As far as I know, those are the available options.
double precision x y z coordinates → trjconv → .trr file
.trr file → grompp with -t option → .tpr file to run MD simulation with mdrun
I’m not sure how to create compressed/binary files from my x,y,z data. Is it possible to use .pdb or .gro files with double precision in trjconv if I set -ndec to 15 or something like that?
I’m afraid neither pdb nor gro files will help you, since the column positions are specified in the file format. It’s possible that MDAnalysis can be useful, if your input format is supported, see 6. Coordinates modules — MDAnalysis 2.7.0 documentation.