DOCK 3.8 testing on C7: Difference between revisions

From DISI
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
These are instructions to follow on [[Cluster 7]] to run [[DOCK 3.8]].
These are instructions to run the [[DOCK 3.8]] test on [[Cluster 7]].
 
== 1. Log in and start screen ==
 
Start a screen session so the job keeps running if your SSH disconnects:
 
screen -S dock_test
 
Detach: Ctrl-a, then d
 
Reattach:
 
screen -r dock_test
 
== 2. Make a working folder ==
 
Use your own writable space, not the shared DOCK install directory.
 
Example:
 
cd /nfs/home/xyz/hdd02
mkdir -p docking
cd docking
 
== 3. Load DOCK ==


* step 1. log in to C7
* cd hdd02 # find a place to work
* mkdir docking  # create an area for docking
* cd docking
* pwd
/nfs/home/xyz/hdd02/docking
* screen -S john # could also be tmux
# set up a docking environment on C7
  module load dock
  module load dock
Check the DOCK paths:
  echo $DOCK_INSTALL_PATH
  echo $DOCK_INSTALL_PATH
  echo $DOCKBASE
  echo $DOCKBASE


# copy test data to my account
== 4. Copy the test files ==
  cp -r ${DOCK_INSTALL_PATH}/test/docking test
 
  cp -r ${DOCK_INSTALL_PATH}/test/docking test
  cd test
  cd test
# edit file to point to my own copy
./test_subdock.sh


After copying the test directory into your own workspace, edit test_subdock.sh so it uses the local copied directory.
Remove old copied output. The shared test folder may already contain someone else's old results:
Change this line:
 
rm -rf output
rm -f split_database_index
 
== 5. Edit test_subdock.sh ==
 
The copied test_subdock.sh may still point back to the shared DOCK install. Edit it so it writes to your local test folder.
 
Change:
 
  find test_ligs -name '*.db2.tgz' -exec realpath {} \; > ${DOCK_INSTALL_PATH}/test/docking/split_database_index
  find test_ligs -name '*.db2.tgz' -exec realpath {} \; > ${DOCK_INSTALL_PATH}/test/docking/split_database_index
to:  
 
to:
 
  find test_ligs -name '*.db2.tgz' -exec realpath {} \; > split_database_index
  find test_ligs -name '*.db2.tgz' -exec realpath {} \; > split_database_index
Change these:
 
Change:
 
  export EXPORT_DEST="${DOCK_INSTALL_PATH}/test/docking/output"
  export EXPORT_DEST="${DOCK_INSTALL_PATH}/test/docking/output"
  export INPUT_SOURCE="${DOCK_INSTALL_PATH}/test/docking/split_database_index"
  export INPUT_SOURCE="${DOCK_INSTALL_PATH}/test/docking/split_database_index"
  export DOCKFILES="${DOCK_INSTALL_PATH}/test/docking/dockfiles"
  export DOCKFILES="${DOCK_INSTALL_PATH}/test/docking/dockfiles"
to:
to:
  export EXPORT_DEST="$(pwd)/output"
  export EXPORT_DEST="$(pwd)/output"
  export INPUT_SOURCE="$(pwd)/split_database_index"
  export INPUT_SOURCE="$(pwd)/split_database_index"
  export DOCKFILES="$(pwd)/dockfiles"
  export DOCKFILES="$(pwd)/dockfiles"
Keep:
export DOCKEXEC="${DOCK_INSTALL_PATH}/dock3/dock64"


[[Category:Buyan]]
[[Category:Buyan]]

Revision as of 18:44, 22 June 2026

These are instructions to run the DOCK 3.8 test on Cluster 7.

1. Log in and start screen

Start a screen session so the job keeps running if your SSH disconnects:

screen -S dock_test

Detach: Ctrl-a, then d

Reattach:

screen -r dock_test

2. Make a working folder

Use your own writable space, not the shared DOCK install directory.

Example:

cd /nfs/home/xyz/hdd02
mkdir -p docking
cd docking

3. Load DOCK

module load dock

Check the DOCK paths:

echo $DOCK_INSTALL_PATH
echo $DOCKBASE

4. Copy the test files

cp -r ${DOCK_INSTALL_PATH}/test/docking test
cd test

Remove old copied output. The shared test folder may already contain someone else's old results:

rm -rf output
rm -f split_database_index

5. Edit test_subdock.sh

The copied test_subdock.sh may still point back to the shared DOCK install. Edit it so it writes to your local test folder.

Change:

find test_ligs -name '*.db2.tgz' -exec realpath {} \; > ${DOCK_INSTALL_PATH}/test/docking/split_database_index

to:

find test_ligs -name '*.db2.tgz' -exec realpath {} \; > split_database_index

Change:

export EXPORT_DEST="${DOCK_INSTALL_PATH}/test/docking/output"
export INPUT_SOURCE="${DOCK_INSTALL_PATH}/test/docking/split_database_index"
export DOCKFILES="${DOCK_INSTALL_PATH}/test/docking/dockfiles"

to:

export EXPORT_DEST="$(pwd)/output"
export INPUT_SOURCE="$(pwd)/split_database_index"
export DOCKFILES="$(pwd)/dockfiles"

Keep:

export DOCKEXEC="${DOCK_INSTALL_PATH}/dock3/dock64"