Skip to content

Commit 5cc7692

Browse files
committed
Updates for v1.0.8
1 parent 1eefc82 commit 5cc7692

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

Dockerfile

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Dockerfile for tensorQTL
2-
FROM nvidia/cuda:11.3.1-cudnn8-runtime-ubuntu20.04
2+
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
33
MAINTAINER Francois Aguet
44

55
RUN apt-get update && apt-get install -y software-properties-common && \
@@ -27,32 +27,33 @@ RUN apt-get update && apt-get install -y software-properties-common && \
2727

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

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

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

4949
# python modules
5050
RUN pip3 install --upgrade pip setuptools
5151
RUN pip3 install numpy pandas scipy
52-
RUN pip3 install pandas-plink ipython jupyter matplotlib pyarrow torch rpy2 gcsfs
52+
RUN pip3 install pandas-plink ipython jupyter matplotlib pyarrow torch rpy2 gcsfs Pgenlib>=0.90.1
53+
RUN pip3 install tensorqtl==1.0.8
5354

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

0 commit comments

Comments
 (0)