next up previous contents index
Next: MAKE_REGION define Up: Handling of atomic coordinates Previous: WRITE_DATA write   Contents   Index

WRITE_PDB_XREF -- write residue number/index correspondence

FILE = <string:1> 'default' partial or complete filename
OUTPUT_DIRECTORY = <string:1> '' output directory
MODEL_SEGMENT = <string:2> 'FIRST:@' 'LAST:' segment to be read in
ALIGN_CODES = <string:0> 'all' codes of proteins in the alignment
ATOM_FILES = <string:0> '' complete or partial atom filenames

Description:
This command writes the correspondence between the PDB residue numbers and residue indices for the selected part of the MODEL. It is more useful than one would think because of its interaction with the alignment data and the option to use wild characters to specify the beginning and ending residues.

Example:


# Example for: WRITE_PDB_XREF

# This writes out information useful for relating PDB residue numbers with
# residue indices.

SET OUTPUT_CONTROL = 1 1 1 1 1

READ_MODEL FILE = '2abx.atm', MODEL_SEGMENT = 'FIRST:@' 'END:'
SEQUENCE_TO_ALI ALIGN_CODES = '2abx'

WRITE_PDB_XREF FILE = '2abx.xref1',MODEL_SEGMENT='FIRST:@'  'END:'  # if not found, 1, NRES used
WRITE_PDB_XREF FILE = '2abx.xref2',MODEL_SEGMENT='1:'   '50:'  # You can use string resid's
WRITE_PDB_XREF FILE = '2abx.xref3',MODEL_SEGMENT='!2'  '!50'   # You can use integer resid's
WRITE_PDB_XREF FILE = '2abx.xref4',MODEL_SEGMENT='2abx' '2abx' # You can even use the alignment 
                                                               # specs, but not with ALIGN_CODES 
                                                               # that start with '!'
WRITE_PDB_XREF FILE = '2abx.xref5',MODEL_SEGMENT='!2'   '50:'  # You can mix the specs
WRITE_PDB_XREF FILE = '2abx.xref6',MODEL_SEGMENT='!2'  'END:'  # You can mix the specs


next up previous contents index
Next: MAKE_REGION define Up: Handling of atomic coordinates Previous: WRITE_DATA write   Contents   Index
Ben Webb 2004-10-04