Skip to content

Commit d2deb57

Browse files
committed
adds sistr 1.1.2
1 parent 71bfad0 commit d2deb57

File tree

3 files changed

+76
-1
lines changed

3 files changed

+76
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ To learn more about the docker pull rate limits and the open source software pro
269269
| [ShigEiFinder](https://hub.docker.com/r/staphb/shigeifinder/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/shigeifinder)](https://hub.docker.com/r/staphb/shigeifinder) | <ul><li>[1.3.2](shigeifinder/1.3.2/)</li><li>[1.3.3](shigeifinder/1.3.3/)</li><li>[1.3.5](shigeifinder/1.3.5/)</li></ul> | https://github.com/LanLab/ShigEiFinder |
270270
| [Shovill](https://hub.docker.com/r/staphb/shovill/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/shovill)](https://hub.docker.com/r/staphb/shovill) | <ul><li>1.0.4</li><li>1.1.0</li></ul> | https://github.com/tseemann/shovill |
271271
| [Shovill-se](https://hub.docker.com/r/staphb/shovill-se/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/shovill-se)](https://hub.docker.com/r/staphb/shovill-se) | <ul><li>1.1.0</li></ul> | https://github.com/rpetit3/shovill/tree/v1.1.0se |
272-
| [SISTR](https://hub.docker.com/r/staphb/sistr/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/sistr)](https://hub.docker.com/r/staphb/sistr) | <ul><li>1.0.2</li><li>1.1.1</li></ul> | https://github.com/phac-nml/sistr_cmd |
272+
| [SISTR](https://hub.docker.com/r/staphb/sistr/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/sistr)](https://hub.docker.com/r/staphb/sistr) | <ul><li>1.0.2</li><li>1.1.1</li><li>[1.1.2](./sistr/1.1.2/)</li></ul> | https://github.com/phac-nml/sistr_cmd |
273273
| [SKA](https://hub.docker.com/r/staphb/ska/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/ska)](https://hub.docker.com/r/staphb/ska) | <ul><li>1.0</li></ul> | https://github.com/simonrharris/SKA |
274274
| [SKA2](https://hub.docker.com/r/staphb/ska2/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/ska2)](https://hub.docker.com/r/staphb/ska2) | <ul><li>[0.3.6](./ska2/0.3.6/)</li><li>[0.3.7](./ska2/0.3.7/)</li></ul> | https://github.com/bacpop/ska.rust |
275275
| [skani](https://github.com/bluenote-1577/skani) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/skani)](https://hub.docker.com/r/staphb/skani) | <ul><li>[0.2.0](./skani/0.2.0)</li><li>[0.2.1](./skani/0.2.1)</li><li>[0.2.2](./skani/0.2.2)</li></ul> | https://github.com/bluenote-1577/skani |

sistr/1.1.2/Dockerfile

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
FROM ubuntu:jammy AS app
2+
3+
ARG SISTR_VER="1.1.2"
4+
5+
LABEL base.image="ubuntu:jammy"
6+
LABEL dockerfile.version="1"
7+
LABEL software="SISTR"
8+
LABEL software.version="1.1.2"
9+
LABEL description="Salmonella In Silico Typing Resource (SISTR)"
10+
LABEL website="https://github.com/peterk87/sistr_cmd"
11+
LABEL license="https://github.com/peterk87/sistr_cmd/blob/master/LICENSE"
12+
LABEL maintainer="Kutluhan Incekara"
13+
LABEL maintainer.email="kutluhan.incekara@ct.gov"
14+
15+
ARG DEBIAN_FRONTEND=noninteractive
16+
17+
RUN apt-get update && apt-get install --no-install-recommends -y \
18+
wget \
19+
ca-certificates \
20+
python3-setuptools \
21+
python3-pandas \
22+
python3-numpy \
23+
python3-tables \
24+
python3-scipy \
25+
python3-pycurl \
26+
ncbi-blast+ \
27+
mafft \
28+
mash &&\
29+
apt-get autoclean && rm -rf /var/lib/apt/lists/*
30+
31+
RUN wget https://github.com/phac-nml/sistr_cmd/archive/refs/tags/v${SISTR_VER}.tar.gz &&\
32+
tar -xvf v${SISTR_VER}.tar.gz && rm v${SISTR_VER}.tar.gz &&\
33+
cd sistr_cmd-${SISTR_VER}/ &&\
34+
python3 setup.py install &&\
35+
cd .. && rm -rf sistr_cmd-${SISTR_VER}
36+
37+
WORKDIR /data
38+
39+
ENV LC_ALL=C
40+
41+
CMD ["sistr", "--help"]
42+
43+
## Test ##
44+
FROM app AS test
45+
46+
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 &&\
47+
gunzip GCF_000006945.2_ASM694v2_genomic.fna.gz
48+
49+
RUN 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 &&\
50+
cat sistr-output.tab

sistr/1.1.2/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# SISTR container
2+
3+
Main tool: [sistr](https://github.com/phac-nml/sistr_cmd)
4+
5+
Code repository: https://github.com/phac-nml/sistr_cmd
6+
7+
Additional tools:
8+
- blast : 2.12.0+
9+
- mafft : v7.490
10+
- mash : 2.3
11+
12+
Basic information on how to use this tool:
13+
- executable: sistr
14+
- help: -h, --help
15+
- version: -V, --version
16+
- description: (Salmonella In Silico Typing Resource) Command-line Tool
17+
18+
Full documentation: https://github.com/phac-nml/sistr_cmd
19+
20+
## Example Usage
21+
22+
```bash
23+
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
24+
```
25+

0 commit comments

Comments
 (0)