next up previous contents index
Next: TRANSFER_XYZ copy Up: Handling of atomic coordinates Previous: WRITE_MODEL2 write   Contents   Index

BUILD_MODEL -- build MODEL coordinates from topology

INITIALIZE_XYZ = $\langle{\tt logical:1}\rangle$ on whether to use IC entries to calculate all coordinates
RAND_SEED = $\langle{\tt integer:1}\rangle$ -8123 random seed from -50000 to -2
BUILD_METHOD = $\langle{\tt string:1}\rangle$ 'INTERNAL_COORDINATES' method for building coordinates: 'INTERNAL_COORDINATES' | 'ONE_STICK' | 'TWO_STICKS' | '3D_INTERPOLATION'

Requirements:
topology file & parameters file & MODEL topology

Description:
This command builds Cartesian coordinates of the MODEL.

If INITIALIZE_XYZ is on, all coordinates are built. Otherwise only the undefined coordinates are built. The latter is useful because some coordinates may be undefined after the READ_MODEL or TRANSFER_XYZ command. The undefined coordinates have a value of $-999.$ when written to a PDB file.

If BUILD_METHOD is 'INTERNAL_COORDINATES', the Cartesian coordinates are built from the ideal values of the internal coordinates as obtained from the IC entries in the residue topology library. If an appropriate IC entry does not exist, the ideal value of the internal coordinate is calculated from the corresponding energy term in the parameter library. If some coordinates still cannot be built, they are set to values close to those of the neighboring atoms. If even this fails, they are set randomly.

If BUILD_METHOD is '3D_INTERPOLATION', the Cartesian coordinates are built by linearly interpolating between the two defined atoms that span the contiguous undefined segment of atoms. In this mode, both the mainchain and sidechain conformations of all inserted residues are random and distorted. This build-up mode is useful because it may eliminate a knot and minimize the extended nature of the insertion obtained by BUILD_METHOD = 'INTERNAL_COORDINATES'. In the end, the coordinates of each of the interpolated atoms are slightly randomized ( $\pm 0.2\mbox{\AA}$) to prevent numerical problems with colinear angles and colinear dihedral angles. If one or both of the spanning atoms are undefined, the 'ONE_STICK' option (below) is used.

If BUILD_METHOD is 'ONE_STICK', the Cartesian coordinates are built by ``growing'' them linearly out of the N-terminal spanning atom (C-terminal atom for the undefined N-terminal), away from the gravity center of all the defined atoms. If there is no spanning atoms, the spanning atom is defined randomly.

If BUILD_METHOD is 'TWO_STICK', the loop is broken into two equal pieces and the 'ONE_STICK' algorithm is applied to both halves of the loop separately.

Example:


# Example for: BUILD_MODEL

# This will build a model for a given sequence in an extended conformation.

READ_TOPOLOGY   FILE = '$(LIB)/top_heav.lib'
READ_PARAMETERS FILE = '$(LIB)/par.lib'

# Read the sequence from a file (does not have to be part of an alignment):
READ_ALIGNMENT FILE = 'toxin.ali', ALIGN_CODES = '1fas'
# Calculate its molecular topology:
GENERATE_TOPOLOGY SEQUENCE = '1fas'
# Calculate its Cartesian coordinates using internal coordinates and
# parameters if necessary:
BUILD_MODEL INITIALIZE_XYZ = on

# Write the coordinates to a PDB file:
WRITE_MODEL FILE = '1fas.ini'

Example:


# Example for: GENERATE_TOPOLOGY, BUILD_MODEL

# This will read a specified atom file, generate all hydrogen atoms,
# add atomic radii and charges, and write the model to a PDB file in
# the GRASP format. This can be used with GRASP to display electrostatic
# properties without assigning charges and radii in GRASP.

READ_TOPOLOGY   FILE = '$(LIB)/top_allh.lib'
READ_PARAMETERS FILE = '$(LIB)/par.lib'
SET TOPOLOGY_MODEL   = 1
READ_MODEL FILE = '1fas'
SEQUENCE_TO_ALI ATOM_FILES = '1fas', ALIGN_CODES = '1fas'
SEQUENCE_TO_ALI ADD_SEQUENCE = on, ATOM_FILES = ATOM_FILES '1fas.ini', ;
                ALIGN_CODES = ALIGN_CODES '1fas-ini'
GENERATE_TOPOLOGY SEQUENCE = '1fas'
# Have to patch the topology here to remove sulfhydril hydrogens:
PATCH RESIDUE_TYPE = DISU, RESIDUE_IDS =  '17'  '39'
PATCH RESIDUE_TYPE = DISU, RESIDUE_IDS =   '3'  '22'
PATCH RESIDUE_TYPE = DISU, RESIDUE_IDS =  '53'  '59'
PATCH RESIDUE_TYPE = DISU, RESIDUE_IDS =  '41'  '52'
TRANSFER_XYZ
BUILD_MODEL INITIALIZE_XYZ = off, BUILD_METHOD = 'INTERNAL_COORDINATES'
WRITE_MODEL FILE = '1fas.ini', MODEL_FORMAT = 'GRASP'


next up previous contents index
Next: TRANSFER_XYZ copy Up: Handling of atomic coordinates Previous: WRITE_MODEL2 write   Contents   Index
Ben Webb 2004-04-20