diff --git a/README.md b/README.md index ecf9c9954..4ebd7aa4d 100644 --- a/README.md +++ b/README.md @@ -269,7 +269,7 @@ To learn more about the docker pull rate limits and the open source software pro | [ShigEiFinder](https://hub.docker.com/r/staphb/shigeifinder/)
[![docker pulls](https://badgen.net/docker/pulls/staphb/shigeifinder)](https://hub.docker.com/r/staphb/shigeifinder) | | https://github.com/LanLab/ShigEiFinder | | [Shovill](https://hub.docker.com/r/staphb/shovill/)
[![docker pulls](https://badgen.net/docker/pulls/staphb/shovill)](https://hub.docker.com/r/staphb/shovill) | | https://github.com/tseemann/shovill | | [Shovill-se](https://hub.docker.com/r/staphb/shovill-se/)
[![docker pulls](https://badgen.net/docker/pulls/staphb/shovill-se)](https://hub.docker.com/r/staphb/shovill-se) | | https://github.com/rpetit3/shovill/tree/v1.1.0se | -| [SISTR](https://hub.docker.com/r/staphb/sistr/)
[![docker pulls](https://badgen.net/docker/pulls/staphb/sistr)](https://hub.docker.com/r/staphb/sistr) | | https://github.com/phac-nml/sistr_cmd | +| [SISTR](https://hub.docker.com/r/staphb/sistr/)
[![docker pulls](https://badgen.net/docker/pulls/staphb/sistr)](https://hub.docker.com/r/staphb/sistr) | | https://github.com/phac-nml/sistr_cmd | | [SKA](https://hub.docker.com/r/staphb/ska/)
[![docker pulls](https://badgen.net/docker/pulls/staphb/ska)](https://hub.docker.com/r/staphb/ska) | | https://github.com/simonrharris/SKA | | [SKA2](https://hub.docker.com/r/staphb/ska2/)
[![docker pulls](https://badgen.net/docker/pulls/staphb/ska2)](https://hub.docker.com/r/staphb/ska2) | | https://github.com/bacpop/ska.rust | | [skani](https://github.com/bluenote-1577/skani)
[![docker pulls](https://badgen.net/docker/pulls/staphb/skani)](https://hub.docker.com/r/staphb/skani) | | https://github.com/bluenote-1577/skani | diff --git a/sistr/1.1.2/Dockerfile b/sistr/1.1.2/Dockerfile new file mode 100644 index 000000000..d6e3e9202 --- /dev/null +++ b/sistr/1.1.2/Dockerfile @@ -0,0 +1,48 @@ +FROM ubuntu:focal AS app + +ARG SISTR_VER="1.1.2" + +LABEL base.image="ubuntu:focal" +LABEL dockerfile.version="1" +LABEL software="SISTR" +LABEL software.version="1.1.2" +LABEL description="Salmonella In Silico Typing Resource (SISTR)" +LABEL website="https://github.com/peterk87/sistr_cmd" +LABEL license="https://github.com/peterk87/sistr_cmd/blob/master/LICENSE" +LABEL maintainer="Curtis Kapsak" +LABEL maintainer.email="kapsakcj@gmail.com" +LABEL maintainer2="Kutluhan Incekara" +LABEL maintainer2.email="kutluhan.incekara@ct.gov" + +RUN apt-get update && apt-get install --no-install-recommends -y \ + python3-pip \ + python3-pycurl \ + ncbi-blast+ \ + mafft \ + mash &&\ + apt-get autoclean && rm -rf /var/lib/apt/lists/* + +RUN pip3 install --no-cache-dir sistr_cmd==${SISTR_VER} + +WORKDIR /data + +ENV LC_ALL=C + +CMD ["sistr", "--help"] + +## Test ## +FROM app AS test + +RUN apt-get update && apt-get install wget + +# Testing Salmonella enterica subsp. salamae serovar 58:l,z13,z28:z6 str. 00-0163 SES60163_1000002 +RUN wget -q https://github.com/phac-nml/sistr_cmd/raw/master/tests/00_0163.fasta &&\ + sistr --qc -vv --alleles-output 00_0163.allele-results.json --novel-alleles 00_0163.novel-alleles.fasta --cgmlst-profiles 00_0163.cgmlst-profiles.csv -f tab -o 00_0163.sistr-output.tab 00_0163.fasta &&\ + cat 00_0163.sistr-output.tab + +# Testing Salmonella enterica subsp. enterica serovar Typhimurium str. LT2 (https://www.ncbi.nlm.nih.gov/datasets/genome/GCF_000006945.2/) +RUN wget -q https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/000/006/945/GCF_000006945.2_ASM694v2/GCF_000006945.2_ASM694v2_genomic.fna.gz &&\ + gunzip GCF_000006945.2_ASM694v2_genomic.fna.gz &&\ + sistr --qc -vv --alleles-output allele-results.json --novel-alleles novel-alleles.fasta --cgmlst-profiles cgmlst-profiles.csv -f tab -o sistr-output.tab GCF_000006945.2_ASM694v2_genomic.fna &&\ + cat sistr-output.tab + diff --git a/sistr/1.1.2/README.md b/sistr/1.1.2/README.md new file mode 100644 index 000000000..39506ed0c --- /dev/null +++ b/sistr/1.1.2/README.md @@ -0,0 +1,27 @@ +# SISTR container + +Main tool: [sistr](https://github.com/phac-nml/sistr_cmd) + +Code repository: https://github.com/phac-nml/sistr_cmd + +Additional tools: +- blast : 2.9.0 +- mafft : v7.453 +- mash : 2.2.2 +- pandas : 1.0.5 +- numpy : 1.23.4 + +Basic information on how to use this tool: +- executable: sistr +- help: -h, --help +- version: -V, --version +- description: (Salmonella In Silico Typing Resource) Command-line Tool + +Full documentation: https://github.com/phac-nml/sistr_cmd + +## Example Usage + +```bash +sistr --qc -vv --alleles-output allele-results.json --novel-alleles novel-alleles.fasta --cgmlst-profiles cgmlst-profiles.csv -f tab -o sistr-output.tab genome.fasta +``` +