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: