Skip to content

Commit e4e1af1

Browse files
authored
Merge pull request #1568 from cwoodside1278/seqsender-1.3.91
Update Seqsender to 1.3.93 version
2 parents b9336c7 + 7ab1106 commit e4e1af1

File tree

3 files changed

+172
-1
lines changed

3 files changed

+172
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ To learn more about the docker pull rate limits and the open source software pro
299299
| [Samtools](https://hub.docker.com/r/staphb/samtools) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/samtools)](https://hub.docker.com/r/staphb/samtools) | <details><summary>Click to see all versions</summary> <ul><li>[1.9](./build-files/samtools/1.9/)</li><li>[1.10](./build-files/samtools/1.10/)</li><li>[1.11](./build-files/samtools/1.11/)</li><li>[1.12](./build-files/samtools/1.12/)</li><li>[1.13](./build-files/samtools/1.13/)</li><li>[1.14](./build-files/samtools/1.14/)</li><li>[1.15](./build-files/samtools/1.15/)</li><li>[1.16](./build-files/samtools/1.16/)</li><li>[1.16.1](./build-files/samtools/1.16.1/)</li><li>[1.17](./build-files/samtools/1.17/)</li><li>[1.17-2023-06](./build-files/samtools/1.17-2023-06/)</li><li>[1.18](./build-files/samtools/1.18/)</li><li>[1.19](./build-files/samtools/1.19/)</li><li>[1.20](./build-files/samtools/1.20/)</li><li>[1.20.c](./build-files/samtools/1.20.c/)</li><li>[1.21](./build-files/samtools/1.21/)</li><li>[1.22](./build-files/samtools/1.22/)</li><li>[1.22.1](./build-files/samtools/1.22.1/)</li><li>[1.23](./build-files/samtools/1.23/)</li></ul> </details> | https://github.com/samtools/samtools |
300300
| [SeqFu](https://hub.docker.com/r/staphb/SeqFu) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/seqfu)](https://hub.docker.com/r/staphb/seqfu) | <details><summary>Click to see all versions</summary> <ul><li>[1.20.3](./build-files/seqfu/1.20.3/)</li><li>[1.22.3](./build-files/seqfu/1.22.3/)</li><li>[1.23.0](./build-files/seqfu/1.23.0/)</li></ul> </details> | https://github.com/telatin/seqfu2 |
301301
| [SeqKit](https://hub.docker.com/r/staphb/SeqKit) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/seqkit)](https://hub.docker.com/r/staphb/seqkit) | <details><summary>Click to see all versions</summary> <ul><li>[2.3.1](./build-files/seqkit/2.3.1/)</li><li>[2.6.1](./build-files/seqkit/2.6.1/)</li><li>[2.7.0](./build-files/seqkit/2.7.0/)</li><li>[2.8.0](./build-files/seqkit/2.8.0/)</li><li>[2.8.1](./build-files/seqkit/2.8.1/)</li><li>[2.8.2](./build-files/seqkit/2.8.2/)</li><li>[2.9.0](./build-files/seqkit/2.9.0/)</li><li>[2.10.0](./build-files/seqkit/2.10.0/)</li><li>[2.10.1](./build-files/seqkit/2.10.1/)</li><li>[2.12.0](./build-files/seqkit/2.12.0/)</li></ul> </details> | https://github.com/shenwei356/seqkit |
302-
| [SeqSender](https://hub.docker.com/r/staphb/seqsender/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/seqsender)](https://hub.docker.com/r/staphb/seqsender) | <details><summary>Click to see all versions</summary> <ul><li>[1.3.3](./build-files/seqsender/1.3.3/)</li><li>[1.3.4](./build-files/seqsender/1.3.4/)</li><li>[1.3.6](./build-files/seqsender/1.3.6/)</li><li>[1.3.9](./build-files/seqsender/1.3.9/)</li></ul> </details> | https://github.com/CDCgov/seqsender |
302+
| [SeqSender](https://hub.docker.com/r/staphb/seqsender/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/seqsender)](https://hub.docker.com/r/staphb/seqsender) | <details><summary>Click to see all versions</summary> <ul><li>[1.3.3](./build-files/seqsender/1.3.3/)</li><li>[1.3.4](./build-files/seqsender/1.3.4/)</li><li>[1.3.6](./build-files/seqsender/1.3.6/)</li><li>[1.3.9](./build-files/seqsender/1.3.9/)</li><li>[1.3.93](./build-files/seqsender/1.3.93/)</li></ul> </details> | https://github.com/CDCgov/seqsender |
303303
| [SeqSero](https://hub.docker.com/r/staphb/seqsero/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/seqsero)](https://hub.docker.com/r/staphb/seqsero) | <details><summary>Click to see all versions</summary> <ul><li>[1.0.1](./build-files/seqsero/1.0.1/)</li></ul> </details> | https://github.com/denglab/SeqSero |
304304
| [SeqSero2](https://hub.docker.com/r/staphb/seqsero2/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/seqsero2)](https://hub.docker.com/r/staphb/seqsero2) | <details><summary>Click to see all versions</summary> <ul><li>[0.1.0](./build-files/seqsero2/0.1.0/)</li><li>[1.0.0](./build-files/seqsero2/1.0.0/)</li><li>[1.0.2](./build-files/seqsero2/1.0.2/)</li><li>[1.1.0](./build-files/seqsero2/1.1.0/)</li><li>[1.1.1](./build-files/seqsero2/1.1.1/)</li><li>[1.2.1](./build-files/seqsero2/1.2.1/)</li><li>[1.3.1](./build-files/seqsero2/1.3.1/)</li><li>[1.3.1-micromamba](./build-files/seqsero2/1.3.1-micromamba/)</li><li>[1.3.2](./build-files/seqsero2/1.3.2/)</li></ul> </details> | https://github.com/denglab/SeqSero2/ |
305305
| [SeqSero2S](https://hub.docker.com/r/staphb/seqsero2s/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/seqsero2s)](https://hub.docker.com/r/staphb/seqsero2s) | <details><summary>Click to see all versions</summary> <ul><li>[1.1.4](./build-files/seqsero2s/1.1.4/)</li> </details> | https://github.com/LSTUGA/SeqSero2S/ |
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# sourced from https://github.com/StaPH-B/docker-builds/blob/master/dockerfile-template/Dockerfile_mamba
2+
FROM mambaorg/micromamba:2.5.0-ubuntu24.04 AS app
3+
4+
ARG SEQSENDER_VERSION=1.3.93
5+
6+
# build and run as root users since micromamba image has 'mambauser' set as the $USER
7+
USER root
8+
# set workdir to default for building; set to /data at the end
9+
WORKDIR /
10+
11+
LABEL base.image="mambaorg/micromamba:2.5.0-ubuntu24.04"
12+
LABEL dockerfile.version="1"
13+
LABEL software="SeqSender"
14+
LABEL software.version="${SEQSENDER_VERSION}"
15+
LABEL description="Python program that automates the process of generating submission files and batch uploading to NCBI archives and GISAID databases"
16+
LABEL website="https://github.com/CDCgov/seqsender"
17+
LABEL license="https://github.com/CDCgov/seqsender/blob/master/LICENSE"
18+
LABEL maintainer="Vincent Tu"
19+
LABEL maintainer.email="vincent.tu@phila.gov"
20+
21+
# install dependencies and cleanup apt garbage
22+
RUN apt-get update && apt-get install -y --no-install-recommends \
23+
wget \
24+
ca-certificates \
25+
procps \
26+
libsqlite3-0 && \
27+
apt-get autoclean && rm -rf /var/lib/apt/lists/*
28+
29+
# download source code; make /data
30+
RUN wget -q https://github.com/CDCgov/seqsender/archive/refs/tags/v${SEQSENDER_VERSION}.tar.gz && \
31+
tar -xzf v${SEQSENDER_VERSION}.tar.gz && \
32+
rm -r v${SEQSENDER_VERSION}.tar.gz && \
33+
mkdir /data
34+
35+
# set PATH and locale settings for singularity
36+
ENV LC_ALL=C.UTF-8 \
37+
PATH=/opt/conda/bin/:${PATH}:/seqsender-${SEQSENDER_VERSION}
38+
39+
# increase number of open files
40+
# install software into the base micromamba environment, pinning the version
41+
# clean up conda garbage
42+
RUN micromamba install --yes --name base -f "/seqsender-${SEQSENDER_VERSION}/env.yaml" && \
43+
micromamba clean --all --force-pkgs-dirs --yes
44+
45+
# default command is to pull up help options
46+
CMD ["seqsender.py", "--help"]
47+
48+
# set working directory to /data
49+
WORKDIR /data
50+
51+
# test layer
52+
FROM app AS test
53+
54+
# print version and grep for it; if not found, exit with error
55+
RUN seqsender.py --help && \
56+
seqsender.py version | \
57+
grep "Version: ${SEQSENDER_VERSION}" || exit 1
58+
59+
# generate test data for FLU and COV and check if directories are created; otherwise exit with error
60+
RUN for org in FLU COV; \
61+
do seqsender.py test_data -bsng --organism "${org}" --submission_dir test_dir && \
62+
test -d "test_dir/${org}_TEST_DATA/" || exit 1; \
63+
done
64+
65+
# test network connection
66+
RUN seqsender.py test_network_connection | \
67+
grep "No network connection issues detected" || exit 1
68+
69+
RUN micromamba list -n base
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
# SeqSender 1.3.93 container
2+
3+
Main tool: [SeqSender](https://github.com/CDCgov/seqsender)
4+
5+
<details>
6+
7+
<summary>Additional tools installed via micromamba:</summary>
8+
9+
```
10+
List of packages in environment: "/opt/conda"
11+
12+
Name Version Build Channel
13+
──────────────────────────────────────────────────────────────────────
14+
Cerberus 1.3.5 pypi_0 pypi
15+
_libgcc_mutex 0.1 conda_forge conda-forge
16+
_openmp_mutex 4.5 2_gnu conda-forge
17+
annotated-types 0.6.0 pyhd8ed1ab_0 conda-forge
18+
biopython 1.83 py38h01eb140_0 conda-forge
19+
brotli-python 1.1.0 py38h17151c0_1 conda-forge
20+
bzip2 1.0.8 hd590300_5 conda-forge
21+
ca-certificates 2024.2.2 hbcca054_0 conda-forge
22+
certifi 2024.2.2 pyhd8ed1ab_0 conda-forge
23+
charset-normalizer 3.3.2 pyhd8ed1ab_0 conda-forge
24+
icu 73.2 h59595ed_0 conda-forge
25+
idna 3.6 pyhd8ed1ab_0 conda-forge
26+
importlib-metadata 7.1.0 pyha770c72_0 conda-forge
27+
importlib_metadata 7.1.0 hd8ed1ab_0 conda-forge
28+
ld_impl_linux-64 2.40 h41732ed_0 conda-forge
29+
libblas 3.9.0 21_linux64_openblas conda-forge
30+
libcblas 3.9.0 21_linux64_openblas conda-forge
31+
libffi 3.4.2 h7f98852_5 conda-forge
32+
libgcc-ng 13.2.0 h807b86a_5 conda-forge
33+
libgfortran-ng 13.2.0 h69a702a_5 conda-forge
34+
libgfortran5 13.2.0 ha4646dd_5 conda-forge
35+
libgomp 13.2.0 h807b86a_5 conda-forge
36+
libiconv 1.17 hd590300_2 conda-forge
37+
liblapack 3.9.0 21_linux64_openblas conda-forge
38+
libnsl 2.0.1 hd590300_0 conda-forge
39+
libopenblas 0.3.26 pthreads_h413a1c8_0 conda-forge
40+
libsqlite 3.45.2 h2797004_0 conda-forge
41+
libstdcxx-ng 13.2.0 h7e041cc_5 conda-forge
42+
libuuid 2.38.1 h0b41bf4_0 conda-forge
43+
libxcrypt 4.4.36 hd590300_1 conda-forge
44+
libxml2 2.12.6 h232c23b_1 conda-forge
45+
libxslt 1.1.39 h76b75d6_0 conda-forge
46+
libzlib 1.2.13 hd590300_5 conda-forge
47+
lxml 5.1.0 py38h32ae189_0 conda-forge
48+
multimethod 1.9.1 pyhd8ed1ab_0 conda-forge
49+
mypy_extensions 1.0.0 pyha770c72_0 conda-forge
50+
nameparser 1.1.3 pypi_0 pypi
51+
ncurses 6.4.20240210 h59595ed_0 conda-forge
52+
numpy 1.24.4 py38h59b608b_0 conda-forge
53+
openssl 3.2.1 hd590300_1 conda-forge
54+
packaging 24.0 pyhd8ed1ab_0 conda-forge
55+
pandas 2.0.3 py38h01efb38_1 conda-forge
56+
pandera 0.18.3 hd8ed1ab_0 conda-forge
57+
pandera-base 0.18.3 pyhd8ed1ab_0 conda-forge
58+
pip 24.0 pyhd8ed1ab_0 conda-forge
59+
pydantic 2.6.4 pyhd8ed1ab_0 conda-forge
60+
pydantic-core 2.16.3 py38h0cc4f7c_0 conda-forge
61+
pysocks 1.7.1 pyha2e5f31_6 conda-forge
62+
python 3.8.19 hd12c33a_0_cpython conda-forge
63+
python-dateutil 2.9.0 pyhd8ed1ab_0 conda-forge
64+
python-tzdata 2024.1 pyhd8ed1ab_0 conda-forge
65+
python_abi 3.8 4_cp38 conda-forge
66+
pytz 2024.1 pyhd8ed1ab_0 conda-forge
67+
pyyaml 6.0.1 py38h01eb140_1 conda-forge
68+
readline 8.2 h8228510_1 conda-forge
69+
requests 2.31.0 pyhd8ed1ab_0 conda-forge
70+
setuptools 69.2.0 pyhd8ed1ab_0 conda-forge
71+
six 1.16.0 pyh6c4a22f_0 conda-forge
72+
tk 8.6.13 noxft_h4845f30_101 conda-forge
73+
typeguard 4.2.1 pyhd8ed1ab_0 conda-forge
74+
typing-extensions 4.10.0 hd8ed1ab_0 conda-forge
75+
typing_extensions 4.10.0 pyha770c72_0 conda-forge
76+
typing_inspect 0.9.0 pyhd8ed1ab_0 conda-forge
77+
urllib3 2.2.1 pyhd8ed1ab_0 conda-forge
78+
wheel 0.43.0 pyhd8ed1ab_1 conda-forge
79+
wrapt 1.16.0 py38h01eb140_0 conda-forge
80+
xmltodict 0.13.0 pyhd8ed1ab_0 conda-forge
81+
xz 5.2.6 h166bdaf_0 conda-forge
82+
yaml 0.2.5 h7f98852_2 conda-forge
83+
zipp 3.17.0 pyhd8ed1ab_0 conda-forge
84+
```
85+
86+
</details>
87+
88+
Documentation: [https://cdcgov.github.io/seqsender](https://cdcgov.github.io/seqsender)
89+
90+
SeqSender is a public database submission pipeline by the CDC.
91+
92+
## Example Usage
93+
94+
```bash
95+
# Create test submission files with supplied Influenza data
96+
docker run --rm -u $(id -u):$(id -g) -v ${PWD}:/data seqsender:1.3.3 seqsender.py test_data -bsng --organism FLU --submission_dir test_dir
97+
98+
# Create test submission files with supplied SARS-CoV-2 data
99+
docker run --rm -u $(id -u):$(id -g) -v ${PWD}:/data seqsender:1.3.3 seqsender.py test_data -bsng --organism COV --submission_dir test_dir
100+
```
101+
102+
View full `seqsender` help options: `docker run --rm -u $(id -u):$(id -g) -v ${PWD}:/data seqsender:1.3.3 seqsender.py --help`

0 commit comments

Comments
 (0)