-
Notifications
You must be signed in to change notification settings - Fork 27
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
42 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,42 @@ | ||
FROM ubuntu:22.04 | ||
MAINTAINER UMMI, [email protected] | ||
|
||
# Create directory to store files | ||
WORKDIR /WORKY/ | ||
|
||
# Install wget to download files, git to clone repos and Python 3 to install and use chewBBACA | ||
RUN apt update && apt install -y wget git python3 python3-setuptools | ||
|
||
# Install BLAST | ||
WORKDIR /WORKY/BLAST | ||
# Download and extract | ||
RUN wget https://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/2.9.0/ncbi-blast-2.9.0+-x64-linux.tar.gz && \ | ||
tar -xzvf ncbi-blast-2.9.0+-x64-linux.tar.gz && \ | ||
rm ncbi-blast-2.9.0+-x64-linux.tar.gz | ||
# Add BLAST executables to PATH | ||
ENV PATH="/WORKY/BLAST/ncbi-blast-2.9.0+/bin:${PATH}" | ||
|
||
# Install MAFFT | ||
WORKDIR /WORKY/MAFFT | ||
RUN wget https://mafft.cbrc.jp/alignment/software/mafft_7.520-1_amd64.deb | ||
# Install | ||
RUN dpkg -i mafft_7.520-1_amd64.deb | ||
ENV PATH="/WORKY/MAFFT:${PATH}" | ||
|
||
# Install FastTree | ||
WORKDIR /WORKY/FastTree | ||
RUN wget http://www.microbesonline.org/fasttree/FastTree | ||
# Change permissions for executable | ||
RUN chmod 755 * | ||
ENV PATH="/WORKY/FastTree:${PATH}" | ||
|
||
# INSTALL chewBBACA and dependencies listed in requirements.txt | ||
WORKDIR /WORKY/chewBBACA | ||
# Clone chewBBACA repo | ||
RUN git clone https://github.com/B-UMMI/chewBBACA.git | ||
WORKDIR /WORKY/chewBBACA/chewBBACA | ||
# Install chewBBACA and dependencies | ||
RUN python3 setup.py install | ||
ENV PATH="/WORKY/chewBBACA/chewBBACA:${PATH}" | ||
|
||
WORKDIR /WORKY/ |