# Unpacking the distribution files¶

The RxDock source files and test suite files are provided as independent gzipped tar (.tar.gz) distributions. Depending on your requirements, the two distributions can be unpacked to entirely separate locations, or can be unpacked under the same location. In this example they are unpacked under the same location.

Table 2 RxDock distribution files

File

Description

rxdock-[CODELINE].tar.gz

RxDock source distribution

[TEST]_rDock_TestSet.tar.gz

Test suite data files and scripts

Here [CODELINE], and [TEST] will vary depending on the release and test set. [CODELINE] represents the major version string (for example, 0.1.0) and [TEST] represents the given dataset (ASTEX, RNA or DUD).

## Example unpacking procedure¶

Create a new directory for building RxDock.

$mkdir ~/dev  The directory you created is referred to as [BUILDDIR] in the subsequent steps. Copy or download the distribution files to [BUILDDIR]. $ cp ~/mydownloads/rxdock-0.1.0.tar.gz ~/dev/


Extract the distributions.

$cd ~/dev/$ tar -xvzf rxdock-0.1.0.tar.gz


The distributions contain files with relative path names, and you should find the following subdirectories created under rxdock-[CODELINE]. Note that the ./rxdock-0.1.0 subdirectory may have a different name depending on the major version string (see above).

\$ find . -type d
.
./fw
./src
./src/daylight
./src/lib
./src/exe
./src/GP
./build
./build/test
./build/test/RBT_HOME
./build/tmakelib
./build/tmakelib/linux-pathCC-64
./build/tmakelib/linux-g++-64
./build/tmakelib/linux-g++
./build/tmakelib/unix
./data
./data/filters
./data/sf
./data/pmf
./data/pmf/smoothed
./data/scripts
./lib
./import
./import/tnt
./import/tnt/include
./import/simplex
./import/simplex/src
./import/simplex/include
./docs
./docs/images
./docs/newDocs
./include
./include/GP
./bin


Make a note of the following locations for later use.

The RxDock root directory is [BUILDDIR]/rxdock-[CODELINE] and will be referred to as [RBT_ROOT] in later instructions. In this example, [RBT_ROOT] is ~/dev/rxdock-0.1.0/.