このメモはLinux Mint 21.3を前提にしています。Ubuntuでも参考になるはずです。
XDS関連ソフトウェア
参考:https://wiki.uni-konstanz.de/xds/index.php/Installation
- XDSパッケージ:
BASH
wget https://xds.mr.mpg.de/XDS-INTEL64_Linux_x86_64.tar.gz --no-check-certificate
# For some reason, wget cannot verify the server's SSL Certificates, add the --no-check-certificate parameter to igonre it
tar -xzvf XDS-INTEL64_Linux_x86_64.tar.gz
mv XDS-INTEL64_Linux_x86_64 /usr/local/bin/
ln -sf /usr/local/bin/XDS-INTEL64_Linux_x86_64/* /usr/local/bin/
- その他のプログラム:XDS-Viewer, XDSSTAT, XDSCC12, XDSGUI, XSCALE_ISOCLUSTER, spot2pdb, generate_XDS.INP
BASH
mkdir -p $HOME/xds-dep && cd $_
wget -N https://wiki.uni-konstanz.de/pub/linux_bin/get_folder.sh
chmod +x get_folder.sh
sudo ./get_folder.sh
rm -rf $HOME/xds-dep
#As root, programs will be installed into /usr/local/bin/linux_bin, and links them to /usr/local/bin.
#As a normal user, programs will be installed to HOME/bin/linux_bin, and linked to your $HOME/bin.
sudo apt install -y libxcb-xinerama0 xxdiff libqt5gui5 libqt5printsupport5 libqt5opengl5
- 任意:インストールの確認(グラフィックス関連のパッケージでエラーが出ることがあります)
BASH
ldd `which xdsgui` | grep found
# The command should show you the libraries it didn't find.
# Then you can install the libraries with commands:
sudo apt update
sudo apt upgrade
sudo apt install -y <PackageName>
- hdf5ファイルを読み取るXDSプラグイン:
BASH
sudo apt update
sudo apt install -y build-essential libssl-dev libreadline-dev zlib1g-dev cmake git libgtk-3-dev qt5-default
git clone https://github.com/dectris/neggia && cd neggia
mkdir build && cd $_
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build .
sudo cp src/dectris/neggia/plugin/dectris-neggia.so /usr/local/bin/linux_bin
echo export NEGGIA_PATH=/usr/local/bin/linux_bin/dectris-neggia.so >> $HOME/.bashrc
source $HOME/.bashrc
CCP4
参考:https://www.ccp4.ac.uk/download/installation.html
- こちらのサイト から Package Manager をダウンロードします。ダウンロードしたら、次のコマンドを実行します。
BASH
cd /path/to/download/folder
tar -xvzf linux-x86_64_ccp4-8.0-setup.tar.gz
./ccp4-8.0-setup
- Setup Managerの各ページの指示に従ってください。2ページ目の「modify command line environment」にチェックを入れるのを忘れないようにしてください。
Phenix
参考:https://phenix-online.org/documentation/install-setup-run.html
こちらのサイト でライセンスを申請します。
こちらのサイト からソフトウェアをダウンロードします。
インストール
BASHtar xvf phenix-installer-<version>-<platform>.tar cd phenix-installer-<version> # will make <directory>/phenix-<version> and install there ./install --prefix=<directory> echo . /usr/local/phenix-<version>/phenix_env.sh >> $HOME/.bashrc source $HOME/.bashrcその後、
phenix &で phenix を起動できます。
autoPROC
参考:https://www.globalphasing.com/autoproc/download/academic/snapshot/Ubuntu1804_64bit/index.html
こちらのサイト でライセンスを申請すると、ダウンロード用のユーザー名とパスワード、および
.licenceファイルがメールで送られてきます。CCP4とXDSをインストールし、上記のように環境を設定しておきます。
前提条件:
BASHsudo apt-get install imagemagickダウンロード
BASHmkdir -p $HOME/GPhL/autoPROC_snapshot_20240123 && cd$_ wget --http-user=user --http-password=password https://www.globalphasing.com/autoproc/download/academic/snapshot/GPhL_autoPROC_snapshot_20240123_install.sh wget --http-user=user --http-password=password https://www.globalphasing.com/autoproc/download/academic/snapshot/GPhL_autoPROC_snapshot_20240123.linux64.tar # Put .license file into this directory # There should be three files in this directory: .tar, .sh, .licenceインストール
BASHchmod +x GPhL_autoPROC_snapshot_20240123_install.sh ./GPhL_autoPROC_snapshot_20240123_install.sh cd $HOME/GPhL rm -f autoPROC_latest ln -s autoPROC_snapshot_20240123 autoPROC_latest echo source $HOME/GPhL/autoPROC_latest/setup.sh >> $HOME/.bashrc source $HOME/.bashrc
autoPX2
詳しい情報を得るにはQQグループに入る必要がありますが、ここではダウンロードしやすいようにコピーを用意しました。
BASHcd $HOME wget https://pan.xxu.do/d/guest/local/autoPX2-beta3-Linux.tar.gz tar -xzvf autoPX2-beta3-Linux.tar.gz && cd $HOME/autoPX2-beta3-Linux echo export PATH=$HOME/autoPX2-beta3-Linux:$PATH >> $HOME/.bashrc source $HOME/.bashrc # You can choose the name of command to start the program, here is autopx ln -s autoPXgui.sh autopxその後、
autopxコマンドで autoPX2 を使えます。