Static restraints are read from the restraints file or are generated by the model.restraints.make() command. All other restraints are dynamic restraints and are created on the fly; they currently include restraints on non-bonded atom pairs.
Restraints may be read from a restraints file in two formats, MODELLER or USER. The files in the MODELLER and USER formats have to begin with the lines 'MODELLER5 VERSION: MODELLER FORMAT' and 'MODELLER5 VERSION: USER FORMAT', respectively. In both formats, there is one entry per line. The format is free, except that the first character has to be at the beginning of the line. There are three different entry types in the MODELLER format:
R Form Modality Feature Group Numb_atoms Numb_parameters 0 Atom_indices Parameters E Atom_index_1 Atom_index_2 P Pseudo_atom_index Pseudo_atom_type Numb_real_atoms Real_atom_indices
For example,
R 3 1 1 1 2 2 0 437 28 1.5000 0.1000 E 120 540 P 1 3 3 120 121 122
When the line starts with 'R', it contains a restraint, 'E' indicates a pair of atoms to be excluded from the calculation of the dynamic non-bonded pairs list, and 'P' indicates a pseudo atom definition (Section 3.7.2).
The USER format recognizes only the R entries. The fields of a line in the USER format are:
Id Form Modality Feature Group Numb_atoms Numb_parameters 0 Parameters Atom_ids
(Note that Parameters and Atom_ids are in opposite orders in the USER and MODELLER formats.)
For example,
R 3 1 1 1 2 2 0 1.5000 0.1000 NH#:1:A CA:2:A
The seven integer indices used to specify various restraint properties are listed in Tables 3.3-3.5. They are: Form specifies the mathematical form of the restraint. Modality should be viewed as the argument to Form. It specifies the number of single Gaussians in a poly-Gaussian pdf, periodicity of the cosine in the cosine potential, and the number of spline points for cubic splines. Only certain combinations of Form and Modality are possible. Any Feature can be used with any Form/Modality pair. Group or ``physical feature type'' groups restraints for reporting purposes in model.energy(), etc. The number of atoms and parameters for the restraint are specified by Numb_atoms and Numb_prms, respectively. The seventh integer index can be ignored. Atom_indices and Parameters have to match the hard-wired conventions. The format of the atom id is ATOM_NAME:RESIDUE_#[:CHAIN_ID], where ATOM_NAME is the four character IUPAC atom name as found in a PDB file, RESIDUE_# is a five character residue number as it occurs in the PDB file of a model, and the optional CHAIN_ID is the single character chain id as it occurs in the PDB file. For example, the carbonyl oxygen (O) in residue '10A' in chain 'A' is specified by 'O:10A:A'; if the chain has no chain id, the name would be only 'O:10A'.
|
|