-
Notifications
You must be signed in to change notification settings - Fork 2
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 #4 from jhuapl-bio/prerelease
Prerelease
- Loading branch information
Showing
19 changed files
with
166 additions
and
46 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 @@ | ||
databases/* filter=lfs diff=lfs merge=lfs -text |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
|
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,46 @@ | ||
FROM continuumio/miniconda3:4.9.2 | ||
|
||
WORKDIR /opt/software | ||
|
||
# Make RUN commands use `bash --login` (always source ~/.bashrc on each RUN) | ||
SHELL ["/bin/bash", "--login", "-c"] | ||
|
||
# install apt dependencies and update conda | ||
RUN apt-get update && apt-get install git -y \ | ||
&& apt-get install -y apt-transport-https ca-certificates wget unzip bzip2 libfontconfig1 \ | ||
&& update-ca-certificates \ | ||
&& apt-get -qq -y remove curl \ | ||
&& apt-get -qq -y autoremove \ | ||
&& apt-get autoclean \ | ||
&& rm -rf /var/lib/apt/lists/* /var/log/dpkg.log | ||
|
||
ENV PATH /opt/conda/bin:$PATH | ||
RUN conda config --set ssl_verify no | ||
COPY ./environment.yml /opt/environment.yml | ||
|
||
RUN conda env create -f /opt/environment.yml | ||
|
||
COPY databases /opt/databases | ||
WORKDIR /opt/databases | ||
RUN wget http://ccb.jhu.edu/software/kraken/dl/minikraken_20171019_4GB.tgz | ||
RUN tar -xvzf minikraken_20171019_4GB.tgz | ||
RUN mkdir -p /opt/databases && \ | ||
mv minikraken_20171013_4GB /opt/databases/minikraken && \ | ||
rm minikraken_20171019_4GB.tgz | ||
RUN find /opt/databases -name "*tar.gz" -exec tar -xvzf {} \; | ||
WORKDIR /opt/software/mytax | ||
COPY src /opt/software/mytax | ||
RUN find . -name "*.sh" | while read fn; do ln -s $PWD/$fn /usr/local/bin; done | ||
RUN conda activate mytax && bash process_krakendb.sh -k /opt/databases/minikraken | ||
|
||
|
||
|
||
# RUN conda activate mytax && \ | ||
# bash build_flukraken.sh -k flukraken && \ | ||
# rm -r flukraken/library flukraken/raw flukraken/database.jdb* && \ | ||
# tar c flukraken | gzip -c | tee flukraken.tar.gz && \ | ||
# rm -rf flukraken | ||
COPY sunburst /opt/software/mytax/sunburst | ||
|
||
|
||
|
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
Git LFS file not shown
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,7 @@ | ||
#!/bin/bash --login | ||
# The --login ensures the bash configuration is loaded, | ||
# enabling Conda. | ||
set +u | ||
source /opt/conda/etc/profile.d/conda.sh | ||
conda activate mytax | ||
|
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,19 @@ | ||
name: mytax | ||
channels: | ||
- conda-forge | ||
- bioconda | ||
- anaconda | ||
- defaults | ||
dependencies: | ||
- gawk=5.1.0 | ||
- gettext=0.19.8.1 | ||
- jellyfish=1.1.12 | ||
- libcxx=10.0.0 | ||
- libffi=3.3 | ||
- libiconv=1.16 | ||
- make=4.3 | ||
- ncurses=6.2 | ||
- perl=5.26.2 | ||
- readline=8.0 | ||
- kraken=1.1 | ||
- centrifuge=1.0.3 |
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
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
Oops, something went wrong.