As an editing program, EDPDB can output the editing result to either the terminal or to new PDB format files. It can also read multiple PDB files.
Function: Output
Syntax:
APPEND [comment]
Note:
The optional comment, which is usually a text string, will be
written in front of the output records.
See also: WRITE
Examples:
1) Append the current ON atoms to the opened PDB file.
append2) Switch the order of two molecules, A and B, in the output file.
initial chain b write ba.pdb 'REMARK molecule B the first' initial chain a append 'REMARK molecule A follows molecule B'
Function: Output, Control
Syntax:
EXIT [file_name] [(COS, HEADER, title )]
Note:
1) The default file name is the same as that of the (1st) input
PDB file. To use the default file name, type a comma instead
of a file name.
2) The default file type is .pdb.
3) The EXIT command is equivalent to a WRITE statement
followed by a QUIT statement without the SAVE option.
4) See the documentation of the WRITE command for the
information of the header options.
Examples:
1) Write the current ON atoms to a new PDB file, and quit from
EDPDB.
exit new_coor.pdb2) Write a new PDB file including the cell parameter information, and quit from EDPDB.
cell 61.2 61.2 96.8 90.0 90.0 120.0 1 ; T4 lysozyme, P3221 crystal form exit new_t4l.pdb cos
Function: Output
Syntax:
1) LIST [ n1 [n2] ]
2) LIST ZONE
3) LIST VECTOR [dmin, dmax, max_center_to_center_dist]
Note:
1) The n1 and n2 are the sequential numbers of the sorted ON
records, which between which the records will be listed.
The default of n1 is 1
, and the default of
n2 is the end of ON
atoms.
2) The second form lists the currently selected zone(s).
Examples:
1) List all the ON atoms.
list2) List the 100th-110th Ca atoms.
initial Ca list 100 1103) List the 1500th ON atom and its following atoms.
list 15004) List the top 40 best ordered solvent molecules, ie the solvent molecules of the lowest B factors.
initial residue sol sort b list 1 405) List the residues that are within 4.5 A from OG atom of residue 16.
initial nayb 4.5 16 OG list zone6) List the topology of the beta sheets. (Ref. Koch, et al. (1992). Analysis of Protein Sheet Topologies by Graph Theoretical Methods. Protein: Struc., Func., and Gen.. 12:314-323).
initial .... ; selete beta strands list vector
Function: Input
Syntax:
READ file_name [mark] [INITIALIZE]
Note:
1) The mark is a character string, which will be used to substitute
the chain names in the input file. (See
Start EDPDB
for more information).
2) If the INITIALIZE option is used, the original records stored in
the program will be overwritten. Otherwise, the new records
will be appended to the original ones.
3) The file input with a READ command can not be recovered
with the RESET command.
See also: RESET and Start EDPDB
Examples:
1) Read a PDB file, keep the chain name as it is, and overwrite
the previously input records.
read file_b.pdb , initialize or read file_b.pdb _ initialize2) Read a PDB file (abcd.pdb) which contains A, B, C and D four chains. The chain names will be changed to S, T, U and V when they are read in.
read abcd.pdb stuv
Function: Output
Syntax:
SEQUENCE [file_name] [format] [C]
Note:
1) The file_name defines an output file name for the sequence.
The default file name is the input file name with a .seq file
type.
2) The format is a FORTRAN output format for output of the
sequence characters. The default format is (5(1X,10A1))
.
3) If the optional C is used, the chain name of the first ON atom
of each residues will be output as the sequence characters.
See also: DFRES, FILE and SETC
Examples:
1) Output the amino acid sequence of residues 1 - 164 to a file
called aa.seq.
zone 1 - 164 sequence aa.seq2) Output the burial-solvent_exposure pattern of the protein molecule.
initial ca setc b ; B stands for burial, to initialize with more access sumw x ; calculate the solvent accessible area of each residue initial ca from { x > 20.0 } ; select solvent exposed residues setc E ; E stands for exposed ca sequence pattern.seq
Function: Output
Syntax:
WRITE file_name [(COS, HEADER, BLANK, title )]
[format]
Note:
1) The default file type of the output file is .pdb.
The VMS EDPDB always creates a new-version file of the specified filename,
while the unix one overwrites the old file of the specified filename
if it exists.
2) If the option COS is used, the CRYST, ORIGX and SCALE
information will be written onto the new PDB file. This is
the default option if the required cell parameters have been input.
3) If the option HEADER is used, the header from the 1st input
PDB file will be copied to the new file.
4) BLANK option is used to superess any header output. It becomes
the default option if on cell parameter has been input.
5) The title is a text string that is enclosed with a pair of
quotation mark (' '). It will be output before other records.
6) The format must be a FORTRAN output format for a text
string and two real numbers. It can be used to reformat the
output records. The default is the PDB format.
7) The order of the output records can be affected by the SORT
command.
See also: APPEND, CELL, CLOSE, CLOSER, MMIG, READ, SHAPE and SORT
Examples:
1) Output the Ca atoms to a PDB file, eg. called Ca.pdb
initial ca write Ca.pdb2) Output the ON atoms to a PDB file and add the CRYST, ORIG and SCALE information.
cell 61.2 61.2 96.8 90.0 90.0 120.0 1 write new_coor.pdb cos3) Output the ON atoms to a PDB file and copy the header from the original (1st) input PDB file.
write new_coor.pdb header4) Output the ON atoms to a PDB file and add a title to the PDB file. Note that the double quotation mark is to prevent changing the title to lower cases.
setenv tolower off write new_coor.pdb 'REMARK This is a test PDB file.'5) Output the ON atoms to a file in which the W, B column is at the beginning of each record.
write new_coor.dat , '(t20,a,t1,2f8.3)'