Please run the following commands in order.
cd ~
git clone https://github.com/S-Ando-Biophysics/4MRNA-Install.git
cd 4MRNA-Install
chmod +x install.sh
./install.sh
echo 'export PATH="$HOME/4MRNA-Install/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
In addition, please install and set up the following external software in advance.
This is required only for Windows. It is necessary to turn on "Windows Subsystem for Linux (WSL)" and "Virtual Machine Platform" in the Windows settings to be able to use shell scripts. Furthermore, run the following commands.
sudo apt update
sudo apt upgrade
sudo apt install -y bzip2 curl git wget
sudo apt install libgomp1 libstdc++6 libgcc-s1 libc6
sudo ln -s /usr/bin/python3 /usr/bin/python
After registering on the official website (forum) and receiving approval, you will be able to download the installer. For details, please refer to the instructions on the official website. Once you have downloaded the installer, run the following commands in order. The following steps are for Windows (WSL, Ubuntu). The procedure for macOS and Linux is similar.
# Please change the directory name and 3DNA version as appropriate.
# Assume that "x3dna-v2.4-linux-64bit.tar.gz" has been downloaded to "C:\Users\name\Downloads".
sudo apt update
sudo apt install ruby
sudo su
cd /usr/local
mv /mnt/c/Users/name/Downloads/x3dna-v2.4-linux-64bit.tar.gz .
tar pzxvf x3dna-v2.4-linux-64bit.tar.gz
cd x3dna-v2.4/bin
./x3dna_setup
exit
echo 'export X3DNA=/usr/local/x3dna-v2.4' >> ~/.bashrc
echo 'export PATH="$X3DNA/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
Please download the command-line installer from the official website. Then please run the following commands in order. The following steps are for Windows (WSL, Ubuntu). The procedure for macOS and Linux is similar.
# Please change the directory name and Phenix version as appropriate.
# Assume that "Phenix-2.0-5936-Linux-x86_64.sh" has been downloaded to "C:\Users\name\Downloads".
sudo su
cd /usr/local
mv /mnt/c/Users/name/Downloads/Phenix-2.0-5936-Linux-x86_64.sh .
bash Phenix-2.0-5936-Linux-x86_64.sh -b -p /usr/local/phenix-2.0-5936
exit
echo "source /usr/local/phenix-2.0-5936/phenix_env.sh" >> ~/.bashrc
source ~/.bashrc
Phaser is included in the CCP4 suite, so please download the CCP4 installer from the official website. After that, run the following commands in order. The following steps are for Windows (WSL, Ubuntu). The procedure for macOS and Linux is similar.
# Please change the directory name and CCP4 version as appropriate.
# Assume that "ccp4-9.0.010-linux64.tar.gz" has been downloaded to "C:\Users\name\Downloads".
sudo su
cd /usr/local
mv /mnt/c/Users/name/Downloads/ccp4-9.0.010-linux64.tar.gz .
gunzip ccp4-9.0.010-linux64.tar.gz
tar -xvf ccp4-9.0.010-linux64.tar
cd ccp4-9
./BINARY.setup
exit
echo "source /usr/local/ccp4-9/bin/ccp4.setup-sh" >> ~/.bashrc
source ~/.bashrc