Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding lrge version 0.1.3 #1124

Merged
merged 2 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Program_Licenses.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/liftoff)](https://hub.docker.com/r/staphb/liftoff)| <ul><li>1.6.3</li></ul> | https://github.com/agshumate/Liftoff |
| [lima](https://hub.docker.com/r/staphb/lima/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/lima)](https://hub.docker.com/r/staphb/lima)| <ul><li>[2.9.0](./lima/2.9.0/)</li><li>[2.9.0+Rscripts](./lima/2.9.0+Rscripts/)</li></ul> | https://github.com/PacificBiosciences/barcoding |
| [longshot](https://hub.docker.com/r/staphb/longshot/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/longshot)](https://hub.docker.com/r/staphb/longshot)| <ul><li>[0.4.5](longshot/0.4.5)</li><li>[1.0.0](longshot/1.0.0/)</li></ul> | https://github.com/pjedge/longshot |
| [lrge](https://hub.docker.com/r/staphb/lrge/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/lrge)](https://hub.docker.com/r/staphb/lrge)| <ul><li>[0.1.3](./lrge/0.1.3/)</li></ul> | https://github.com/mbhall88/lrge |
| [Lyve-SET (includes CG-Pipeline scripts and raxml)](https://hub.docker.com/r/staphb/lyveset/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/lyveset)](https://hub.docker.com/r/staphb/lyveset) | <ul><li>1.1.4f</li><li>2.0.1</li></ul> | https://github.com/lskatz/lyve-SET https://github.com/lskatz/CG-Pipeline |
| [MAFFT](https://hub.docker.com/r/staphb/mafft/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/mafft)](https://hub.docker.com/r/staphb/mafft) | <ul><li>[7.450](./mafft/7.450/)</li><li>[7.475](./mafft/7.475/)</li><li>[7.505](./mafft/7.505/)</li><li>[7.520](./mafft/7.520/)</li><li>[7.526](./mafft/7.526/)</li></ul> | https://mafft.cbrc.jp/alignment/software/ |
| [Mash](https://hub.docker.com/r/staphb/mash/) <br/> [![docker pulls](https://badgen.net/docker/pulls/staphb/mash)](https://hub.docker.com/r/staphb/mash) | <ul><li>2.1</li><li>2.2</li><li>2.3</li></ul> | https://github.com/marbl/Mash |
Expand Down
45 changes: 45 additions & 0 deletions lrge/0.1.3/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
ARG LRGE_VER="0.1.3"

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="[email protected]"

# '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
20 changes: 20 additions & 0 deletions lrge/0.1.3/README.md
Original file line number Diff line number Diff line change
@@ -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
```
Loading