next up previous contents index
Next: DESCRIBE describe Up: Comparison and searching of Previous: SEQUENCE_TO_ALI copy   Contents   Index

WRITE_ALIGNMENT -- write sequences and/or their alignment

FILE = $\langle{\tt string:1}\rangle$ 'default' partial or complete filename
OUTPUT_DIRECTORY = $\langle{\tt string:1}\rangle$ '' output directory
ATOM_FILES = $\langle{\tt string:0}\rangle$ '' complete or partial atom filenames
ALIGN_CODES = $\langle{\tt string:0}\rangle$ 'all' codes of proteins in the alignment
ALIGNMENT_FORMAT = $\langle{\tt string:0}\rangle$ 'PIR' format of the alignment file: 'PIR' | 'PAP' | 'QUANTA' | 'INSIGHT' | 'FASTA'
ALIGN_BLOCK = $\langle{\tt integer:1}\rangle$ 1 the last sequence in the first block of sequences
ALIGN_ALIGNMENT = $\langle{\tt logical:1}\rangle$ off writing out an alignment of alignments (for *)
ALIGNMENT_FEATURES = $\langle{\tt string:0}\rangle$ 'INDICES CONSERVATION' what alignment features to write out: 'ACCURACY' | 'HELIX' | 'BETA' | 'ACCESSIBILITY' | 'STRAIGHTNESS' | 'CONSERVATION' | 'INDICES' | 'ALL' | 'GAPS'
CUT_OVERHANGS = $\langle{\tt logical:1}\rangle$ off whether to cut overhangs at OVERHANG residues or not
OVERHANG = $\langle{\tt integer:1}\rangle$ 0 un-penalized overhangs in protein comparisons
HETATM_IO = $\langle{\tt logical:1}\rangle$ off whether to read HETATM coordinates
WATER_IO = $\langle{\tt logical:1}\rangle$ off whether to read water coordinates
HYDROGEN_IO = $\langle{\tt logical:1}\rangle$ off whether to read hydrogen coordinates
ATOM_FILES_DIRECTORY = $\langle{\tt string:1}\rangle$ './' input atom files directory list (e.g., 'dir1:dir2:dir3:./:/')

Description:
This command writes the whole alignment to a text file.

The 'PAP' format, which corresponds to a relatively nice looking alignment, has several additional formatting options that can be selected by the ALIGNMENT_FEATURES variable. This scalar variable can contain any combination of the following keywords:

Options 'HELIX', 'BETA', 'ACCESSIBILITY', and 'STRAIGHTNESS' are valid only after executing command ALIGN2D, where the corresponding quantities are defined. They refer to the 3D profile defined for the first ALIGN_BLOCK structures (run ALIGN2D with FIT = off to prepare these structural data without changing the input alignment). Similarly, the 'ACCURACY' option is valid only after the CONSENSUS_ALIGNMENT command.

ALIGN_ALIGNMENT and ALIGN_BLOCK are used to ensure correct indication of identical alignment positions, depending on whether sequences or two blocks of sequences were aligned: For sequences (ALIGN_ALIGNMENT = off and ALIGN_BLOCK is ignored), a '*' indicating a conserved position is printed where all sequences have the same residue type. For blocks (ALIGN_ALIGNMENT = on and ALIGN_BLOCK indicates the last sequence of the first block), a '*' is printed only where the two blocks have the same order of residue types (there has to be the same number of sequences in both blocks). The blocks option is useful when comparing two alignments, possibly aligned by the ALIGN command.

If CUT_OVERHANGS is on, overhangs longer than OVERHANG residues are cut from the alignment. In such a case, the HETATM_IO, WATER_IO, HYDROGEN_IO, and ATOM_FILES_DIRECTORY keywords also apply because the beginning and ending residue numbers for the `structure' entries in the alignment are renumbered automatically by reading the appropriate atom files.

Example: See READ_ALIGNMENT command.


next up previous contents index
Next: DESCRIBE describe Up: Comparison and searching of Previous: SEQUENCE_TO_ALI copy   Contents   Index
Ben Webb 2004-04-20