The alignment has to be in memory. The target sequence is the last protein in the alignment and has to be the same as the MODEL sequence. The template structures are all the other proteins in the alignment.
Before transferring coordinates, the template structures generally have to be explicitly least-squares superposed onto each other. This is most conveniently achieved with the MALIGN3D command called just before TRANSFER_XYZ. This is an important difference relative to MODELLER-3, which did not require explicit superposition by the user. Note, however, that the 'model' script does this superposition automatically.
If CLUSTER_CUT is less than 0, the transferred coordinates for a given target atom are the average of the coordinates of all the equivalent template atoms. Otherwise, the transferred coordinates are the average of the templates in the largest cluster of the atoms. This cluster is obtained as follows (it only works when all templates and the target have exactly the same topology): For each residue position separately, calculate the maximal inter-template equivalent atom-atom distances (CLUSTER_METHOD = 'MAXIMAL_DISTANCE') or atomic RMS deviation (CLUSTER_METHOD = 'RMSD') for all template-template comparisons. Use the weighted pair-group average clustering method (the same as in the DENDROGRAM command) to obtain the clustering tree for the given residue position. Find the clusters that contain residues joined above CLUSTER_CUT angstroms (1 is a good value). Use the largest cluster in the averaging for the target coordinates. The number of residue positions at which each template contributes to the consensus is written to the log file ('The largest cluster occupancy'). Sometimes the first template contributes many more times than the rest of the templates. This results from having many residue positions where all ``clusters'' have one template only (the first cluster/template is then picked by default). This artifact can be corrected by specifying a larger CLUSTER_CUT.
Both kinds of averaging, but especially the cluster averaging, are useful for deriving a consensus model from an ensemble of models of the same sequence. If the consensus model is optimized by the conjugate gradients method, it frequently has a significantly lower value of the objective function than any of the contributing models. Thus, the construction of a consensus model can also be seen as part of an efficient optimization. The reason why consensus construction frequently results in better models is that the consensus model generally picks the best (i.e., most frequent) conformation for the regions that are variable in the individual models, while it is very unlikely that a single model will have optimal conformation in all of the variable regions. The consensus construction may not work when two or more locally optimal conformations are inconsistent with each other (e.g., because of the atom overlaps).
Two atoms are equivalent if they have exactly the same name and are in the equivalent residues. Note that the $ATMEQV_LIB library of equivalent residue-residue atom pairs, which is used in the construction of homology-derived distance restraints, is not used here. The atom names in the target may not correspond to the atom names in the template files. In such a case, if you want to copy the template atoms' coordinates, you have to edit the atom names in the template atom files so that they correspond to the MODELLER atom names (which you can see in the .ini atom file). At least for water molecules, this is usually better than letting the optimizer deal with grossly incorrect starting positions.
The atoms with undefined coordinates in MODEL are flagged by setting the coordinates to . The coordinates of the undefined atoms of the MODEL can be set with the BUILD_MODEL command, which relies on the internal coordinates specified in the residue topology library or on various types of geometric interpolation and extrapolation.
# Example for: TRANSFER_XYZ # This will build a model for a given sequence by copying # coordinates from aligned templates. When the templates # have the same sequence as the target, this procedure ensures # that the new model corresponds to the MODELLER topology library. READ_TOPOLOGY FILE = '$(LIB)/top_heav.lib' READ_PARAMETERS FILE = '$(LIB)/par.lib' # Read the sequence and calculate its topology: READ_ALIGNMENT FILE = 'toxin.ali', ALIGN_CODES = '2ctx' '1nbt' MALIGN3D FIT = off SET ADD_SEQUENCE = on READ_ALIGNMENT FILE = 'toxin.ali', ALIGN_CODES = ALIGN_CODES '1fas' GENERATE_TOPOLOGY SEQUENCE = '1fas' # Assign the average of the equivalent template coordinates to MODEL: TRANSFER_XYZ # Get the remaining undefined coordinates from internal coordinates: BUILD_MODEL INITIALIZE_XYZ = off # Write the final MODEL coordinates to a PDB file: WRITE_MODEL FILE = '1fas.ini'