Skip to content

Commit

Permalink
Updated rfaa def file from branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jscgh committed Dec 5, 2024
1 parent 9b11a62 commit 8b202b9
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions dockerfiles/rosettafold_all_atom.def
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
Bootstrap: docker
From: nvidia/cuda:12.6.0-cudnn-devel-ubuntu24.04
From: nvidia/cuda:12.4.1-cudnn-runtime-ubuntu22.04

%labels
Author [email protected]
Version 0.2.3
Version 0.2.5

%post
apt update && DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y wget git
apt update && DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y wget git build-essential

wget "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh"
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
bash Miniforge3-Linux-x86_64.sh -b -p /opt/miniforge
rm Miniforge3-Linux-x86_64.sh
export PATH="/opt/miniforge/bin:$PATH"
mamba init

git clone --single-branch --depth 1 https://github.com/Australian-Structural-Biology-Computing/RoseTTAFold-All-Atom.git /app/RoseTTAFold-All-Atom
cd /app/RoseTTAFold-All-Atom
mamba env create -f environment.yaml
mamba env create --file=environment.yaml

mamba run -n RFAA \
'python rf2aa/SE3Transformer/setup.py install && \
Expand All @@ -29,10 +28,9 @@ From: nvidia/cuda:12.6.0-cudnn-devel-ubuntu24.04
rm -r blast-2.2.26
mv blast-2.2.26_bk/ blast-2.2.26

apt autoremove -y && apt remove --purge -y wget git && apt clean -y
apt autoremove -y && apt remove --purge -y wget git build-essential && apt clean -y
rm -rf /var/lib/apt/lists/* /root/.cache *.tar.gz
mamba clean --all --force-pkgs-dirs -y
chmod 755 input_prep/make_ss.sh

%environment
export PYTHONPATH="/app/RoseTTAFold-All-Atom:$PYTHONPATH"
Expand Down

0 comments on commit 8b202b9

Please sign in to comment.