Skip to content

Commit

Permalink
Updates for v1.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
francois-a committed Jul 3, 2023
1 parent 1eefc82 commit 5cc7692
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Dockerfile for tensorQTL
FROM nvidia/cuda:11.3.1-cudnn8-runtime-ubuntu20.04
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
MAINTAINER Francois Aguet

RUN apt-get update && apt-get install -y software-properties-common && \
Expand Down Expand Up @@ -27,32 +27,33 @@ RUN apt-get update && apt-get install -y software-properties-common && \

# htslib
RUN cd /opt && \
wget --no-check-certificate https://github.com/samtools/htslib/releases/download/1.15.1/htslib-1.15.1.tar.bz2 && \
tar -xf htslib-1.15.1.tar.bz2 && rm htslib-1.15.1.tar.bz2 && cd htslib-1.15.1 && \
wget --no-check-certificate https://github.com/samtools/htslib/releases/download/1.17/htslib-1.17.tar.bz2 && \
tar -xf htslib-1.17.tar.bz2 && rm htslib-1.17.tar.bz2 && cd htslib-1.17 && \
./configure --enable-libcurl --enable-s3 --enable-plugins --enable-gcs && \
make && make install && make clean

# bcftools
RUN cd /opt && \
wget --no-check-certificate https://github.com/samtools/bcftools/releases/download/1.15.1/bcftools-1.15.1.tar.bz2 && \
tar -xf bcftools-1.15.1.tar.bz2 && rm bcftools-1.15.1.tar.bz2 && cd bcftools-1.15.1 && \
wget --no-check-certificate https://github.com/samtools/bcftools/releases/download/1.17/bcftools-1.17.tar.bz2 && \
tar -xf bcftools-1.17.tar.bz2 && rm bcftools-1.17.tar.bz2 && cd bcftools-1.17 && \
./configure --with-htslib=system && make && make install && make clean

# install R
ENV DEBIAN_FRONTEND noninteractive
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
RUN add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/'
RUN add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/'
RUN apt update && apt install -y r-base r-base-dev
ENV R_LIBS_USER=/opt/R/4.0
RUN Rscript -e 'if (!requireNamespace("BiocManager", quietly = TRUE)) {install.packages("BiocManager")}; BiocManager::install("qvalue");'

# python modules
RUN pip3 install --upgrade pip setuptools
RUN pip3 install numpy pandas scipy
RUN pip3 install pandas-plink ipython jupyter matplotlib pyarrow torch rpy2 gcsfs
RUN pip3 install pandas-plink ipython jupyter matplotlib pyarrow torch rpy2 gcsfs Pgenlib>=0.90.1
RUN pip3 install tensorqtl==1.0.8

RUN cd /opt && \
wget https://github.com/broadinstitute/tensorqtl/archive/v1.0.7.tar.gz && \
tar -xf v1.0.7.tar.gz && mv tensorqtl-1.0.7 tensorqtl && \
rm v1.0.7.tar.gz
RUN pip3 install /opt/tensorqtl/
# RUN cd /opt && \
# wget https://github.com/broadinstitute/tensorqtl/archive/v1.0.8.tar.gz && \
# tar -xf v1.0.8.tar.gz && mv tensorqtl-1.0.8 tensorqtl && \
# rm v1.0.8.tar.gz
# RUN pip3 install /opt/tensorqtl/

0 comments on commit 5cc7692

Please sign in to comment.