Skip to content

Commit 830e2f3

Browse files
authored
Merge pull request #1558 from cwoodside1278/poppunk-2.7.8
Updated Poppunk to version 2.7.8
2 parents 9dca6a4 + fa06bba commit 830e2f3

File tree

3 files changed

+393
-1
lines changed

3 files changed

+393
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ To learn more about the docker pull rate limits and the open source software pro
273273
| [pod5](https://hub.docker.com/r/staphb/pod5/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/pod5)](https://hub.docker.com/r/staphb/pod5) | <details><summary>Click to see all versions</summary> <ul><li>[0.3.23](./build-files/pod5/0.3.23/)</li><li>[0.3.27](./build-files/pod5/0.3.27/)</li><li>[0.3.34](./build-files/pod5/0.3.34/)</li></ul> </details> | https://github.com/nanoporetech/pod5-file-format |
274274
| [PolkaPox](https://hub.docker.com/r/staphb/polkapox/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/polkapox)](https://hub.docker.com/r/staphb/polkapox) | <details><summary>Click to see all versions</summary> <ul><li>[1.0.0-beta](./build-files/polkapox/1.0.0-beta/)</li></ul> </details> | https://github.com/CDCgov/polkapox |
275275
| [polypolish](https://hub.docker.com/r/staphb/polypolish/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/polypolish)](https://hub.docker.com/r/staphb/polypolish) | <details><summary>Click to see all versions</summary> <ul><li>[0.5.0](./build-files/polypolish/0.5.0/)</li><li>[0.6.0](./build-files/polypolish/0.6.0/)</li><li>[0.6.0-bwa](./build-files/polypolish/0.6.0-bwa/)</li><li>[0.6.1](./build-files/polypolish/0.6.1/)</li></ul> </details> | https://github.com/rrwick/Polypolish |
276-
| [PopPUNK](https://hub.docker.com/r/staphb/poppunk/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/poppunk)](https://hub.docker.com/r/staphb/poppunk) | <details><summary>Click to see all versions</summary> <ul><li>[2.4.0](./build-files/poppunk/2.4.0/)</li><li>[2.5.0](./build-files/poppunk/2.5.0/)</li><li>[2.6.0](./build-files/poppunk/2.6.0/)</li><li>[2.6.2](./build-files/poppunk/2.6.2/)</li><li>[2.6.3](./build-files/poppunk/2.6.3/)</li><li>[2.6.5](./build-files/poppunk/2.6.5/)</li><li>[2.7.5](./build-files/poppunk/2.7.5/)</li><li>[2.7.6](./build-files/poppunk/2.7.6/)</li><li>[2.7.7](./build-files/poppunk/2.7.7/)</li></ul> </details> | https://github.com/bacpop/PopPUNK |
276+
| [PopPUNK](https://hub.docker.com/r/staphb/poppunk/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/poppunk)](https://hub.docker.com/r/staphb/poppunk) | <details><summary>Click to see all versions</summary> <ul><li>[2.4.0](./build-files/poppunk/2.4.0/)</li><li>[2.5.0](./build-files/poppunk/2.5.0/)</li><li>[2.6.0](./build-files/poppunk/2.6.0/)</li><li>[2.6.2](./build-files/poppunk/2.6.2/)</li><li>[2.6.3](./build-files/poppunk/2.6.3/)</li><li>[2.6.5](./build-files/poppunk/2.6.5/)</li><li>[2.7.5](./build-files/poppunk/2.7.5/)</li><li>[2.7.6](./build-files/poppunk/2.7.6/)</li><li>[2.7.7](./build-files/poppunk/2.7.7/)</li><li>[2.7.8](./build-files/poppunk/2.7.8/)</li></ul> </details> | https://github.com/bacpop/PopPUNK |
277277
| [Porechop](https://hub.docker.com/r/staphb/porechop/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/porechop)](https://hub.docker.com/r/staphb/porechop) | <details><summary>Click to see all versions</summary> <ul><li>[0.2.4](./build-files/porechop/0.2.4/)</li></ul> </details> | https://github.com/rrwick/Porechop |
278278
| [PPanGGOLiN](https://hub.docker.com/r/staphb/ppanggolin/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/ppanggolin)](https://hub.docker.com/r/staphb/ppanggolin) | <details><summary>Click to see all versions</summary> <ul><li>[1.2.105](./build-files/ppanggolin/1.2.105/)</li><li>[2.0.3](./build-files/ppanggolin/2.0.3/)</li><li>[2.0.5](./build-files/ppanggolin/2.0.5/)</li><li>[2.1.2](./build-files/ppanggolin/2.1.2/)</li><li>[2.2.1](./build-files/ppanggolin/2.2.1/)</li><li>[2.2.4](./build-files/ppanggolin/2.2.4/)</li><li>[2.2.5](./build-files/ppanggolin/2.2.5/)</li><li>[2.2.6](./build-files/ppanggolin/2.2.6/)</li></ul> </details> | https://github.com/labgem/PPanGGOLiN |
279279
| [Primer3](https://hub.docker.com/r/staphb/primer3/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/primer3)](https://hub.docker.com/r/staphb/primer3) | <details><summary>Click to see all versions</summary> <ul><li>[2.3.4](./build-files/primer3/2.3.4/)</li><li>[2.6.1](./build-files/primer3/2.6.1/)</li></ul> </details> | https://github.com/primer3-org/primer3 |
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
FROM mambaorg/micromamba:2.5.0-ubuntu24.04 AS app
2+
3+
# Version arguments
4+
# ARG variables only persist during build time
5+
ARG POPPUNK_VERSION="2.7.8"
6+
7+
# build and run as root users since micromamba image has 'mambauser' set as the $USER
8+
USER root
9+
# set workdir to default for building; set to /data at the end
10+
WORKDIR /
11+
12+
LABEL base.image="mambaorg/micromamba:2.5.0-ubuntu24.04"
13+
LABEL dockerfile.version="1"
14+
LABEL software="PopPUNK"
15+
LABEL software.version=${POPPUNK_VERSION}
16+
LABEL description="POPulation Partitioning Using Nucleotide Kmers"
17+
LABEL website="https://github.com/bacpop/PopPUNK"
18+
LABEL license="https://github.com/bacpop/PopPUNK/blob/master/LICENSE"
19+
LABEL maintainer="Curtis Kapsak"
20+
LABEL maintainer.email="curtis.kapsak@theiagen.com"
21+
LABEL maintainer2="Harry Hung"
22+
LABEL maintainer2.email="ch31@sanger.ac.uk"
23+
24+
# install dependencies; cleanup apt garbage
25+
RUN apt-get update && apt-get install -y --no-install-recommends \
26+
wget \
27+
ca-certificates \
28+
procps && \
29+
apt-get autoclean && rm -rf /var/lib/apt/lists/*
30+
31+
# Using an older version of setuptools. Current throws an error in the docker (Feb 2026)
32+
RUN micromamba create -n poppunk-env -c conda-forge -c bioconda \
33+
poppunk=${POPPUNK_VERSION} \
34+
setuptools=81.0.0 && \
35+
micromamba clean -a -f -y
36+
37+
# set the environment, put new conda env in PATH by default; set locales to UTF-8
38+
ENV PATH="/opt/conda/envs/poppunk-env/bin:${PATH}" \
39+
LC_ALL=C.UTF-8
40+
41+
# set working directory to /data
42+
WORKDIR /data
43+
44+
CMD ["poppunk", "--help"]
45+
46+
# new base for testing
47+
FROM app AS test
48+
49+
# print out various help options and version
50+
RUN poppunk --help && \
51+
poppunk_assign --help && \
52+
poppunk_visualise --help && \
53+
poppunk_mst --help && \
54+
poppunk_references --help && \
55+
poppunk_info --help && \
56+
poppunk_mandrake --help && \
57+
poppunk --version
58+
59+
# Download 100 S. Pneumo assemblies from GPS Public Data on ENA
60+
# Build PopPUNK database from the assemblies
61+
# Assign clusters on the same assemblies using the built database
62+
# Compare the database clusters and assigned clusters of the assemblies
63+
RUN wget https://raw.githubusercontent.com/StaPH-B/docker-builds/refs/heads/master/build-files/poppunk/2.7.5/ftps.txt && \
64+
wget https://raw.githubusercontent.com/StaPH-B/docker-builds/refs/heads/master/build-files/poppunk/2.7.5/test.sh && \
65+
bash test.sh && cmp assigned.csv database.csv
66+
67+
RUN micromamba list -n poppunk-env

0 commit comments

Comments
 (0)