Utility Programs
Provided with the CNSsolve distribution are some separate
utility programs and scripts:
- to_cns - a program for converting HKL (scalepack)
and d*trek reflection files to CNS format.
- usage: to_cns [-f hkl|dtrek] [-nomean] infile outfile
- plot_patterson - a script for creating postscript
plots from patterson map sections generated by CNSsolve.
- usage: the user is prompted for input
- dos2unix - a program for stripping ^M characters
from a text file created on a Windows machine.
- isdos - a program to determine whether a file is
DOS or Unix format.
- mtz_to_cns - a script for converting simple CCP4 MTZ
files to CNS format (only FOBS, SIGMA and TEST will be written). The
script requires that mtz2various be in the user's
path.
- usage: mtz_to_cns infile outfile
[-nofreeR F=label SIGF=label]
- map_to_omap - a script for converting CNS format map
files to O DSN6 format. The script requires that mapman be in the
user's path.
- usage: map_to_omap infile1 infile2
...
- fix_dna_rna - a script for converting PDB format DNA
or RNA files to a format closer to CNS.
- usage:
fix_dna_rna < infile > outfile
Utilities are run from the UNIX command line. The
plot_patterson utility must be run on the same platform that the map
files were generated on (the CNSsolve map files are binary in this
instance).
The utility programs are compiled by default at the
time of CNSsolve installation. To compile the executables at some other
time, from the main CNSsolve directory type:
make utils
This will create a subdirectory in the appropriate
machine architecture directory. This machine specific utils directory
is automatically added to the user path upon sourcing
cns_solve_env.