CCP4 on OS X
-
CCP4 is a large set of stand-alone programs designed primarily for macromolecular X-ray crystallography.  There are many programs in the suite that are of interest to anyone dealing with structures of macromolecules.


Return to Crystallography on OS X


Making OS X a viable Unix Platform

Installing X Windows

Installing Developer Tools

Installing Fink

OS X Unix Links

OS X Unix Advice Board


Crystallography Programs

Use Fink to Install Crystal Software

Installing CCP4

Installing CNS-1.1

Installing Solve

Installing Data Processing Software

Installing Eden

Installing Molecular Display Packages


Other Links of Interest

Various Useful OS X Programs

Backups

Screenshots

Biophysics on OS X

NMR on OS X

W. G. Scott Research Group


Return to Crystallography on OS X

Click here for web site index



Additional tweaks:




I've left XUSERFILESEARCHPATH unset globally because fink requires this.  Instead, I now set it in shell-script wrappers for xplot84driver and xloggraph.


I have also taken the liberty of changing the file

/sw/share/xtal/ccp4-5.0.1/lib/X11/app-defaults/XCCPJiffy

to  make the last but 2 lines look like this:

XCCPJiffy*psPlotCommand: ps2pdf - > /tmp/pattersonmap.pdf ; open -a Preview /tmp/pattersonmap.pdf
XCCPJiffy*textPrintCommand: lpr

(keeping the very last line as it is)


I have also changed the line

XCCPJiffy*absoluteScaleType.state:        True


to


XCCPJiffy*absoluteScaleType.state:        False


These changes enable you to hit the plot button and instead of printing a postscript file, you get a pdf diplayed in Preview (which you can then print or save).  This saves trees.  You need to have ghostscript installed (which can be done with fink).
Here is a screen-shot of how it looks:

patterson maps
Click image to enlarge.



In addition, I suggest installing ImageMagick (with fink) and then defining a function (or creating a shell script) containing the following:

#!/bin/zsh -f

# file name overlay

if [[ $# = 3 ]] ; then
  composite -density 300x300 -compose copyred "$@"
  open -a Preview "$3"
else
  print "Usage:    overlay imagefile1 imagefile2 name_of_output_file "
  print "Uses the ImageMagick composite command.  Any image file types can be mixed and matched."
  return 1
 fi




This lets you take two Patterson map sections and overlay them.  Here's a screenshot:

% overlay patterson1.pdf patterson2.pdf overlay_patterson.pdf

overlay of two patterson maps




Valid HTML 4.01!