Conversion of ligand pdb to gro file

GROMACS version: 2022.1
GROMACS modification: No
Here post your question

I have a ligand pdb file for flavin adenine dinucleotide (FAD) that I am trying to convert to the gro format using gmx editconf -f fad_ini.pdb -o fad.gro
The gro file is truncating the z coordinates of the pdb file and I can’t fix it.
My z coordinates are xx.xxx format

Hi,
In the gro file, the positions are in nm, (with 3 decimal places) while in pdb the positions are in Angstrom. Can this explain the truncation you observed?
Here you find more on gro file
https://manual.gromacs.org/current/reference-manual/file-formats.html#gro
\Alessandra