Skip to content

Commit

Permalink
Merge pull request #63 from dkj/samtools118
Browse files Browse the repository at this point in the history
Samtools/bcftools 1.18 & [reduced] bonus controversy
  • Loading branch information
dkj authored Aug 8, 2023
2 parents da0609e + fc5c5be commit cf85a21
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 15 deletions.
15 changes: 9 additions & 6 deletions docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,9 @@ ub-18.04-irods-clients-4.2.11.$(TAG): irods_clients/ubuntu/Dockerfile ub-18.04-b
--build-arg DOCKER_TAG=$(TAG) \
--build-arg IRODS_VERSION=4.2.11 \
--build-arg BATON_VERSION=4.1.0 \
--build-arg HTSLIB_VERSION=1.17 \
--build-arg SAMTOOLS_VERSION=1.17 \
--build-arg HTSLIB_VERSION=1.18 \
--build-arg SAMTOOLS_VERSION=1.18 \
--build-arg BCFTOOLS_VERSION=1.18 \
--label org.opencontainers.image.title="iRODS 4.2.11 clients, Ubuntu 18.04" \
--label org.opencontainers.image.source=$(git_url) \
--label org.opencontainers.image.revision=$(git_commit) \
Expand All @@ -210,8 +211,9 @@ ub-18.04-irods-clients-dev-4.2.11.$(TAG): irods_clients_dev/ubuntu/Dockerfile
--build-arg DOCKER_TAG=$(TAG) \
--build-arg IRODS_VERSION=4.2.11 \
--build-arg BATON_VERSION=4.1.0 \
--build-arg HTSLIB_VERSION=1.17 \
--build-arg SAMTOOLS_VERSION=1.17 \
--build-arg HTSLIB_VERSION=1.18 \
--build-arg SAMTOOLS_VERSION=1.18 \
--build-arg BCFTOOLS_VERSION=1.18 \
--label org.opencontainers.image.title="iRODS 4.2.11 client development, Ubuntu 18.04" \
--label org.opencontainers.image.source=$(git_url) \
--label org.opencontainers.image.revision=$(git_commit) \
Expand All @@ -231,8 +233,9 @@ ub-18.04-irods-clients-4.2.12.$(TAG): irods_clients/ubuntu/Dockerfile ub-18.04-b
--build-arg DOCKER_TAG=$(TAG) \
--build-arg IRODS_VERSION=4.2.12 \
--build-arg BATON_VERSION=4.1.0 \
--build-arg HTSLIB_VERSION=1.17 \
--build-arg SAMTOOLS_VERSION=1.17 \
--build-arg HTSLIB_VERSION=1.18 \
--build-arg SAMTOOLS_VERSION=1.18 \
--build-arg BCFTOOLS_VERSION=1.18 \
--label org.opencontainers.image.title="iRODS 4.2.12 clients, Ubuntu 18.04" \
--label org.opencontainers.image.source=$(git_url) \
--label org.opencontainers.image.revision=$(git_commit) \
Expand Down
4 changes: 2 additions & 2 deletions docker/base/minideb/bullseye/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM bitnami/minideb:bullseye-amd64 as installer
FROM docker.io/bitnami/minideb:bullseye-amd64 as installer

ENV DEBIAN_FRONTEND=noninteractive \
GOSU_VERSION=1.16
Expand All @@ -21,7 +21,7 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
RUN GOSU_VERSION=$GOSU_VERSION /opt/docker/base/scripts/install_gosu.sh && \
chmod +x /opt/docker/base/scripts/docker-entrypoint.sh

FROM bitnami/minideb:bullseye-amd64
FROM docker.io/bitnami/minideb:bullseye-amd64

RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \
apt-get update && \
Expand Down
34 changes: 30 additions & 4 deletions docker/irods_clients/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"package": "irods-clients",
"executable": [
"ace2sam",
"baton-chmod",
"baton-do",
"baton-get",
Expand All @@ -9,6 +10,14 @@
"baton-metaquery",
"baton-put",
"baton-specificquery",
"bcftools",
"bgzip",
"blast2sam.pl",
"bowtie2sam.pl",
"color-chrs.pl",
"export2sam.pl",
"gff2gff.py",
"guess-ploidy.py",
"htsfile",
"iadmin",
"ibun",
Expand All @@ -18,7 +27,6 @@
"iclienthints",
"icp",
"ienv",
"ienv",
"ierror",
"iexecmd",
"iexit",
Expand All @@ -27,15 +35,14 @@
"igroupadmin",
"ihelp",
"iinit",
"iinit",
"ils",
"ils",
"ilsresc",
"imcoll",
"imeta",
"imiscsvrinfo",
"imkdir",
"imv",
"interpolate_sam.pl",
"ipasswd",
"iphybun",
"iphymv",
Expand Down Expand Up @@ -66,6 +73,25 @@
"iuserinfo",
"ixmsg",
"izonereport",
"samtools"
"maq2sam-long",
"maq2sam-short",
"md5fa",
"md5sum-lite",
"novo2sam.pl",
"plot-ampliconstats",
"plot-bamstats",
"plot-roh.py",
"psl2sam.pl",
"run-roh.pl",
"sam2vcf.pl",
"samtools",
"samtools.pl",
"seq_cache_populate.pl",
"soap2sam.pl",
"tabix",
"vcfutils.pl",
"wgsim",
"wgsim_eval.pl",
"zoom2sam.pl"
]
}
15 changes: 12 additions & 3 deletions docker/irods_clients/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ FROM $BASE_IMAGE as installer
# Other iRODS versions available on bionic are 4.3.0
ARG IRODS_VERSION="4.2.11"
ARG BATON_VERSION="4.1.0"
ARG HTSLIB_VERSION="1.17"
ARG SAMTOOLS_VERSION="1.17"
ARG HTSLIB_VERSION="1.18"
ARG SAMTOOLS_VERSION="1.18"
ARG BCFTOOLS_VERSION="1.18"
ARG HTSLIB_PLUGINS_VERSION="201712"

COPY . /opt/docker/irods_clients
Expand Down Expand Up @@ -87,6 +88,13 @@ RUN cd /tmp && \
./configure --with-htslib=system --without-curses && \
make install

RUN cd /tmp && \
curl -sSL -O "https://github.com/samtools/bcftools/releases/download/${BCFTOOLS_VERSION}/bcftools-${BCFTOOLS_VERSION}.tar.bz2" && \
tar xfj bcftools-${BCFTOOLS_VERSION}.tar.bz2 && \
cd bcftools-${BCFTOOLS_VERSION} && \
./configure --with-htslib=system --without-curses && \
make install

RUN cd /tmp && \
git clone --depth 1 --branch ${HTSLIB_PLUGINS_VERSION} "https://github.com/samtools/htslib-plugins.git" && \
cd htslib-plugins && \
Expand Down Expand Up @@ -121,13 +129,15 @@ RUN curl -sSL https://packages.irods.org/irods-signing-key.asc | apt-key add - &
tee /etc/apt/sources.list.d/renci-irods.list && \
apt-get update && \
apt-get install -q -y --no-install-recommends \
gnuplot \
irods-icommands="${IRODS_VERSION}-1~$(lsb_release -sc)" \
irods-runtime="${IRODS_VERSION}-1~$(lsb_release -sc)" \
jq \
libjansson4 \
libbz2-1.0 \
libcurl3 \
liblzma5 \
perl \
zlib1g \
unattended-upgrades && \
unattended-upgrade -v && \
Expand All @@ -143,7 +153,6 @@ COPY --from=installer /usr/local /usr/local
COPY --from=singularity ./scripts/* /usr/local/bin/
COPY --from=installer /opt/docker/irods_clients/manifest.json /usr/local/irods_clients/etc/manifest.json
COPY --from=installer /opt/docker/irods_clients/scripts/docker-entrypoint.sh /usr/local/irods_clients/bin/docker-entrypoint.sh
COPY --from=installer /opt/docker/irods_clients/scripts/singularity-* /usr/local/bin/

# Configure the singularity-wrapper script
ENV MANIFEST_PATH="/usr/local/irods_clients/etc/manifest.json"
Expand Down

0 comments on commit cf85a21

Please sign in to comment.