MMTSB
Tool Set Documentation

writeArchive.pl

From MMTSB
Revision as of 14:27, 12 August 2006 by Feig (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Usage

usage:    writeArchive.pl archivefile [file]
options:  [-inx index]
          [-pdb]
          [-append]

Show source


Description

This utility can be used to manually create or add entries to archive files. Archive files are used mainly for storing data from replica exchange simulations. They can be read with <docmark>readArchive.pl</docmark>.
The name of the archive file is required as command line parameter. The input data is either read from a file name given as a parameter or read from standard input otherwise. By default the data is added at the end of the archive file. The archive format expects that all entries have the same length. An error message is printed out if the user attempts to write data records of variable length.
A specific record can be replaced if the index is given -inx. PDB files can be saved more economically with the -pdb option. In this case only the coordinates are written to the archive file. However, in this case a PDB template is needed for retrieving data entries later with <docmark>readArchive.pl</docmark>.

Options

-help 
usage information


Examples

writeArchive.pl chain.archive 1vii.exp.chain
adds the contents of 1vii.exp.chain to the archive file chain.archive


writeArchive.pl -inx 4 -pdb pdb.archive 1vii.sample.4.pdb
replaces the fourth PDB coordinate entry in the archive file pdb.archive