Graphics or "viewer" is a native graphics viewer in Rosetta that allows you to watch a given pose in real-time. It is often used to troubleshoot protocols in rosetta_scripts. These are the same graphics that are used in Rosetta@home BOINC screensaver.
The advantage of using the native rosetta graphics viewer over the PyMol mover is that it is VERY lightweight and can be used to render nearly LIVE graphics with no lag, even over an SSH connection!
To control the visuals, use keyboard shortcuts:
You just need to include a single flag:
rosetta_scripts.graphics.linuxgccrelease -parser:view
Note: Some movers automatically assign the secondary structure to the working pose, for movers that do not you need to first run the Dssp mover.
-edensity:render_density
-edensity:mapfile input.map
Note: map must be defined at the command line, even if LoadDensityMap mover is used
Before you can compile, you need copy the libglut.so file into the external lib directory:
~/rosetta/main/source/external/lib/libglut.so
Then using scons, specify graphics as extras:
./scons.py mode=release extras=graphics -j2 rosetta_scripts
Specify graphics as extras.
./scons.py mode=release extras=graphics -j2 rosetta_scripts