generated from CDCgov/template
-
Notifications
You must be signed in to change notification settings - Fork 19
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 #116 from CDCgov/v2.0.2
V2.0.2
- Loading branch information
Showing
59 changed files
with
654 additions
and
179 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
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 |
---|---|---|
|
@@ -68,4 +68,5 @@ RUN pip3 install biopython \ | |
times \ | ||
xlsxwriter \ | ||
cryptography==36.0.2 \ | ||
pytest-shutil | ||
pytest-shutil \ | ||
openpyxl |
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,57 @@ | ||
FROM ubuntu:focal as app | ||
|
||
ARG MLST_VER="2.23.0" | ||
ARG ANY2FASTA_VER="0.4.2" | ||
|
||
LABEL base.image="ubuntu:focal" | ||
LABEL dockerfile.version="1" | ||
LABEL software="mlst" | ||
LABEL software.version="${MLST_VER}" | ||
LABEL description="Scan contig files against PubMLST typing schemes" | ||
LABEL website="https://github.com/tseemann/mlst" | ||
LABEL license="https://github.com/tseemann/mlst/blob/master/LICENSE" | ||
LABEL maintainer="Jill Hagey" | ||
LABEL maintainer.email="[email protected]" | ||
|
||
# install dependencies via apt; cleanup apt garbage | ||
# blast from ubuntu:focal is v2.9.0 (as of 2022-05-09) | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
wget \ | ||
ca-certificates \ | ||
libmoo-perl \ | ||
liblist-moreutils-perl \ | ||
libjson-perl \ | ||
gzip \ | ||
file \ | ||
ncbi-blast+ && \ | ||
apt-get autoclean && rm -rf /var/lib/apt/lists/* | ||
|
||
# get any2fasta; move binary to /usr/local/bin which is already in $PATH | ||
RUN wget https://github.com/tseemann/any2fasta/archive/refs/tags/v${ANY2FASTA_VER}.tar.gz && \ | ||
tar xzf v${ANY2FASTA_VER}.tar.gz && \ | ||
rm v${ANY2FASTA_VER}.tar.gz && \ | ||
chmod +x any2fasta-${ANY2FASTA_VER}/any2fasta && \ | ||
mv -v any2fasta-${ANY2FASTA_VER}/any2fasta /usr/local/bin | ||
|
||
# get mlst | ||
RUN wget https://github.com/tseemann/mlst/archive/v${MLST_VER}.tar.gz && \ | ||
tar -xzf v${MLST_VER}.tar.gz && \ | ||
rm v${MLST_VER}.tar.gz | ||
|
||
# set PATH and perl local settings | ||
ENV PATH="${PATH}:/mlst-${MLST_VER}/bin:" \ | ||
LC_ALL=C.UTF-8 | ||
|
||
# check dependencies and list available schemes | ||
RUN mlst --check && mlst --list | ||
|
||
#set working directory so its easier to find the db | ||
WORKDIR /data | ||
|
||
#remove db that comes with the mlst software | ||
RUN rm -r /mlst-${MLST_VER}/db/* | ||
# add in custom db and move to correct location | ||
COPY db /data/db | ||
RUN mv /data/db ../mlst-${MLST_VER} | ||
#change permissions of database files | ||
RUN chmod 755 --recursive /mlst-${MLST_VER}/db/* |
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
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+16.2 MB
assets/databases/mlst_db.tar.gz → assets/databases/mlst_db_20230728.tar.gz
Binary 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,23 @@ | ||
HAISeq: PRJNA531911 | ||
Gram_positive: | ||
Actinobacteria(P): | ||
Non_tuberculous mycobacterium: | ||
Mycobacterium(G): PRJNA542112 | ||
Mycobacteroides(G): PRJNA542112 | ||
Mycolicibacterium(G): PRJNA542112 | ||
Tuberculous mycobacterium: | ||
Mycobacterium tuberculosis(G): blank | ||
Non_mycobacterium: | ||
Cutibacterium(G): blank | ||
Firmicutes(P): | ||
Bacillus(G): PRKNA590648 | ||
Clostridioides(G) difficile(s): PRJNA629351 | ||
Staphylococcus(G) non-aureus species(s): PRJNA591020 | ||
Staphylococcus(G) aureus(s): PRJNA533550 | ||
Enterococcus(G): PRJNA573902 | ||
Others: blank | ||
Gram_negative: | ||
Proteobacteria(P): PRJNA288601 | ||
Pseudomonadota(P): PRJNA288601 | ||
Bacteroidetes(P): PRJNA288601 | ||
Others: blank |
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.