-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
28 lines (28 loc) · 1.5 KB
/
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
FROM bioconductor/release_base
MAINTAINER Mark Fernandes<mark.fernandes@cruk.cam.ac.uk>
RUN rm -rf /var/lib/apt/lists/* && apt-get update && apt-get install --fix-missing -y git
###Get repository of the course. Install data and R packages
#RUN apt-get install -y sra-toolkit
RUN mkdir -p /home/participant/ && \
git clone https://github.com/bioinformatics-core-shared-training/Merged_RNASeq-course /home/participant/Course_Materials
RUN R -f /home/participant/Course_Materials/install_bioc_packages.R
WORKDIR /tmp
RUN wget http://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v0.11.3.zip -P /tmp
RUN unzip fastqc_v0.11.3.zip
RUN sudo chmod 755 FastQC/fastqc
RUN ln -s $(pwd)/FastQC/fastqc /usr/bin/fastqc
RUN apt-get install -y bowtie2 samtools
## installing latest version of SRA toolkit
RUN wget https://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/2.8.1-3/sratoolkit.2.8.1-3-ubuntu64.tar.gz
RUN gunzip sratoolkit.2.8.1-3-ubuntu64.tar.gz
RUN tar xvf sratoolkit.2.8.1-3-ubuntu64.tar
RUN ln -s /tmp/sratoolkit.2.8.1-3-ubuntu64/bin/* /usr/bin/
RUN apt-get install unzip
RUN wget https://ndownloader.figshare.com/articles/3219673?private_link=f5d63d8c265a05618137 -O fastq.zip
RUN unzip fastq.zip -d /home/participant/Course_Materials/data/
RUN rm fastq.zip
RUN wget https://ndownloader.figshare.com/articles/3219685?private_link=1d788fd384d33e913a2a -O raw.zip
RUN unzip raw.zip -d /home/participant/Course_Materials/data/
RUN rm raw.zip
RUN chown rstudio /home/participant/Course_Materials/
WORKDIR /home//participant/Course_Materials/