General installation instructions for Rosetta for use in Phenix

Contents

General notes

Rosetta is used by a number of modules in Phenix including rosetta_refine, ERRASER and MR_rosetta. Installing Rosetta for rosetta_refine involves compiling some more programs for the interface between Phenix and Rosetta. The other programs will run with a binary installation of Rosetta or the compiled installation of Rosetta. From a practical point-of-view, making the effort to install the compiled version of Rosetta means that you can run all three programs.

To run any Rosetta programs, you need to install Rosetta from the Baker laboratory at the University of Washington. Once you have installed Rosetta you need to set the environmental variable $PHENIX_ROSETTA_PATH, $ROSETTA_BIN and $ROSETTA3_DB.

You will need the 2016.02.58402 bundle. It is quicker to download the source bundle and the binaries are not required when installing for ALL programs.

NOTE: If trouble...see the FULL INSTRUCTIONS at https://www.rosettacommons.org/support

Proceed with the following.

tar xzf rosetta_src_2016.02.58402_bundle.tgz

This should give you a directory like rosetta_src_2016.02.58402_bundle that contains:

demos main tools
python --version
scons --version
sudo su   # UBUNTU ONLY FOR INSTALLING zlib1g and scons
apt-get install zlib1g-dev
apt-get install scons

In the scons command below the "-j2" means use 2 processors....adjust for your system. Takes about 1 hour with 2 processors. Please note: Do not move your Rosetta installation after compiling it. The compilation builds in path names, and if you move the binaries to some other place it will not run.

cd rosetta/main/source/
./scons.py -j2
cd ..

If you get to "scons: done building targets." you are all set!

export PHENIX_ROSETTA_PATH=/your-path-to-rosetta-here/
export ROSETTA_BIN=$PHENIX_ROSETTA_PATH/main/source/bin
export ROSETTA3_DB=$PHENIX_ROSETTA_PATH/main/database

or sh (C-shell):

setenv PHENIX_ROSETTA_PATH /your-path-to-rosetta-here/
setenv ROSETTA_BIN $PHENIX_ROSETTA_PATH/main/source/bin
setenv ROSETTA3_DB $PHENIX_ROSETTA_PATH/main/database
rosetta.build_phenix_interface nproc=2

Specific notes

To use the fragment server and your machine is behind a firewall and there is a proxy server you need to go through, then if you use a .hhr file to download files from the PDB then you will need to specify your proxy server. You can use the following command to specify the proxy server (replacing it with YOUR proxy server).

If you are using the bash or sh shells:

export HTTP_PROXY=proxyout.mydomain.edu:8080

or sh (C-shell):

setenv HTTP_PROXY proxyout.mydomain.edu:8080

NOTE: If trouble on ubuntu 11.04 or later...also see: http://morganbye.net/blog/2011/05/rosetta-32-ubuntu-1104 (but just concerning basic.settings and options.settings modifications and using : scons bin mode=release cxx=gcc cxx_ver=4.5)