-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
27 lines (21 loc) · 826 Bytes
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
# Initialize conda for the current shell session
eval "$(conda shell.bash hook)"
# Create virtual environment for the latest version of Python 3.10 supported by OmegaFold
conda env create -f environment.yml
conda activate evodiff
# install pytorch-scatter
conda install conda-forge::torch-scatter
# Download and compile TMscore
wget https://zhanggroup.org/TM-score/TMscore.cpp
sudo apt-get install g++
g++ -o TMscore TMscore.cpp
# Instructions for setting the TMscore path in Python scripts
BOLD_GREEN='\033[1;32m'
RESET='\033[0m'
echo -e "${BOLD_GREEN}"
echo "In your Python scripts (conditional_generation.py, conditional_generation_msa.py), set the TMscore path as:"
echo "path_to_tmscore = /path/to/your/TMscore/./TMscore"
echo -e "${RESET}"
# End of script
echo -e "${BOLD_GREEN}Setup complete!${RESET}"