-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from B-UMMI/gbs_types
v2.3
- Loading branch information
Showing
34 changed files
with
1,288 additions
and
281 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
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 |
---|---|---|
@@ -1,37 +1,38 @@ | ||
FROM ubuntu:16.04 | ||
MAINTAINER Miguel Machado <mpmachado@medicina.ulisboa.pt> | ||
LABEL version="2.2-02" | ||
FROM continuumio/miniconda3:4.8.2-alpine | ||
LABEL version="2.3-dev-2021-03" | ||
|
||
WORKDIR /NGStools/ | ||
# -- Dependencies --- | ||
|
||
RUN apt-get update | ||
RUN /opt/conda/bin/conda install -y -c bioconda blast=2.10.1 && \ | ||
/opt/conda/bin/pip install setuptools && \ | ||
/opt/conda/bin/conda clean -y --all | ||
|
||
# -- General Dependencies --- | ||
RUN apt-get install -y wget git python python3 python3-pip && \ | ||
pip3 install setuptools | ||
ENV PATH="/opt/conda/bin:${PATH}" | ||
|
||
# -- seq_typing Dependencies --- | ||
# --- Blast+ --- | ||
RUN wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.7.1/ncbi-blast-2.7.1+-x64-linux.tar.gz && \ | ||
tar -xf ncbi-blast-2.7.1+-x64-linux.tar.gz && \ | ||
rm ncbi-blast-2.7.1+-x64-linux.tar.gz | ||
ENV PATH="/NGStools/ncbi-blast-2.7.1+/bin:${PATH}" | ||
|
||
WORKDIR /NGStools/ | ||
|
||
USER root | ||
|
||
RUN apk add bash git libstdc++ | ||
|
||
# --- ReMatCh --- | ||
# TODO: remove checkout | ||
RUN git clone https://github.com/B-UMMI/ReMatCh.git && \ | ||
cd ReMatCh && \ | ||
# git checkout bowtie_algo && \ | ||
git checkout dev && \ | ||
python3 setup.py install && \ | ||
cd /NGStools | ||
|
||
# -- seq_typing -- | ||
|
||
# TODO: remove checkout | ||
RUN git clone https://github.com/B-UMMI/seq_typing.git && \ | ||
cd seq_typing && \ | ||
# git checkout bowtie_index && \ | ||
git checkout gbs_types && \ | ||
python3 setup.py install | ||
|
||
# -- Clean -- | ||
RUN pip3 uninstall setuptools && \ | ||
apt-get remove -y python3-pip && \ | ||
apt-get autoclean -y | ||
ENV PATH="/NGStools/ReMatCh/ReMatCh/src/samtools-1.3.1/bin:/NGStools/ReMatCh/ReMatCh/src/bcftools-1.3.1/bin:/NGStools/ReMatCh/ReMatCh/src/bowtie2-2.2.9:${PATH}" | ||
|
||
WORKDIR /data/ |
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
Oops, something went wrong.