There are several alignment formats:
If REMOVE_GAPS = on, positions with gaps in all selected sequences are removed from the alignment.
If ADD_SEQUENCE is on, the new sequences are added to the current ones, otherwise the old sequences are deleted.
Ordinarily, the alignment file is closed at the end of this commmand. However, when reading 'PIR' or 'FASTA' format files, if CLOSE_FILE is off, then the file is left open. Subsequent calls to READ_ALIGNMENT will then resume at this point in the file, provided they set REWIND_FILE to off. The END_OF_FILE variable is set to 1 if MODELLER reached the end of the 'PIR' or 'FASTA' file during the read, or 0 otherwise.
# Example for: READ_ALIGNMENT, WRITE_ALIGNMENT, # READ_ALIGNMENT2, WRITE_ALIGNMENT2, # CHECK_ALIGNMENT # Read an alignment, write it out in the 'PAP' format, and # check the alignment of the N-1 structures as well as the # alignment of the N-th sequence with each of the N-1 structures. SET OUTPUT_CONTROL = 1 1 1 1 0 READ_ALIGNMENT FILE = 'toxin.ali', ALIGN_CODES = 'all' WRITE_ALIGNMENT FILE = 'toxin.pap', ALIGNMENT_FORMAT = 'PAP' WRITE_ALIGNMENT FILE = 'toxin.fasta', ALIGNMENT_FORMAT = 'FASTA' CHECK_ALIGNMENT