-
Notifications
You must be signed in to change notification settings - Fork 15
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
46 changed files
with
729 additions
and
1,655 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 |
---|---|---|
|
@@ -44,3 +44,4 @@ submit-and-wait-for-results.sh | |
aws-docker-login.txt | ||
elb-run-report.csv | ||
aws-credentials | ||
.elb-venv |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,42 +18,26 @@ | |
# | ||
# Please cite NCBI in any work or product based on this material. | ||
|
||
FROM ncbi/blast:latest as blast | ||
FROM ncbi/blast:2.15.0 as blast | ||
ARG version | ||
LABEL Description="NCBI BLAST" Vendor="NCBI/NLM/NIH" Version=${version} [email protected] | ||
|
||
FROM google/cloud-sdk:slim | ||
# FROM resets ARGs, thus repeated ARG instruction | ||
ARG version | ||
|
||
USER root | ||
WORKDIR /root/ | ||
|
||
COPY requirements.txt . | ||
RUN python3 -m pip install --no-cache-dir --upgrade pip && \ | ||
python3 -m pip install --no-cache-dir -r requirements.txt && \ | ||
rm -frv requirements.txt | ||
|
||
RUN apt-get -y -m update && \ | ||
apt-get install -y libgomp1 libnet-perl libidn11 libxml-simple-perl libjson-perl perl-doc liblmdb-dev time parallel vmtouch cpanminus curl wget libio-socket-ssl-perl libhtml-parser-perl unzip && \ | ||
apt-get install -y python3 python3-pip time parallel vmtouch curl wget unzip && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir -p /blast/bin /blast/lib | ||
COPY --from=blast /blast/bin /blast/bin | ||
COPY --from=blast /blast/lib /blast/lib | ||
COPY --from=blast /root/edirect /root/edirect | ||
RUN python3 -m pip install --no-cache-dir --upgrade pip && \ | ||
python3 -m pip install --no-cache-dir -r requirements.txt && \ | ||
rm -frv requirements.txt | ||
|
||
COPY splitq_download_db_search /blast/bin/ | ||
RUN sed -i -e "s/\$VERSION/$version/" /blast/bin/splitq_download_db_search | ||
COPY fasta-split /blast/bin/ | ||
|
||
|
||
RUN mkdir -p /blast/blastdb /blast/blastdb_custom | ||
RUN sed -i '$ a BLASTDB=/blast/blastdb:/blast/blastdb_custom' /etc/environment | ||
ENV BLASTDB /blast/blastdb:/blast/blastdb_custom | ||
ENV PATH="/root/edirect:/blast/bin:${PATH}" | ||
|
||
|
||
WORKDIR /blast | ||
|
||
CMD ["/bin/bash"] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ awscli | |
filelock | ||
boto3 | ||
ec2_metadata==2.4.0 | ||
requests==2.25.1 | ||
requests>=2.31.0 |
Oops, something went wrong.