From 2b3c76d97b9e97ece92c4657c90d7d85cf87e49a Mon Sep 17 00:00:00 2001 From: david <26483520+dougalII@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:20:54 +0000 Subject: [PATCH] feat(docker): Added docker file and instructions for use ith python 2.7 --- Dockerfile | 22 ++++++++++++++++++++++ README | 12 ++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6943901 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,22 @@ +FROM python:2.7.18 + +# Donwnload and install RNA +RUN wget https://rna.urmc.rochester.edu/Releases/current/RNAstructureLinuxTextInterfaces64bit.tgz +RUN tar -zxvf RNAstructureLinuxTextInterfaces64bit.tgz +RUN cd RNAstructure && \ + make all + +ENV PATH=$PATH:/RNAstructure/exe +ENV DATAPATH=/RNAstructure/data_tables + +# Setup Metaplotlib +RUN python -m pip install -U pip setuptools +RUN python -m pip install matplotlib + +# Setup httplib2 +RUN pip install httplib2 + +# Copy required files +RUN mkdir /Superfold +WORKDIR Superfold +COPY . /Superfold/ diff --git a/README b/README index d9effe8..2e52b74 100644 --- a/README +++ b/README @@ -3,6 +3,18 @@ Superfold installation, execution, and troubleshooting. Gregg Rice 2014 gmr@unc.edu +################################################################################### +Docker build +=================================================================================== +to build run: + docker build . -t superfold + +to run: + mkdir data + docker run -it -v ./data:/Superfold/data superfold /bin/bash + +The data directory will be "sheared" between your container and local system + ################################################################################### Requirements: