COPY

COPY.TEX 18-nov-91

COPY command sentences copies an property from the first SELECTION to the second one. Two SELECTIONS and a property must always be specified.

Copying is made by pairing atoms (ATOM, CLASS, COORDINATES, CHARGE, COLOR, RADII) or residues (RESIDUE, SEQUENCE) according to their sequential position in the both selections from first to the second. For example atom property of the third atom found in the first selection is copied to the third selected atom found in the second selection. Copying is done from the first selection(A) to the second one(B). Relation is B := A.

Syntax


COPY  RESIDUE         SELECT ... END         SELECT ... END
      SEQUENCE
      COORDINATES
      ATOM_NAMES
      CLASSES
      CHARGES
      COLORS
      RADII
      TEMPERATURE / BVALUES
      WEIGHT
      INTERNAL  DISTANCE
                ANGLES
                DIHEDRALS
                (ALL)
      POINTS    SURFACE
                POTENTIAL

Examples


MAIN> copy coordinate select atom number 1 29 end -
MAIN> select atom number 30 59 end


MAIN> copy sequence select segment number 1 end -
MAIN> select segment number 2 end