CCP4mg: Difference between revisions

From CCP4 wiki
Jump to navigation Jump to search
mNo edit summary
 
Line 7: Line 7:
wget http://www.ysbl.york.ac.uk/~ccp4mg/download2/ccp4mg-1.107.3-Linux-Fedora-6-i386.tar.gz
wget http://www.ysbl.york.ac.uk/~ccp4mg/download2/ccp4mg-1.107.3-Linux-Fedora-6-i386.tar.gz
</pre>
</pre>
Now "cd" to the installation directory of CCP4i and extract it there.  
Now "cd" to the installation directory of CCP4i and extract it there. TODO: Does it work if I install it anywhere else ?
<pre>
<pre>
cd /software/linuxsoft/ccp4-6.1.1
cd /software/linuxsoft/ccp4-6.1.1
Line 14: Line 14:
Now, Add the binary ccp4mg to your $PATH and then open a new terminal or source your shell
Now, Add the binary ccp4mg to your $PATH and then open a new terminal or source your shell
<pre>
<pre>
setenv PATH ccp4mg-1.107.3/bin:${PATH}
setenv PATH /software/linuxsoft/ccp4-6.1.1/ccp4mg-1.107.3/bin:${PATH}
source .cshrc
source .cshrc
</pre>
</pre>
Line 22: Line 22:
</pre>
</pre>
====FAQ====
====FAQ====
I get the error <pre>Segmentation fault</pre>
* I get the error <pre>Segmentation fault</pre>
Edit the file <pre>ccp4mg-1.107.3/qtgui/MGMainWindow.py</pre>
Edit the file <pre>ccp4mg-1.107.3/qtgui/MGMainWindow.py</pre>
and replace  
and replace  
Line 32: Line 32:
     stereoAvailable = 0
     stereoAvailable = 0
</pre>
</pre>
* This version of ccp4mg '''cannot''' be launched from ccp4i GUI.

Latest revision as of 18:12, 23 May 2009

CCP4mg is the quick and easy way to create beautiful publication quality images and movies. It is also the easy way to superpose and analyse structures (Ref: from the website).

Installation help for CCP4mg[edit | edit source]

Download the file ccp4mg-1.107.3-Linux-Fedora-6-i386.tar.gz

wget http://www.ysbl.york.ac.uk/~ccp4mg/download2/ccp4mg-1.107.3-Linux-Fedora-6-i386.tar.gz

Now "cd" to the installation directory of CCP4i and extract it there. TODO: Does it work if I install it anywhere else ?

cd /software/linuxsoft/ccp4-6.1.1
tar zxvf ccp4mg-1.107.3-Linux-Fedora-6-i386.tar.gz

Now, Add the binary ccp4mg to your $PATH and then open a new terminal or source your shell

setenv PATH /software/linuxsoft/ccp4-6.1.1/ccp4mg-1.107.3/bin:${PATH}
source .cshrc

Launch ccp4mg with

ccp4mg &

FAQ[edit | edit source]

  • I get the error
    Segmentation fault

Edit the file

ccp4mg-1.107.3/qtgui/MGMainWindow.py

and replace

     stereoAvailable = opengl.CheckIfStereoAvailable()

with the following. Remember to keep the indent (i.e) left tab/spacing (I hate python)

     stereoAvailable = 0
  • This version of ccp4mg cannot be launched from ccp4i GUI.