Man page - gmx-genrestr(1)
Packages contas this manual
- gmx-wham(1)
- gmx-trjcat(1)
- gmx-confrms(1)
- gmx_d(1)
- gmx-xpm2ps(1)
- gmx-make_edi(1)
- gmx-solvate(1)
- gmx-awh(1)
- gmx-help(1)
- gmx-hydorder(1)
- gmx-velacc(1)
- gmx-order(1)
- gmx-clustsize(1)
- gmx-densorder(1)
- gmx-msd(1)
- gmx-saxs-legacy(1)
- gmx-covar(1)
- gmx-tcaf(1)
- gmx-filter(1)
- gmx-rms(1)
- gmx-bundle(1)
- gmx-vanhove(1)
- gmx-enemat(1)
- gmx-rama(1)
- gmx-spatial(1)
- gmx-nmens(1)
- gmx-mdmat(1)
- gmx-rotmat(1)
- gmx(1)
- gmx-eneconv(1)
- gmx-h2order(1)
- gmx-current(1)
- gmx-genion(1)
- gmx-rmsdist(1)
- gmx-report-methods(1)
- gmx-distance(1)
- gmx-insert-molecules(1)
- demux(1)
- gmx-dielectric(1)
- gmx-sans-legacy(1)
- gmx-sigeps(1)
- gmx-genrestr(1)
- gmx-analyze(1)
- gmx-convert-tpr(1)
- gmx-potential(1)
- gmx-wheel(1)
- gmx-mk_angndx(1)
- gmx-x2top(1)
- gmx-genconf(1)
- gmx-mindist(1)
- gmx-dipoles(1)
- gmx-polystat(1)
- gmx-hbond-legacy(1)
- gmx-gyrate-legacy(1)
- gmx-make_ndx(1)
- gmx-nonbonded-benchmark(1)
- gmx-sham(1)
- gmx-nmr(1)
- xplor2gmx(1)
- gmx-densmap(1)
- gmx-bar(1)
- gmx-trajectory(1)
- gmx-sasa(1)
- gmx-dos(1)
- gmx-principal(1)
- gmx-pme_error(1)
- gmx-hbond(1)
- gmx-dump(1)
- gmx-traj(1)
- gmx-freevolume(1)
- gmx-trjconv(1)
- gmx_mpi(1)
- gmx-density(1)
- gmx-pdb2gmx(1)
- gmx-spol(1)
- gmx-cluster(1)
- gmx-select(1)
- gmx-rmsf(1)
- gmx-angle(1)
- gmx-saltbr(1)
- gmx-scattering(1)
- gmx-energy(1)
- gmx-dyecoupl(1)
- gmx-disre(1)
- gmx-pairdist(1)
- gmx-extract-cluster(1)
- gmx-tune_pme(1)
- gmx-check(1)
- gmx-nmtraj(1)
- gmx-helix(1)
- gmx-trjorder(1)
- gmx-grompp(1)
- gmx-gangle(1)
- gmx-dssp(1)
- gmx-convert-trj(1)
- gmx-sorient(1)
- gmx-chi(1)
- gmx-anaeig(1)
- gmx-lie(1)
- gmx-helixorient(1)
- gmx-mdrun(1)
- gmx-editconf(1)
- gmx-rdf(1)
- gmx_mpi_d(1)
- gmx-rotacf(1)
- gmx-nmeig(1)
- gmx-gyrate(1)
apt-get install gromacs-data
Manual
| GMX-GENRESTR(1) | GROMACS | GMX-GENRESTR(1) |
NAME
gmx-genrestr - Generate position restraints or distance restraints for index groups
SYNOPSIS
gmx genrestr [-f [<.gro/.g96/...>]] [-n [<.ndx>]] [-o [<.itp>]]
[-of [<.ndx>]] [-fc <vector>] [-freeze <real>]
[-[no]disre] [-disre_dist <real>] [-disre_frac <real>]
[-disre_up2 <real>] [-cutoff <real>] [-[no]constr]
DESCRIPTION
gmx genrestr produces an #include file for a topology containing a list of atom numbers and three force constants for the x-, y-, and z-direction based on the contents of the -f file. A single isotropic force constant may be given on the command line instead of three components.
WARNING: Position restraints are interactions within molecules, therefore they must be included within the correct [ moleculetype ] block in the topology. The atom indices within the [ position_restraints ] block must be within the range of the atom indices for that molecule type. Since the atom numbers in every moleculetype in the topology start at 1 and the numbers in the input file for gmx genrestr number consecutively from 1, gmx genrestr will only produce a useful file for the first molecule. You may wish to edit the resulting index file to remove the lines for later atoms, or construct a suitable index group to provide as input to gmx genrestr.
The -of option produces an index file that can be used for freezing atoms. In this case, the input file must be a .pdb file.
With the -disre option, half a matrix of distance restraints is generated instead of position restraints. With this matrix, that one typically would apply to Calpha atoms in a protein, one can maintain the overall conformation of a protein without tieing it to a specific position (as with position restraints).
OPTIONS
Options to specify input files:
- -f [<.gro/.g96/...>] (conf.gro)
- Structure file: gro g96 pdb brk ent esp tpr
- -n [<.ndx>] (index.ndx) (Optional)
- Index file
Options to specify output files:
- -o [<.itp>] (posre.itp)
- Include file for topology
- -of [<.ndx>] (freeze.ndx) (Optional)
- Index file
Other options:
- -fc <vector> (1000 1000 1000)
- Force constants (kJ/mol nm^2)
- -freeze <real> (0)
- If the -of option or this one is given an index file will be written containing atom numbers of all atoms that have a B-factor less than the level given here
- -[no]disre (no)
- Generate a distance restraint matrix for all the atoms in index
- -disre_dist <real> (0.1)
- Distance range around the actual distance for generating distance restraints
- -disre_frac <real> (0)
- Fraction of distance to be used as interval rather than a fixed distance. If the fraction of the distance that you specify here is less than the distance given in the previous option, that one is used instead.
- -disre_up2 <real> (1)
- Distance between upper bound for distance restraints, and the distance at which the force becomes constant (see manual)
- -cutoff <real> (-1)
- Only generate distance restraints for atoms pairs within cutoff (nm)
- -[no]constr (no)
- Generate a constraint matrix rather than distance restraints. Constraints of type 2 will be generated that do generate exclusions.
SEE ALSO
gmx(1)
More information about GROMACS is available at <http://www.gromacs.org/>.
COPYRIGHT
2025, GROMACS development team
| May 12, 2025 | 2025.2 |