|
| 1 | +FROM ubuntu:14.04 |
| 2 | + |
| 3 | +### File author / maintainer |
| 4 | +MAINTAINER Olivier Harismendy "oharismendy@ucsd.edu" |
| 5 | + |
| 6 | +### change a working directory to /opt ####### |
| 7 | +WORKDIR /opt |
| 8 | + |
| 9 | +### install |
| 10 | +RUN apt-get update && apt-get install -y \ |
| 11 | +autoconf \ |
| 12 | +build-essential \ |
| 13 | +curl \ |
| 14 | +git \ |
| 15 | +g++ \ |
| 16 | +gzip \ |
| 17 | +libncurses5-dev \ |
| 18 | +libssl-dev \ |
| 19 | +libboost-all-dev \ |
| 20 | +libbz2-dev \ |
| 21 | +libfreetype6-dev \ |
| 22 | +make \ |
| 23 | +man \ |
| 24 | +pkg-config \ |
| 25 | +python \ |
| 26 | +python-tk \ |
| 27 | +python-pip \ |
| 28 | +python-dev \ |
| 29 | +python-numpy \ |
| 30 | +python-yaml \ |
| 31 | +software-properties-common \ |
| 32 | +screen \ |
| 33 | +samtools \ |
| 34 | +vim \ |
| 35 | +wget \ |
| 36 | +zip \ |
| 37 | +zlibc \ |
| 38 | +zlib1g \ |
| 39 | +zlib1g-dev \ |
| 40 | +gedit \ |
| 41 | +gpicview \ |
| 42 | +r-base \ |
| 43 | +default-jre |
| 44 | + |
| 45 | +RUN R -e "install.packages(c('heatmap.2','gplots'), repos = 'http://cran.rstudio.com/')" |
| 46 | + |
| 47 | +RUN pip install --upgrade pip &&\ |
| 48 | + pip install scipy \ |
| 49 | + statsmodels \ |
| 50 | + pandas \ |
| 51 | + matplotlib \ |
| 52 | + joblib \ |
| 53 | + numpy==1.11.2 \ |
| 54 | + Cython \ |
| 55 | + pysam \ |
| 56 | + xlrd==0.9.2 \ |
| 57 | + xlwt==0.7.5 \ |
| 58 | + openpyxl \ |
| 59 | + multiqc \ |
| 60 | + multiprocessing && \ |
| 61 | + pip install --user --upgrade cutadapt |
| 62 | + |
| 63 | +RUN wget -O bowtie2.tar.gz --no-check-certificate https://github.com/BenLangmead/bowtie2/archive/v2.2.8.tar.gz &&\ |
| 64 | + tar -xzvf bowtie2.tar.gz &&\ |
| 65 | + cd bowtie2-2.2.8 &&\ |
| 66 | + make &&\ |
| 67 | + cp bowtie2 /usr/bin &&\ |
| 68 | + cp bowtie2-align-s /usr/bin &&\ |
| 69 | + cp bowtie2-align-l /usr/bin &&\ |
| 70 | + cp bowtie2-build /usr/bin &&\ |
| 71 | + cp bowtie2-build-s /usr/bin &&\ |
| 72 | + cp bowtie2-build-l /usr/bin &&\ |
| 73 | + cp bowtie2-inspect /usr/bin &&\ |
| 74 | + cp bowtie2-inspect-s /usr/bin &&\ |
| 75 | + cp bowtie2-inspect-l /usr/bin |
| 76 | + |
| 77 | +RUN wget http://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v0.11.5.zip &&\ |
| 78 | + unzip fastqc_v0.11.5.zip &&\ |
| 79 | + ln -s /opt/FastQC/fastqc /usr/local/bin/fastqc &&\ |
| 80 | + chmod a+x /opt/FastQC/fastqc &&\ |
| 81 | + chmod a+x /usr/local/bin/* |
| 82 | + |
| 83 | +RUN git clone https://github.com/LewisLabUCSD/PinAPL-Py.git &&\ |
| 84 | + mkdir -p /workingdir &&\ |
| 85 | + mkdir -p /scratch &&\ |
| 86 | + chmod -R 755 /opt/PinAPL-Py/Scripts |
| 87 | + |
| 88 | +ENV PATH="/opt/PinAPL-Py/Scripts:/root/.local/bin/:${PATH}" |
| 89 | + |
| 90 | +WORKDIR /workingdir |
0 commit comments