Skip to content

Commit

Permalink
Updating requirements to install vsearch and fasttree using apt
Browse files Browse the repository at this point in the history
  • Loading branch information
crosenth committed May 23, 2024
1 parent 8dd4ba8 commit 28c900f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
21 changes: 13 additions & 8 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ADD 99parallel /etc/apt/apt.conf.d/99parallel
RUN apt-get update -y && \
apt-get upgrade -y && \
apt-get install -y \
fasttree \
python3-pip \
r-cran-ape \
r-cran-biocmanager \
Expand All @@ -22,11 +23,14 @@ RUN apt-get update -y && \
r-cran-tidyr \
libcurl4-openssl-dev \
libxml2 \
libxml2-dev
libxml2-dev \
vsearch

ADD requirements.txt /tmp/
RUN pip3 install -U pip wheel
RUN pip3 install -r /tmp/requirements.txt
ADD requirements.txt install-dada2.R /tmp/

# uses value of $DADA2_REF
RUN Rscript /tmp/install-dada2.R
RUN mkdir -p /app /fh /mnt /run/shm

ADD install_infernal_and_easel.sh /tmp/
RUN /tmp/install_infernal_and_easel.sh
Expand All @@ -37,7 +41,8 @@ RUN /tmp/install_vsearch.sh 2.21.1
ADD install_xsv.sh /tmp/
RUN /tmp/install_xsv.sh

# uses value of $DADA2_REF
ADD install-dada2.R /tmp/
RUN Rscript /tmp/install-dada2.R
RUN mkdir -p /app /fh /mnt /run/shm
ADD install_pplacer.sh /tmp/
RUN /tmp/install_pplacer.sh

RUN pip3 install -U pip wheel
RUN pip3 install -r /tmp/requirements.txt
2 changes: 2 additions & 0 deletions docker/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ fastalite==0.4.1
isal==1.1.0
numpy==1.23.5
openpyxl==3.0.10
sqlalchemy
taxtastic
xopen==1.7.0

0 comments on commit 28c900f

Please sign in to comment.