General installation instructions for Rosetta for use in Phenix

Contents

Installation

Rosetta is software from the Baker laboratory at the University of Washington https://www.rosettacommons.org. Rosetta is used by a number of modules in Phenix

phenix.rosetta_refine requires a compilation of Rosetta from source as it requires some programs for the interface between Phenix and Rosetta that are not in the binary distribution. The first three 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 phenix Rosetta dependent programs.

Once you have installed Rosetta you need to set the environmental variable $PHENIX_ROSETTA_PATH.

Installation - Using standard Phenix installation

To use the latest Rosetta version, Phenix needs to be compiled using a compiler that is c++11 compatible. This is now the case from Phenix 1.14 and beyond. OSX users should use the command-line installer and require XCode.

Proceed with the following.

% tar xzf rosetta_src_20??.??.?????_bundle.tgz (changing the names to
  match your bundle)
demos   main    tools
%  export PHENIX_ROSETTA_PATH=/your-path-to-rosetta-here/

or sh (C-shell):
%  setenv PHENIX_ROSETTA_PATH /your-path-to-rosetta-here/
% rosetta.build_phenix_interface nproc=2

You should now be completely ready to go with Rosetta in Phenix that can be tested using

% rosetta.run_tests

Troubleshooting

  • See FULL INSTRUCTIONS at https://www.rosettacommons.org/support
  • Build may also be called with ./scons.py bin mode=release -j4
  • Build may fail because it is unable to find the g++ requested by build. This can be fixed in two ways
    1. If you have the correct version of g++ installed, but it is not called by the name expected by the build, simply set a soft link from g++ to e.g. g++-4.6
    2. See: http://morganbye.net/blog/2011/05/rosetta-32-ubuntu-1104 for how to edit to tools/build/basic.settings and tools/build/options.settings and using "scons bin mode=release cxx=gcc cxx_ver=4.5"
  • Build may fail due to shallow warnings. Edit tools/build/basic.settings to comment out all "warn" flags for your operating system.

Proxy Server Setup

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