dockerfile 示例

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM ****
RUN  dnf install -y R  openssl-devel && \
     R -e "install.packages(c('getopt','BiocManager'), repos='https://cran.r-project.org/')" && \
     R -e "BiocManager::install('org.Mm.eg.db')" && \
     R -e "BiocManager::install('org.Hs.eg.db')" && \
     R -e "BiocManager::install('clusterProfiler')" && \
     R -e "remove.packages('rvcheck')" && \
     R -e "install.packages('https://cran.r-project.org/src/contrib/Archive/rvcheck/rvcheck_0.1.8.tar.gz', repos=NULL, type='source')" && \
     R -e "BiocManager::install('clusterProfiler')"
 
RUN dnf install -y libcurl-devel R-rgeos && \
    R -e "install.packages(c('httr','plotly','SeuratObject','Seurat','tidyverse','extrafont','ggplot2','data.table'),repos='https://cran.r-project.org/')"  && \
    R -e "BiocManager::install('monocle')" && \
    R -e "install.packages('pheatmap', repos='https://cran.r-project.org/')"
 
COPY ./tools/  /usr/lib/
RUN pip install  cutadapt && \
    dnf install -y  java-1.8.0-openjdk.x86_64 perl htslib samtools  && \
    chmod a+x /usr/lib/FastQC/fastqc && \
    ln -s /usr/lib/FastQC/fastqc  /usr/local/bin/fastqc && \
    ln -s /usr/lib/TrimGalore-0.6.6/trim_galore /usr/local/bin/trim_galore && \
    ln -s /usr/lib/hisat2-2.2.1/hisat2 /usr/local/bin/hisat2 && \
    ln -s /usr/lib/hisat2-2.2.1/hisat2-build /usr/local/bin/hisat2-build && \
    ln -s /usr/lib/stringtie-2.2.1.Linux_x86_64/stringtie  /usr/local/bin/stringtie && \
    ln -s /usr/lib/stringtie-2.2.1.Linux_x86_64/prepDE.py3  /usr/local/bin/prepDE.py3 && \
    ln -s /usr/lib/STAR-2.7.10a/STAR  /usr/local/bin/STAR  && \
    export PATH=$PATH:/usr/lib/sratoolkit.3.0.0
RUN R -e "install.packages(c('gplots','RColorBrewer'),repos='https://cran.r-project.org/')" && \
    R -e "install.packages('https://cran.r-project.org/src/contrib/Archive/locfit/locfit_1.5-9.2.tar.gz', repos=NULL)" && \
    R -e "BiocManager::install('DESeq2')"
 
RUN R -e "BiocManager::install('org.Mm.eg.db')"  && \
    R -e "BiocManager::install('MAST')"  && \
    R -e "BiocManager::install('optparse')"

  

posted on   我和你并没有不同  阅读(22)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2020-01-04 走读中学到的技巧 airflow
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

点击右上角即可分享
微信分享提示