Installation and Usage Notes for the Pdb Extract Application (Source Distribution) Note: It is highly recommended to utilize binary distribution, if possible, since it contains an additional submodule, called PROCHECK, which does more structure checking. This source distribution does not contain PROCHECK, since the PROCHECK module is only available in binary form. 1. Installation a. Uncompress and unbundle the distribution using the following command: zcat pdb-extract-vX.XXX-XXX.tar.gz | tar -xf - The result of this command is a subdirectory pdb-extract-vX.XXX-XXX in the current directory. It contains subdirectories of various source modules and the following items important for the user: bin - subdirectory in which the application executables will be placed after the build process. pdb-extract-vX.X - subdirectory that contains several examples in its "examples" subdirectory. data - subdirectory that contains some data files needed by the application. b. Set up the environment variables. - Define RCSBROOT environment variable to point to the installation directory. Assuming that the installation directory is /home/username/pdb-extract-vX.XXX-XXX, execute in the shell: For C shell users: setenv RCSBROOT /home/username/pdb-extract-vX.XXX-XXX For Bourne shell users: RCSBROOT=/home/username/pdb-extract-vX.XXX-XXX; export RCSBROOT - Add "bin" subdirectory to the PATH environment variable. Execute in the shell: For C shell users: setenv PATH "$RCSBROOT/bin:"$PATH For Bourne shell users: PATH="$RCSBROOT/bin:"$PATH; export PATH 2. Building the Application a. Position in the pdb-extract-vX.XXX-XXX directory and run "make" command: cd pdb-extract-vX.XXX-XXX make The application executables will be placed in the "bin" subdirectory. NOTE: The users who are working on Sun platform are strongly advised to check the compiler flags in etc/make.platform.sunos5 file. Depending on the compiler version, users may be required to make modifications to those compiler flags. b. Make binary data from ASCII data - Position in the pdb-extract-vX.XXX-XXX directory and run "make" command as follows: make binary This command will create certain binary data files, using the ASCII data files in data/ascii directory. The resulting files are stored in data/binary directory. Note that it may take several minutes for this step to complete. This step must be executed before the tool can be utilized. 3. Demonstration There are several examples included in this distribution. They are located in the subdirectories of "pdb-extract-vX.X/examples" directory. Each directory contains the following: input_data - contains the input data for the example deposit - contains the resulting files: Example_x.cif - this is the merged file created by "pdb_extract" Example_x_deposit.cif - this is the mmCIF format file for deposit Example_x.sf.cif - this is the structure factor for deposit and is created by "pdb_extract_sf" validation_result - contains all validation results To execute the examples, position in the appropriate directory and invoke test.sh and test_script.sh scripts. For example: cd pdb-extract-vX.XXX-XXX/pdb-extract-vX.X/examples/Example_1 ./test.sh ./test_script.sh