2,684
edits
Line 158: | Line 158: | ||
=== system-wide installation (requires root permission) === | === system-wide installation (requires root permission) === | ||
To get [[generate_XDS.INP]]: | To get [[generate_XDS.INP]]: | ||
<pre> | <pre> | ||
cd /usr/local/bin | cd /usr/local/bin | ||
curl -L -o - http://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/generate_XDS.INP | \ | sudo curl -L -o - http://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/generate_XDS.INP | \ | ||
sed -e s/\ \;/\ /g -e s/\>\;/\>/g -e s/\<\;/\</g -e s/amp\;//g -e s/\"\;/\"/g -e s/\&\#\1\6\0\;/\ /g | \ | sed -e s/\ \;/\ /g -e s/\>\;/\>/g -e s/\<\;/\</g -e s/amp\;//g -e s/\"\;/\"/g -e s/\&\#\1\6\0\;/\ /g | \ | ||
sed '/# end of generate_XDS.INP/,$d' | awk '/^#/,/rm -f tmp1 tmp2/' > generate_XDS.INP | sed '/# end of generate_XDS.INP/,$d' | awk '/^#/,/rm -f tmp1 tmp2/' > generate_XDS.INP | ||
chmod +x generate_XDS.INP | sudo chmod +x generate_XDS.INP | ||
</pre> | </pre> | ||
To get [[XDS]], for latest OS X (Mavericks): | To get [[XDS]], for latest OS X (Mavericks): | ||
<pre> | <pre> | ||
curl -L -o - ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS-OSX10.9.1_Darwin13.0.0.tar.gz | tar xvf - | cd /usr/local/bin | ||
ln -sf XDS-OSX10.9.1_Darwin13.0.0/* . | sudo curl -L -o - ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS-OSX10.9.1_Darwin13.0.0.tar.gz | tar xvf - | ||
sudo ln -sf XDS-OSX10.9.1_Darwin13.0.0/* . | |||
</pre> | </pre> | ||
and for older OS X: | and for older OS X: | ||
<pre> | <pre> | ||
curl -L -o - ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS-OSX10.5.8_Darwin9.8.0.tar.gz | tar xvf - | cd /usr/local/bin | ||
ln -sf XDS-OSX10.5.8_Darwin9.8.0/* . | sudo curl -L -o - ftp://ftp.mpimf-heidelberg.mpg.de/pub/kabsch/XDS-OSX10.5.8_Darwin9.8.0.tar.gz | tar xvf - | ||
sudo ln -sf XDS-OSX10.5.8_Darwin9.8.0/* . | |||
</pre> | </pre> | ||
Line 189: | Line 189: | ||
To get [[XDSSTAT]], | To get [[XDSSTAT]], | ||
<pre> | <pre> | ||
curl -L -o xdsstat.bz2 ftp://turn5.biologie.uni-konstanz.de/pub/xdsstat-i386-mac.bz2 | cd /usr/local/bin | ||
bunzip2 -f xdsstat.bz2 | sudo curl -L -o xdsstat.bz2 ftp://turn5.biologie.uni-konstanz.de/pub/xdsstat-i386-mac.bz2 | ||
chmod a+x xdsstat | sudo bunzip2 -f xdsstat.bz2 | ||
sudo chmod a+x xdsstat | |||
</pre> | </pre> |