Skip to content

Commit 58a6c5b

Browse files
committed
Minor fixes
1 parent bd7597f commit 58a6c5b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

Dockerfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,6 @@ RUN cd $SETUPDIR/ && \
662662
git clone https://github.com/DerrickWood/kraken2.git && \
663663
cd $SETUPDIR/kraken2/src/ && \
664664
make && \
665-
mkdir -p /apps/kraken2/ && \
666665
cd $SETUPDIR/kraken2/ && \
667666
bash install_kraken2.sh /usr/local/bin/
668667

@@ -680,6 +679,7 @@ RUN pip install metaphlan graphlan panphlan humann
680679

681680
# mothur
682681
########
682+
RUN apt-get -y install libreadline*
683683
RUN cd $SETUPDIR/ && \
684684
wget -t 0 http://drive5.com/uchime/uchime4.2.40_i86linux32 && \
685685
mv uchime4.2.40_i86linux32 /usr/local/bin/uchime && \
@@ -705,9 +705,12 @@ wget https://data.qiime2.org/distro/core/qiime2-2023.5-py38-linux-conda.yml && \
705705
# Removing /usr/local/lib/libgomp.so.1 (seems to be broken) and use /usr/lib/x86_64-linux-gnu/libgomp.so.1 instead
706706
# RUN rm -fr /usr/local/lib/libgomp.so.1
707707

708+
# Creating a soft link because mothur looks for libreadline.so.7
709+
RUN ln -s /usr/lib/x86_64-linux-gnu/libreadline.so.8 /usr/lib/x86_64-linux-gnu/libreadline.so.7
710+
708711
RUN cd $SETUPDIR/
709712
RUN echo "#!/usr/bin/bash" > $SETUPDIR/init.sh
710-
RUN echo "export PATH=$PATH:/usr/local/ncbi/sra-tools/bin/:/usr/local/ncbi/ngs-tools/bin/:/usr/local/ncbi/ncbi-vdb/bin:/usr/local/miniconda3/bin:/apps/gatk:/apps/IGV:/apps/ensembl-vep:/apps/kraken2/" >> $SETUPDIR/init.sh
713+
RUN echo "export PATH=$PATH:/usr/local/ncbi/sra-tools/bin/:/usr/local/ncbi/ngs-tools/bin/:/usr/local/ncbi/ncbi-vdb/bin:/usr/local/miniconda3/bin:/apps/gatk:/apps/IGV:/apps/ensembl-vep:" >> $SETUPDIR/init.sh
711714
RUN echo "source /etc/profile.d/*" >> $SETUPDIR/init.sh
712715
RUN echo "echo '****************************************'" >> $SETUPDIR/init.sh
713716
RUN echo "echo 'Welcome to Bioinformatics Toolbox (v1.3)'" >> $SETUPDIR/init.sh
@@ -774,8 +777,8 @@ deepbgc info ; \
774777
/apps/gatk/gatk --list ; \
775778
/apps/IGV/igv.sh --version ; \
776779
centrifuge --version ; \
777-
/apps/kraken2 --version ; \
778-
bracken --version ; \
780+
kraken2 --version ; \
781+
bracken -v ; \
779782
metaphlan --version ; \
780783
humann --version ; \
781784
uchime --version ; \

0 commit comments

Comments
 (0)