Sign inSign up

francecosta/tadoss

By francecosta

•Updated over 3 years ago

Image
0

92

francecosta/tadoss repository overview

⁠Image to run tadoss⁠

Dockerfile:

FROM continuumio/miniconda3:22.11.1
LABEL version="v0.0.1" maintainer="Francesco Costa <[email protected]>"

RUN git clone https://github.com/lafita/tadoss.git
WORKDIR /tadoss
RUN head -n 10 ./environment.yaml > ./new_environment.yaml
RUN conda env create -f ./new_environment.yaml
RUN . ~/.bashrc && \
    /opt/conda/bin/conda init bash
RUN echo "source activate tadoss" > ~/.bashrc
ENV PATH /opt/conda/envs/tadoss/bin:$PATH
SHELL ["conda", "run", "-n", "tadoss", "/bin/bash", "-c"]

RUN conda install R
RUN Rscript -e "install.packages(c('ggplot2', 'dplyr', 'bio3d', 'argparse', 'optparse'), repos = 'https://cloud.r-project.org')"
RUN conda install -c conda-forge r-devtools
RUN conda install -c conda-forge r-nloptr
RUN Rscript -e "library('devtools');install_github('lafita/edmcr')"

ENV PATH /tadoss/:$PATH

WORKDIR /workdir

Run with Docker:

  • see options:
docker run --rm -it --entrypoint bash --platform linux/amd64 francecosta/tadoss:v0.0.1 tadoss -h
  • run computation
docker run --rm -it --entrypoint bash --platform linux/amd64 francecosta/tadoss:v0.0.1 tadoss -f file.pdb

Run with Singularity:

  • convert docker container in singularity
singularity pull tadoss.sif docker://francecosta/tadoss:v0.0.1
  • see tadoss options
singularity exec ./tadoss.sif /bin/bash tadoss -h
  • run computation
singularity exec ./tadoss.sif /bin/bash tadoss -f file.pdb

Tag summary

Content type

Image

Digest

sha256:9087b9d98…

Size

2 GB

Last updated

over 3 years ago

docker pull francecosta/tadoss:v0.0.1