This repository has been archived by the owner on Feb 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
FROM continuumio/miniconda3 | ||
|
||
########### set variables | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
########## generate working directories | ||
RUN mkdir /home/tools | ||
|
||
######### dependencies | ||
RUN apt-get update -qq \ | ||
&& apt-get install -y \ | ||
build-essential \ | ||
wget \ | ||
unzip \ | ||
bzip2 \ | ||
git \ | ||
libidn11* \ | ||
nano \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
############################################################ install ONTrack | ||
WORKDIR /home/tools/ | ||
|
||
RUN git clone https://github.com/MaestSi/ONTrack.git | ||
WORKDIR /home/tools/ONTrack | ||
RUN chmod 755 * | ||
|
||
RUN sed -i 's/PIPELINE_DIR <- .*/PIPELINE_DIR <- \"\/home\/tools\/ONTrack\/\"/' config_MinION_mobile_lab.R | ||
RUN sed -i 's/MINICONDA_DIR <- .*/MINICONDA_DIR <- \"\/opt\/conda\/\"/' config_MinION_mobile_lab.R | ||
|
||
RUN conda config --add channels bioconda && \ | ||
conda config --add channels anaconda && \ | ||
conda config --add channels r && \ | ||
conda config --add channels conda-forge | ||
RUN conda create -n ONTrack_env -c bioconda bioconductor-biostrings | ||
RUN conda install -n ONTrack_env python blast emboss vsearch seqtk mafft minimap2 samtools=1.15 nanopolish bedtools ncurses | ||
RUN /opt/conda/envs/ONTrack_env/bin/pip install pycoQC | ||
|
||
WORKDIR /home/ |