Macros

Some example .edp files, which can be found in the edp_data directory:
acc.edp , avb.edp , chi.edp , helix.edp , phipsi.edp , sumw.edp and symmetry.edp .

The .edp macro file is used to save typing for a repeated calculation. The default file type of the command file is .edp (for both the VMS and the unix versions). The macros listed in this section may also be used as templates. The .edp file saved using the QUIT SAVE command may also be modified as a template macro file. The following .edp files are available in the edp_data: directory for the VMS version of EDPDB, and in the edp_data/ directory for the unix version. If one does not have a file of the identical name in the current directory, the following examples can be used directly.


acc.edp

Calculate the solvent accessible area of the given residue in the context of the rest part of the protein.

Syntax:
@acc res_id

Examples:
1) Calculate the solvent accessible area of residue 99.

      @acc 99

avb.edp

Calculate the average B of the each residue, its main chain atoms and its side chain atoms, store these values in the x, y, z fields of the CA atom.

Syntax:
@avb

Examples:
1) Make a PDB format file of the B factor information.

      @avb
      write avb.pdb

chi.edp

Calculate the chi-I, chi-Ib (if exists) and chi-II of each residue, store them in the x, y, z fields of the CA atom.

Syntax:
@chi

Examples:
1) Make a PDB format file of the chi angle information.

      @chi
      write chi.pdb

helix.edp

Calculate the phi, psi angles of each residue, and write a chain name `H' to the residues which are of alpha conformation.

Syntax:
@helix


phipsi.edp

Calculate the phi, psi angles of each residue, store them in x, y fields of the CA atom. The result can be output to a PDB format file using WRITE command.

Syntax:
@phipsi

Examples:
1) Make a PDB format file of the phipsi information.

      @phipsi
      write phipsi.pdb

sumw.edp

Calculate the summation of W value for each residue, its main chain atoms and its side chain atoms, and store them in the x, y, z fields of the CA atom.

Syntax:
@sumw

Examples:
1) Make a PDB format file of the solvent accessible area information.

      initial
      more from { ca }
      access
      @sumw
      write saa.pdb

symmetry.edp

This macro contains symmetry operators for most of the space groups that a protein crystallographer may need. It may also be used an example file for using the GOTO/label:/RETURN statements. Syntax:
@symmetry space_group_name

Examples:
1) To input symmetry operators for space group P212121.

      @symmetry  p212121

Copyright 1995, Cai X.-J. Zhang, All Rights Reserved.