From 6f4cdfd1ba2dad2f6d56b05b7028231c51965a03 Mon Sep 17 00:00:00 2001 From: Erin Young Date: Wed, 11 Dec 2024 19:39:58 +0000 Subject: [PATCH 1/2] adding lrge version 0.1.3 --- Program_Licenses.md | 1 + README.md | 1 + lrge/0.1.3/Dockerfile | 56 +++++++++++++++++++++++++++++++++++++++++++ lrge/0.1.3/README.md | 20 ++++++++++++++++ 4 files changed, 78 insertions(+) create mode 100644 lrge/0.1.3/Dockerfile create mode 100644 lrge/0.1.3/README.md diff --git a/Program_Licenses.md b/Program_Licenses.md index d57e19474..3a570553b 100644 --- a/Program_Licenses.md +++ b/Program_Licenses.md @@ -96,6 +96,7 @@ The licenses of the open-source software that is contained in these Docker image | liftoff | GNU GPLv3 | https://github.com/agshumate/Liftoff/blob/master/LICENSE.md | | lima | BSD-3 | https://github.com/PacificBiosciences/barcoding/blob/master/LICENSE | | longshot | MIT | https://github.com/pjedge/longshot/blob/master/LICENSE | +| lrge | MIT | https://github.com/mbhall88/lrge?tab=MIT-1-ov-file#readme | | Lyve-SET | MIT | https://github.com/lskatz/lyve-SET/blob/master/LICENSE | | Mafft | BSD | https://mafft.cbrc.jp/alignment/software/license.txt | | Mash | non-standard license (see link) | https://github.com/marbl/Mash/blob/master/LICENSE.txt | diff --git a/README.md b/README.md index 363353eed..a12c11ff1 100644 --- a/README.md +++ b/README.md @@ -205,6 +205,7 @@ To learn more about the docker pull rate limits and the open source software pro | [liftoff](https://hub.docker.com/r/staphb/liftoff/)
[![docker pulls](https://badgen.net/docker/pulls/staphb/liftoff)](https://hub.docker.com/r/staphb/liftoff)| | https://github.com/agshumate/Liftoff | | [lima](https://hub.docker.com/r/staphb/lima/)
[![docker pulls](https://badgen.net/docker/pulls/staphb/lima)](https://hub.docker.com/r/staphb/lima)| | https://github.com/PacificBiosciences/barcoding | | [longshot](https://hub.docker.com/r/staphb/longshot/)
[![docker pulls](https://badgen.net/docker/pulls/staphb/longshot)](https://hub.docker.com/r/staphb/longshot)| | https://github.com/pjedge/longshot | +| [lrge](https://hub.docker.com/r/staphb/lrge/)
[![docker pulls](https://badgen.net/docker/pulls/staphb/lrge)](https://hub.docker.com/r/staphb/lrge)| | https://github.com/mbhall88/lrge | | [Lyve-SET (includes CG-Pipeline scripts and raxml)](https://hub.docker.com/r/staphb/lyveset/)
[![docker pulls](https://badgen.net/docker/pulls/staphb/lyveset)](https://hub.docker.com/r/staphb/lyveset) | | https://github.com/lskatz/lyve-SET https://github.com/lskatz/CG-Pipeline | | [MAFFT](https://hub.docker.com/r/staphb/mafft/)
[![docker pulls](https://badgen.net/docker/pulls/staphb/mafft)](https://hub.docker.com/r/staphb/mafft) | | https://mafft.cbrc.jp/alignment/software/ | | [Mash](https://hub.docker.com/r/staphb/mash/)
[![docker pulls](https://badgen.net/docker/pulls/staphb/mash)](https://hub.docker.com/r/staphb/mash) | | https://github.com/marbl/Mash | diff --git a/lrge/0.1.3/Dockerfile b/lrge/0.1.3/Dockerfile new file mode 100644 index 000000000..e5bcf8ac3 --- /dev/null +++ b/lrge/0.1.3/Dockerfile @@ -0,0 +1,56 @@ +ARG LRGE_VER="0.1.3" + +# FROM rust:1.67 AS builder + +# ARG LRGE_VER + +# RUN wget -q https://github.com/bluenote-1577/skani/archive/refs/tags/v${SKANI_VER}.tar.gz &&\ +# tar -xvf v${SKANI_VER}.tar.gz &&\ +# cd skani-${SKANI_VER} &&\ +# cargo install --path . --root ~/.cargo &&\ +# chmod +x /root/.cargo/bin/skani + + +FROM ubuntu:jammy AS app + +ARG LRGE_VER + +# 'LABEL' instructions tag the image with metadata that might be important to the user +LABEL base.image="ubuntu:jammy" +LABEL dockerfile.version="1" +LABEL software="lrge" +LABEL software.version="${LRGE_VER}" +LABEL description="Long Read-based Genome size Estimation from overlaps" +LABEL website="https://github.com/mbhall88/lrge" +LABEL license="https://github.com/mbhall88/lrge/blob/main/LICENSE" +LABEL maintainer="Erin Young" +LABEL maintainer.email="eriny@utah.gov" + +# 'RUN' executes code during the build +# Install dependencies via apt-get or yum if using a centos or fedora base +RUN apt-get update && apt-get install -y --no-install-recommends \ + wget \ + ca-certificates && \ + apt-get autoclean && rm -rf /var/lib/apt/lists/* + +RUN wget -q https://github.com/mbhall88/lrge/releases/download/lrge-${LRGE_VER}/lrge-${LRGE_VER}-x86_64-unknown-linux-gnu.tar.gz && \ + tar -xvf lrge-${LRGE_VER}-x86_64-unknown-linux-gnu.tar.gz && \ + mv lrge-${LRGE_VER}-x86_64-unknown-linux-gnu/lrge /usr/local/bin && \ + rm -rf lrge-${LRGE_VER}-x86_64-unknown-linux-gnu.tar.gz lrge-0.1.3-x86_64-unknown-linux-gnu + +# 'CMD' instructions set a default command when the container is run. This is typically 'tool --help.' +CMD [ "lrge", "--help" ] + +WORKDIR /data + +FROM app as test + +# set working directory so that all test inputs & outputs are kept in /test +WORKDIR /test + +RUN lrge --help && lrge --version + +# stolen from https://github.com/mbhall88/lrge +RUN wget -q -O reads.fq.gz "ftp://ftp.sra.ebi.ac.uk/vol1/fastq/SRR283/049/SRR28370649/SRR28370649_1.fastq.gz" && \ + lrge -t 8 reads.fq.gz -o results.txt && \ + head results.txt diff --git a/lrge/0.1.3/README.md b/lrge/0.1.3/README.md new file mode 100644 index 000000000..874d11b3c --- /dev/null +++ b/lrge/0.1.3/README.md @@ -0,0 +1,20 @@ +# lrge container + +Main tool: [lrge](https://github.com/mbhall88/lrge) + +Code repository: https://github.com/mbhall88/lrge + +Basic information on how to use this tool: +- executable: lrge +- help: -h +- version: -v +- description: | +> Long Read-based Genome size Estimation from overlaps for nanopore/ONT reads + +Full documentation: https://github.com/mbhall88/lrge + +## Example Usage + +```bash +lrge -t 8 reads.fq.gz -o size.txt +``` From f1adab7393d563ae7def094e04110226848c6e06 Mon Sep 17 00:00:00 2001 From: Kutluhan Incekara <46578029+Kincekara@users.noreply.github.com> Date: Wed, 18 Dec 2024 10:51:02 -0500 Subject: [PATCH 2/2] Update Dockerfile clean up commented skani installation. --- lrge/0.1.3/Dockerfile | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/lrge/0.1.3/Dockerfile b/lrge/0.1.3/Dockerfile index e5bcf8ac3..f911cafd5 100644 --- a/lrge/0.1.3/Dockerfile +++ b/lrge/0.1.3/Dockerfile @@ -1,16 +1,5 @@ ARG LRGE_VER="0.1.3" -# FROM rust:1.67 AS builder - -# ARG LRGE_VER - -# RUN wget -q https://github.com/bluenote-1577/skani/archive/refs/tags/v${SKANI_VER}.tar.gz &&\ -# tar -xvf v${SKANI_VER}.tar.gz &&\ -# cd skani-${SKANI_VER} &&\ -# cargo install --path . --root ~/.cargo &&\ -# chmod +x /root/.cargo/bin/skani - - FROM ubuntu:jammy AS app ARG LRGE_VER @@ -43,7 +32,7 @@ CMD [ "lrge", "--help" ] WORKDIR /data -FROM app as test +FROM app AS test # set working directory so that all test inputs & outputs are kept in /test WORKDIR /test