|
1 | 1 | # 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 |
3 | 3 | MAINTAINER Francois Aguet |
4 | 4 |
|
5 | 5 | 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 && \ |
27 | 27 |
|
28 | 28 | # htslib |
29 | 29 | 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 && \ |
32 | 32 | ./configure --enable-libcurl --enable-s3 --enable-plugins --enable-gcs && \ |
33 | 33 | make && make install && make clean |
34 | 34 |
|
35 | 35 | # bcftools |
36 | 36 | 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 && \ |
39 | 39 | ./configure --with-htslib=system && make && make install && make clean |
40 | 40 |
|
41 | 41 | # install R |
42 | 42 | ENV DEBIAN_FRONTEND noninteractive |
43 | 43 | 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/' |
45 | 45 | RUN apt update && apt install -y r-base r-base-dev |
46 | 46 | ENV R_LIBS_USER=/opt/R/4.0 |
47 | 47 | RUN Rscript -e 'if (!requireNamespace("BiocManager", quietly = TRUE)) {install.packages("BiocManager")}; BiocManager::install("qvalue");' |
48 | 48 |
|
49 | 49 | # python modules |
50 | 50 | RUN pip3 install --upgrade pip setuptools |
51 | 51 | 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 |
53 | 54 |
|
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