gmx genconf multiplies a given coordinate file by simply stacking them on top of each other, like a small child playing with wooden blocks. The program makes a grid of user-defined proportions (-nbox), and interspaces the grid point with an extra space -dist.
When option -rot is used the program does not check for overlap between molecules on grid points. It is recommended to make the box in the input file at least as big as the coordinates + van der Waals radius.
If the optional trajectory file is given, conformations are not generated, but read from this file and translated appropriately to build the grid.
Options to specify input and output files:
-f [<.gro/.g96/...>] (conf.gro) (Input)
Structure file: gro g96 pdb brk ent esp tpr tpb tpa
-o [<.gro/.g96/...>] (out.gro) (Output)
Structure file: gro g96 pdb brk ent esp
-trj [<.xtc/.trr/...>] (traj.xtc) (Input, Optional)
Trajectory: xtc trr cpt trj gro g96 pdb tng
-nice <int> (0)
Set the nicelevel
-nbox <vector> (1 1 1)
Number of boxes
-dist <vector> (0 0 0)
Distance between boxes
-seed <int> (0)
Random generator seed, if 0 generated from the time
Randomly rotate conformations
Random shuffling of molecules
Sort molecules on X coord
-block <int> (1)
Divide the box in blocks on this number of cpus
-nmolat <int> (3)
Number of atoms per molecule, assumed to start from 0. If you set this wrong, it will screw up your system!
-maxrot <vector> (180 180 180)
Maximum random rotation